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:

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:

/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) ../.././libssp/ssp.c:70: error: (Each undeclared identifier is reported only once
../.././libssp/ssp.c:70: error: for each function it appears in.)
../.././libssp/ssp.c:73: error: 'ssize_t' undeclared (first use in this function)
../.././libssp/ssp.c:73: error: expected ';' before 'size'
../.././libssp/ssp.c:75: warning: implicit declaration of function 'close'
../.././libssp/ssp.c:76: error: 'size' undeclared (first use in this function)
../.././libssp/ssp.c: At top level:
../.././libssp/ssp.c:89: error: expected declaration specifiers or '...' before 'size_t'
../.././libssp/ssp.c: In function 'fail':
../.././libssp/ssp.c:100: error: 'O_WRONLY' undeclared (first use in this function) ../.././libssp/ssp.c:104: error: 'size_t' undeclared (first use in this function)
../.././libssp/ssp.c:104: error: expected ';' before 'progname_len'
../.././libssp/ssp.c:107: error: 'progname_len' undeclared (first use in this function)
../.././libssp/ssp.c:107: warning: implicit declaration of function 'strlen'
../.././libssp/ssp.c:107: warning: incompatible implicit declaration of built-in function 'strlen' ../.././libssp/ssp.c:108: error: 'len' undeclared (first use in this function) ../.././libssp/ssp.c:108: error: 'msg1len' undeclared (first use in this function)
../.././libssp/ssp.c:109: warning: implicit declaration of function 'alloca'
../.././libssp/ssp.c:109: warning: incompatible implicit declaration of built-in function 'alloca'
../.././libssp/ssp.c:111: warning: implicit declaration of function 'memcpy'
../.././libssp/ssp.c:111: warning: incompatible implicit declaration of built-in function 'memcpy' ../.././libssp/ssp.c:119: error: 'ssize_t' undeclared (first use in this function)
../.././libssp/ssp.c:119: error: expected ';' before 'wrote'
../.././libssp/ssp.c:120: error: 'wrote' undeclared (first use in this function)
../.././libssp/ssp.c:151: warning: implicit declaration of function '_exit'
../.././libssp/ssp.c:151: warning: incompatible implicit declaration of built-in function '_exit'
../.././libssp/ssp.c: In function '__stack_chk_fail':
../.././libssp/ssp.c:161: warning: incompatible implicit declaration of built-in function 'strlen' ../.././libssp/ssp.c:161: warning: passing argument 2 of 'fail' makes pointer from integer without a cast
../.././libssp/ssp.c:161: error: too many arguments to function 'fail'
../.././libssp/ssp.c: In function '__chk_fail':
../.././libssp/ssp.c:168: warning: incompatible implicit declaration of built-in function 'strlen' ../.././libssp/ssp.c:168: warning: passing argument 2 of 'fail' makes pointer from integer without a cast
../.././libssp/ssp.c:168: error: too many arguments to function 'fail'
make[3]: *** [ssp.lo] Error 1
make[3]: Leaving directory `/toast/pkg/gcc-i386-jos-elf/v4.2.0/1/src/gcc-4.2.0/i386-jos-elf/libssp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/toast/pkg/gcc-i386-jos-elf/v4.2.0/1/src/gcc-4.2.0/i386-jos-elf/libssp'
make[1]: *** [all-target-libssp] Error 2
make[1]: Leaving directory `/toast/pkg/gcc-i386-jos-elf/v4.2.0/1/src/gcc-4.2.0'
make: *** [all] Error 2
make returned 512

[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