This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PowerPC 440 crosstool config


Here's a powerpc-440.dat for crosstool:

TARGET=powerpc-440-linux-gnu
TARGET_CFLAGS="-O -mcpu=440"
GCC_EXTRA_CONFIG="--with-cpu=440 --enable-cxx-flags=-mcpu=440"
GLIBC_EXTRA_CONFIG="--without-fp"

There's only one issue: gcc-4.1.0-glibc-2.3.6.dat sets
GCC_CORE_DIR=gcc-3.3.6. GCC 3.3.6 doesn't support -mcpu=440, but GCC
3.4.6 does.

One possible solution would be to override GCC_CORE_DIR in
powerpc-440.dat, and then demo-powerpc-440.sh would look like this (note
reversed .dat order):

eval `cat gcc-4.1.0-glibc-2.3.6.dat powerpc-440.dat` sh all.sh --notest

Thoughts?

-- 
Hollis Blanchard
IBM Linux Technology Center


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]