This is the mail archive of the crossgcc@sources.redhat.com 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]

Creating ARM toolchain


Hi,

I'm trying to make myself a working ARM toolchain optimised for Xscale PXA255 CPU. I tried to build several of them this weekend and only one actually came through the whole procedure. Below are errors reported. I'm doing this on suse9.0 linux with gcc:
xtrm@noa:~> gcc --version
gcc (GCC) 3.3.1 (SuSE Linux)
Copyright (C) 2003 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.





a) With crosstool-0.28-rc28, compiled successfully `cat armv5b-softfloat.dat gcc-3.4.0-glibc-2.3.2.dat` sh all.sh --notest

b) With crosstool-0.28-rc30, failed
`cat armv5b-softfloat.dat gcc-2.95.3-glibc-2.1.3.dat` sh all.sh --notest
...
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
...
hecking if mkdir takes one argument... no
Unknown cpu used with --with-cpu=xscale
Configure in /home/xtrm/delo/toolchains/buildzz/crosstool-gcc-2.95.3-glibc-2.2.5/build
/armv5b-softfloat-linux/gcc-2.95.3-glibc-2.1.3/build-gcc-core/gcc failed, exiting.


c) With crosstool-0.28-rc30, failed
eval `cat armv5b-softfloat.dat gcc-3.5-20040523-glibc-2.3.2.dat` sh all.sh --notest
eval `cat armv5b-softfloat.dat gcc-3.3.4-glibc-2.3.2.dat` sh all.sh --notest
eval `cat armv5b-softfloat.dat gcc-3.3.3-glibc-2.3.2.dat` sh all.sh --notest
...
/home/xtrm/delo/toolchains/buildzz/crosstool-gcc-3.3.3-glibc-2.3.2/re
sult/armv5b-softfloat-linux/gcc-3.3.3-glibc-2.3.2/lib/gcc-lib/armv5b-
softfloat-linux/3.3.3/../../../../armv5b-softfloat-linux/bin/ld: unre
cognised emulation mode: armelf_linux
Supported emulations: armelfb_linux armelfb
collect2: ld returned 1 exit status
make[2]: *** [/home/xtrm/delo/toolchains/buildzz/crosstool-gcc-3.3.3-
glibc-2.3.2/build/armv5b-softfloat-linux/gcc-3.3.3-glibc-2.3.2/build-
glibc/csu/crt1.o] Error 1
make[2]: Leaving directory `/home/xtrm/delo/toolchains/buildzz/crosst
ool-gcc-3.3.3-glibc-2.3.2/build/armv5b-softfloat-linux/gcc-3.3.3-glib
c-2.3.2/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/xtrm/delo/toolchains/buildzz/crosst
ool-gcc-3.3.3-glibc-2.3.2/build/armv5b-softfloat-linux/gcc-3.3.3-glib
c-2.3.2/glibc-2.3.2'
make: *** [all] Error 2



Will try others too.


regards,
h

--
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU

"AÃ rÃn" | [Analects XII:22]

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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