gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Building gm2 for windows with mingw


From: Gaius Mulley
Subject: Re: [Gm2] Building gm2 for windows with mingw
Date: 04 Nov 2008 13:39:45 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

"Vanessa Bodard" <address@hidden> writes:

> Hi all,
> 
> I'm currently trying to build gm2 for windows with mingw.
> I updated the script I found there
> :http://floppsie.comp.glam.ac.uk/Glamorgan/gaius/web/gm2-mingw.html
> (GM2_URL=http://floppsie.comp.glam.ac.uk/download/m2)

Hi Vanessa,

ahh, this script was meant for build a cross tool chain on GNU/Linux
for mingw.

> But I have some problems during the building of binutils. The make
> fails with this error:
> ~/mingw/source/binutils-2.13.90-20030111-1-src/ld/ldlex.l: In function
> `yy_input':
> ~/mingw/source/binutils-2.13.90-20030111-1-src/ld/ldlex.l:615: error:
> `yy_current_buffer' undeclared (first use in this function)
> ~/mingw/source/binutils-2.13.90-20030111-1-src/ld/ldlex.l:615: error:
> (Each undeclared identifier is reported only once
> ~/mingw/source/binutils-2.13.90-20030111-1-src/ld/ldlex.l:615: error:
> for each function it appears in.)

I've not tried to build it natively under MinGW - but you could try
using the same configure commands as with Cygwin.  It would be
interesting to see how far it gets!

> I watched into the file and found that yy_current_buffer was declare
> in upper case.
> I tried to change it but I think the file is created during the make.
> 
> I also found that it was a common error and that it seems to come from flex.
> The solution proposed was to take the older flex version.
> But as flex come with binutils, I don't know how to change it.
> Does anybody has an idea on how change the version flex?
> 
> Also, when I tried to update the script, I had chosen a more recent
> version of MinGW files.
> But it fails on the make of binutils with the followinf error message:
> "make: *** No targets specified and no makefile found.  Stop."
> 
> Does anybody tries to install gm2 with mingw?

The cross building script is fairly old now and I suspect the binutils
and libc to have changed quite a lot.  I'm not aware of any report -
but maybe someone has tried it..

regards,
Gaius




reply via email to

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