public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-embedded] crossdev-20100620 uses wrong gcc
@ 2010-09-23 14:37 99% Joakim Tjernlund
  0 siblings, 0 replies; 1+ results
From: Joakim Tjernlund @ 2010-09-23 14:37 UTC (permalink / raw
  To: gentoo-embedded


Trying to add support for e300c2 in glibc/ports I got another error.
when crossdev is building cross-glibc-headers it uses the hosts gcc
instead of the cross compiler and glibc configure fails:

configure:7498: checking for compiler option for CPU variant
configure:7506: gcc -march=e300c2 -xc /dev/null -S -o /dev/null
/dev/null:1: error: bad value (e300c2) for -march= switch
/dev/null:1: error: bad value (e300c2) for -mtune= switch
configure:7509: $? = 1
configure:7506: gcc -mcpu=e300c2 -xc /dev/null -S -o /dev/null
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
/dev/null:1: error: bad value (e300c2) for -mtune= switch
configure:7509: $? = 1
configure:7516: result: no
configure:7519: error: gcc does not support e300c2


Here is the configure log snippet when it finds the hosts gcc:

configure:2028: checking build system type
configure:2046: result: i686-pc-linux-gnu
configure:2068: checking host system type
configure:2083: result: powerpc-e300c2_softfloat-linux-gnu
configure:2114: checking for powerpc-e300c2_softfloat-linux-gnu-gcc
configure:2141: result: gcc
configure:2413: checking for C compiler version
configure:2421: gcc --version >&5
gcc (Gentoo 4.4.3-r2 p1.2) 4.4.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-09-23 14:37 99% [gentoo-embedded] crossdev-20100620 uses wrong gcc Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox