Hi
Sorry to bring this up again but I'm still having problems getting the whole GCC compiler collection building on cygwin, when I 'make' I allways get:
[font=Courier]
gcc-3.2.2/gcc/config/i386/i386.c:927: for each function it appears in.)
gcc-3.2.2/gcc/config/i386/i386.c: In function `ix86_save_reg':
gcc-3.2.2/gcc/config/i386/i386.c warning: comparison between signed
and unsigned
make[1]: *** [i386.o] Error 1
make[1]: Leaving directory `/tmp/gccbuild/gcc'
make: *** [all-gcc] Error 2
[/font]
Please could someone show me a step-by-step account on how to build a complete working ELF compiler (including binutils) collection in Cygwin.
Thank you for your help
Steven Graham
Cygwin and ELF Again
Re:Cygwin and ELF Again
It looks like you're missing an error message at the start. "for each function it appears in.)" is part of an "undeclared identifier" message. That looks like your problem.
Re:Cygwin and ELF Again
Why should this happen? Shouldn't it just compile ok, this is the full distribution tarball and not a beta.Tim Robinson wrote: It looks like you're missing an error message at the start. "for each function it appears in.)" is part of an "undeclared identifier" message. That looks like your problem.
Re:Cygwin and ELF Again
I have compiled binutils several times under cygwin without problems..
i usually do
./configure --with-stabs --with-gnu-as --with-gnu-ld {target info}
make
make install
and it all works fine...
i usually do
./configure --with-stabs --with-gnu-as --with-gnu-ld {target info}
make
make install
and it all works fine...
-- Stu --
Re:Cygwin and ELF Again
Binutils compiles fine, it's GCC that doesn't compiledf wrote: I have compiled binutils several times under cygwin without problems..
i usually do
./configure --with-stabs --with-gnu-as --with-gnu-ld {target info}
make
make install
and it all works fine...
Re:Cygwin and ELF Again
Hmm interesting. I have just had delevered the book "GCC Complete Reference" and it states that I need to congifure a library for the target machine before compiling the cross compiler.
Seems Sensible :-[
Seems Sensible :-[
Re:Cygwin and ELF Again
I don't have an ELF Target
Where can I get the lib and include files for building an ELF cross compiler
Thanks
Steven Graham
Where can I get the lib and include files for building an ELF cross compiler
Thanks
Steven Graham
Re:Cygwin and ELF Again
for an elf target, you have to build binutils
this makes as/ld/etc that handle elf, aout, etcetcetc.
this makes as/ld/etc that handle elf, aout, etcetcetc.
-- Stu --