Re: configure: error: No support for this target/host combination.

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

 



Ian Lance Taylor iant-at-google.com |gcc-help| wrote:
"Yang" <lx4r2qw02@xxxxxxxxxxxxxx> writes:

Ian Lance Taylor iant-at-google.com |gcc-help| wrote:
"Yang" <lx4r2qw02@xxxxxxxxxxxxxx> writes:

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
Thanks Ian. However, now I run into another build error:

Please reply to the mailing list, not just to me.  Thanks.

I had replied to the list as well.


/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

Thanks all, now everything works.

Out of curiosity, why couldn't libstdc++ and libssp build for this target? Is this a common issue for "non-mainstream" targets?

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux