gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Slow compilation of GM2


From: Michael Riedl
Subject: Re: [Gm2] Slow compilation of GM2
Date: Tue, 14 Jul 2015 10:53:04 +0200

Am Mon, 13 Jul 2015 05:14:18 -0700
schrieb Steve Giess <address@hidden>:

> Dear Michael,
> 
> As a check, have you tried to install and run gm2 version 4.1.2 ?
> 
> Here is my receipe for Fedora Linux (32 or 64 bit).
> 
> First put the compressed file in a folder of your own choice.
> 
> Then do the following command sequence:
> 
> tar zxf gcc-4.1.2+gm2-git-latest.tar.gz
> mkdir build-4.1.2
> cd build-4.1.2
> env CONFIG_SHELL=/bin/bash SHELL=/bin/bash \
> ../gcc-4.1.2+gm2-git-latest/gm2/gcc-versionno/configure
> --enable-checking \ --disable-multilib --enable-languages=c,c++,gm2
> --prefix=$HOME/opt \ --with-gmp --with-mpfr
> env CONFIG_SHELL=/bin/bash SHELL=/bin/bash make
> env CONFIG_SHELL=/bin/bash SHELL=/bin/bash make install
> 
> Finally to use the compiler 
> 
> export PATH=$HOME/opt/bin:$PATH
> 
> 
> As before, I would use the 8th of June version of 4.1.2:
> 
>  http://floppsie.comp.glam.ac.uk/download/c/gcc-4.1.2+gm2-20150608.tar.gz
> 
> Total time about 40 mins.
> 
> Regards,
> 
> Steve
> 
> 
> --------------------------------------------
> On Sun, 7/12/15, Michael Riedl <address@hidden> wrote:
> 
>  Subject: Re: [Gm2] Slow compilation of GM2
>  To: "Steve Giess" <address@hidden>,
> address@hidden Date: Sunday, July 12, 2015, 5:35 PM
>  
>  Am Thu, 9 Jul 2015
>  03:33:08 -0700
>  schrieb Steve Giess <address@hidden>:
>  
>  > Michael,
>  > 
>  > Until Gaius fixes
>  the problem (the July 3rd version works on 64 bit
>  > but not on 32 bit), may I suggest you
>  download this 8th of June
>  > version of
>  4.7.4. It works for me running Fedora 17 Linux on a i686
>  > machine - build and install time total is
>  about 40 mins on a 2 GHz
>  > processor.
>  > 
>  > http://floppsie.comp.glam.ac.uk/download/c/gcc-4.7.4+gm2-20150608.tar.gz
>  > 
>  > Regards,
>  > 
>  > Steve
>  > 
>  > 
>  >
>  --------------------------------------------
>  > On Tue, 7/7/15, Michael Riedl <address@hidden>
>  wrote:
>  > 
>  >  Subject:
>  Re: [Gm2] Slow compilation of GM2
>  >  To:
>  "Steve Giess" <address@hidden>
>  >  Cc: address@hidden
>  >  Date: Tuesday, July 7, 2015, 5:59 PM
>
>  >  Am Tue, 7 Jul
>  2015
>  >  02:41:17 -0700
>  >  schrieb Steve Giess <address@hidden>:
>
>  >  > Michael,
>  >  > 
>  >  > I
>  think that the 3rd
>  >  of July release of
>  4.7.4 has a bug in it. My
>  >  > 32bit
>  compilations usually take about 40
>
>  mins.
>  >  > 
>
>  >
>
>  _______________________________________________
>  >  > gm2 mailing list
>  >  > address@hidden
>  >  > https://lists.nongnu.org/mailman/listinfo/gm2
>
>  >  Steve,
>
>  >  than I will try
>  with the current GIT repository
>  >  -
>  will report if it's
>  >  better.
>
>  >  Michael
>
>  >  -- 
>  >  Mit freundlichem Gruß
>
>  >  Michael Riedl
>
>
>  ----------------------
>
>  Shamrockstraße 60
>  >  44623
>  >  Herne
>
>  ----------------------
>  
>  Steve,
>  
>  will
>  give it a try and report about the outcome. 
>  
>  Unfortunately the stable
>  release behaved the same - I get the
>  impression that something is related to the old
>  Atom CPU. On the other
>  hand I could compile
>  e.g. a 1,500,0000 line Fortran 90 application in
>  less that 1 hour (using gfortran or Intel
>  Fortran), so I have no clue
>  what the reason
>  really may be.
>  
>  Interresting
>  is that - if I omit the boot-strapping - the compiler is
>  ready after about 2 hours. But unfortunately it
>  then does not find
>  standard DEF files during
>  compilation and libraries in the linking
>  stage.
>  
>  Gruß /
>  Regards
>  
>  Michael
>  


Steve,address@hidden:~/Modula-2/Beispiele$ env | grep gm2
LIBRARY_PATH=/usr/local/gm2/lib:/usr/local/gm2/lib/gcc/i686-pc-linux-gnu/4.1.2:/usr/lib/i386-linux-gnu:/usr/local/gpc-4.1.2/lib/gcc/i686-pc-linux-gnu/4.1.2
PATH=/home/mriedl/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/xds/bin:/usr/local/Algol/bin:/usr/local/gpc/bin:/usr/local/gpc-4.1.2/libexec/gcc/i686-pc-linux-gnu/4.1.2:/usr/local/mocka/bin:/usr/local/gm2/bin:/opt/intel/compiler70/ia32/bin:/home/mriedl/Fortran/Ftool/plusfort:/opt/open64/bin


thanks for the hints - gave it a try and the Compiler was compiled
in about 1 hour (suppose the Atoms CPU little chache slows down
compared to your machine, but that doesn't matter).

Unfortunately the compiler does not find the SYSTEM.def file (fixed by
an appropriate -I /usr/local/gm2... .

but than I get

gm2 -c -fiso -I /usr/local/gm2/lib/gcc/i686-pc-linux-gnu/4.1.2/gm2/iso
 -I /usr/local/gm2/lib/gcc/i686-pc-linux-gnu/4.1.2/gm2/pim MaxReal2.mod
input in flex scanner failed
make: *** [MaxReal2.o] Fehler 1

(example file is attached).

My environmet is set as:

address@hidden:~/Modula-2/Beispiele$ env | grep gm2
LIBRARY_PATH=/usr/local/gm2/lib:/usr/local/gm2/lib/gcc/i686-pc-linux-gnu/4.1.2:/usr/lib/i386-linux-gnu:/usr/local/gpc-4.1.2/lib/gcc/i686-pc-linux-gnu/4.1.2
PATH=/home/mriedl/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/xds/bin:/usr/local/Algol/bin:/usr/local/gpc/bin:/usr/local/gpc-4.1.2/libexec/gcc/i686-pc-linux-gnu/4.1.2:/usr/local/mocka/bin:/usr/local/gm2/bin:/opt/intel/compiler70/ia32/bin:/home/mriedl/Fortran/Ftool/plusfort:/opt/open64/bin


If you have an idea to get out of that it would be highly appriciated.

Michael

Attachment: MaxReal2.mod
Description: audio/mod


reply via email to

[Prev in Thread] Current Thread [Next in Thread]