configure: error: No support for this target/host combination.
Yang
lx4r2qw02@sneakemail.com
Fri Dec 28 10:45:00 GMT 2007
Andrew Haley aph-at-redhat.com |gcc-help| wrote:
> Yang writes:
> > Ian Lance Taylor iant-at-google.com |gcc-help| wrote:
> > > "Yang" <lx4r2qw02@sneakemail.com> 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.
> >
> > Thanks Ian. However, now I run into another build error:
> >
> > /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'
>
> Does your OS not have open() ?
Since the build host is just Ubuntu Linux, it should have open().
>
> Try --disable-ssp.
I'm still ending up with the same error....
More information about the Gcc-help
mailing list