Hi
[...]
I am including the output, but only the last 7 or 8 lines, since the rest seems okay:
gcc -c -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I. -I/boot/home/fred/fsf/gcc/gcc -I/boot/home/fred/fsf/gcc/gcc/config -I/boot/home/fred/fsf/gcc/gcc/../include /boot/home/fred/fsf/gcc/gcc/config/i386/winnt.c /boot/home/fred/fsf/gcc/gcc/config/i386/winnt.c: In function `i386_pe_dllimport_p': /boot/home/fred/fsf/gcc/gcc/config/i386/winnt.c:201: `TARGET_NOP_FUN_DLLIMPORT' undeclared (first use in this function) /boot/home/fred/fsf/gcc/gcc/config/i386/winnt.c:201: (Each undeclared identifier is reported only once /boot/home/fred/fsf/gcc/gcc/config/i386/winnt.c:201: for each function it appears in.) make[1]: *** [winnt.o] Error 1 make[1]: Leaving directory `/boot/home/buildarena/gcc' make: *** [all-gcc] Error 2
What I need to know is what flags I need to use with 'configure' and/or 'make' to specify that I don't want anything related to Windows compiled in. Isn't this possible? That would effectively skip right over these headers and source files, right?
Perhaps. Basically, gcc cannot compile itself. This makes it a gcc matter and not a GPC matter - but the prospects are not looking very bright at the moment. I think you need to speak to BeOS gcc porters about this, since no-one here will have a clue as to what the real probem is. I am surprised that the BeOS gcc porters didn't provide gcc sources that will compile without any need for tinkering. What is their advice concerning the configure scripts and the build process? Do they build gcc natively, or do they use a cross compiler? Obviously, 'configure', when left to its own devices, thinks that you are using Windows. This may be due to the deliberate actions of the porters, or 'configure' may just have guessed wrongly. Try running 'config.guess' and see what system it thinks you are running on. You may need to supply other arguments to 'configure' (e.g., '--build', '--host', '--target').
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Email: African_Chief@bigfoot.com http://www.bigfoot.com/~african_chief/