gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Problems with the build of gm2 under Cygwin


From: Vanessa Bodard
Subject: Re: [Gm2] Problems with the build of gm2 under Cygwin
Date: Mon, 3 Nov 2008 17:57:55 +0100

Hi all,
I didn't notice I wasn't responding to the all list.
Gaius made some changes in the tarball and everything works perfectly.

As it can helps someone else, I put here the script he gave me:

$ wget 
http://floppsie.comp.glam.ac.uk/download/c/gcc-4.1.2+gm2-cvs-latest.tar.gz
$ tar zxf gcc-4.1.2+gm2-cvs-latest.tar.gz
$ rm -rf /gm2/opt   # remove the old gm2, just in case
$ rm -rf build
$ mkdir build
$ cd build
$ ../gcc-4.1.2+gm2-cvs-latest/configure   --prefix=$HOME/gm2/opt
--enable-checking=all --enable-languages=c,c++,gm2
$ make
$ make install


(Make sure /gm2/opt/bin is in your path. If it is not, here is the command:
$ export PATH=/gm2/opt/bin:$PATH )

$ cd ../gcc-4.1.2+gm2-cvs-latest/gcc/gm2/examples/hello/
$ make
gm2 -c -g -I. hello.mod
gm2 -g -I. hello.mod
$ ./a.exe
hello world

Best regards,
Vanessa.




reply via email to

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