More NT cross Linux compiler stuff :-)

Gareth Boden Gareth.Boden@cenes.co.uk
Thu Jun 24 06:05:00 GMT 1999


 Curt, since we're both trying to do the same thing and failing at roughly
the same points, I'll share some more of my thoughts :-)

I too got the Linux-cross-Cygwin stage sorted OK and then added the install
directory to my PATH.

>i686-cygwin32-gcc -DHAVE_CONFIG_H -I. -I../../src/ld -I. -D_GNU_SOURCE
>-I.
>I../../src/ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include
>I../../src/ld/../intl -I../intl  -g -O2
>-DLOCALEDIR="\"/cygnus/cygwin-b20/share/locale\""    -g -O2 -c
>eelf_i386.c
.>elf_i386.c:641: unbalanced `#endif'
.>ake[1]: *** [eelf_i386.o] Error 1

I had this bit too, and did the same thing (except I removed the endif from
the script
which generated the .c file).

And I had the SYSCALLS problem too - this is built after the gcc which
targets
the linux machine and is used ON the linux machine. What it's complained
about is
that the gcc hasn't built. There will be an error earlier on when gcc failed
to
build. Check my message I posted earlier for details.

Building cygwin distribution for linux seems to be prone to failure - try
building just binutils and egcs instead for cygwin-cross-linux. However I
still encountered problems (see previous message in this forum again).

Gareth
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.


More information about the crossgcc mailing list