This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
"Yang" <lx4r2qw02@sneakemail.com> writes:
Ian Lance Taylor iant-at-google.com |gcc-help| wrote:"Yang" <lx4r2qw02@sneakemail.com> writes:Thanks Ian. However, now I run into another build error:
Yang lx4r2qw02-at-sneakemail.com |gcc-help| wrote:When building gcc 4.2.0 on my Ubuntu 7.10 x86-64, I get: configure: error: No support for this target/host combination. I ran configure --target=i386-jos-elf. I can't really tell what was being built, but it seems like libstdc++. It would be nice to have C++ support (I imagine it must exist for i386+ELF), but if this turns out to be difficult, I'd also be interested in knowing how to . Thanks in advance for any guidance.To complete that second-to-last sentence: "how to disable building libstdc++".If you don't need C++, use the option --enable-languages=c when you run configure. Ian
Please reply to the mailing list, not just to me. Thanks.
/toast/pkg/gcc-i386-jos-elf/v4.2.0/1/src/gcc-4.2.0/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/toast/pkg/gcc-i386-jos-elf/v4.2.0/1/src/gcc-4.2.0/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/i386-jos-elf/bin/ -B/usr/local/i386-jos-elf/lib/ -isystem /usr/local/i386-jos-elf/include -isystem /usr/local/i386-jos-elf/sys-include -DHAVE_CONFIG_H -I. -I../.././libssp -I. -Wall -O2 -g -O2 -MT ssp.lo -MD -MP -MF .deps/ssp.Tpo -c ../.././libssp/ssp.c -o ssp.o ../.././libssp/ssp.c: In function '__guard_setup': ../.././libssp/ssp.c:70: warning: implicit declaration of function 'open' ../.././libssp/ssp.c:70: error: 'O_RDONLY' undeclared (first use in this function)
Easy fix: configure with --disable-libssp.
Ian
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |