gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Building gcc-4.7.3+gm2 on Windows7/Cygwin32


From: Gaius Mulley
Subject: Re: [Gm2] Building gcc-4.7.3+gm2 on Windows7/Cygwin32
Date: Mon, 30 Sep 2013 15:54:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Christoph Schlegel <address@hidden> writes:

> Hello Gaius,
>
> I can report a successfull build using gcc-4.7.3+gm2-cvs-latest.tar.gz
> (27-Sep-2013) under Cygwin32 (Setup.exe version 2.829 (32 bit))
> running on top of Windows 7.
>
> Here are some instructions for those who want to do the same:
>
> Packages needed for the build are libmpfr-dev, libgmp-dev, libmpc-dev and flex
> There is no gcc-multilib package under Cygwin but it is apparently not needed.
>
> I used the configuration from the 4.7 series documentation which works fine.
>
> $ CXXFLAGS=-g BOOT_CFLAGS=-g CFLAGS=-g ../gcc-4.7.3/configure \
>   --prefix=$HOME/opt \
>   --libexecdir=$HOME/opt/lib \
>   --enable-shared \
>   --enable-threads=posix --enable-__cxa_atexit \
>   --enable-clocale=gnu --enable-languages=c,c++,gm2 \
>   --disable-multilib --disable-bootstrap --enable-checking --enable-libgm2
>
> After make installing the compiler you have to
>
> export PATH=~/opt/bin:$PATH
>
> To build the hello world example after installing the compiler you have to 
> call make post-install instead of make in the 
> directory ~/build-4.7.3/gcc/gm2/examples/hello
>
> A problem is reported because of the 'size a.out' command (instead of a.exe) 
> which can be ignored. Hello world builds fine.
>
>                 === gm2 Summary ===
>
> # of expected passes            8372
> # of unexpected failures        540
> # of unresolved testcases       246
>
> The build is available here:
> http://freepages.modula2.org/downloads/gcc-4.7.3+gm2.zip
>
> You have to mkdir a directory opt in your home folder and extract the 
> contents of the archive in there.
>
> I will try Cygwin64 as soon as there is time -

Hi Christoph,

many thanks for the update - the results you get are particularly
pleasing given that on a Debian LP64 system I get about 480 errors (so
only 10 actual regression tests failures between the two systems),

regards,
Gaius



reply via email to

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