Remark, on the newwest gcc version (gcc-4.7.2.tar.gz) i got the
following error:
make[2]: Entering directory
`/home/goldhoorn/limes/uclinux-rock/external/gcc/build-microblaze-none-linux-gnu/gcc'
build/genchecksum c-lang.o c-family/stub-objc.o attribs.o c-errors.o
c-decl.o c-typeck.o c-convert.o c-aux-info.o c-objc-common.o c-parser.o
tree-mudflap.o c-family/c-common.o c-family/c-cppbuiltin.o
c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o
c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o
c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o
c-family/c-semantics.o c-family/c-ada-spec.o microblaze-c.o default-c.o
main.o libbackend.a libcommon-target.a libcommon.a ../libcpp/libcpp.a
../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a \
checksum-options > cc1-checksum.c.tmp && \
/home/goldhoorn/limes/uclinux-rock/external/gcc/gcc/../move-if-change
cc1-checksum.c.tmp cc1-checksum.c
opening microblaze-c.o: No such file or directory
make[2]: *** [cc1-checksum.c] Fehler 1
make[2]: Leaving directory
`/home/goldhoorn/limes/uclinux-rock/external/gcc/build-microblaze-none-linux-gnu/gcc'
make[1]: *** [all-gcc] Fehler 2
make[1]: Leaving directory
`/home/goldhoorn/limes/uclinux-rock/external/gcc/build-microblaze-none-linux-gnu'
make: *** [all] Fehler 2
make: Leaving directory
`/home/goldhoorn/limes/uclinux-rock/external/gcc/build-microblaze-none-linux-gnu'
Greetings,
Matthias
On 22.02.2013 08:29, Matthias Goldhoorn wrote:
Hello,
i tried to setup an toolchain for building linux application for the
microblaze target.
I tried so to build gcc with the following command:
/home/goldhoorn/limes/uclinux-rock/external/gcc/configure
--prefix=/home/goldhoorn/limes/uclinux-rock/install/microblaze
none-linux-gnu --target=microblaze-none-linux-gnu
target_alias=microblaze-none-linux-gnu --enable-languages=c,lto
--verbose --with gnu-as --disable-threads --enable-ld=no --disable-ld
My Target Versions are:
- binutils: binutils-2.23.tar.gz (builded successful)
- gcc: gcc-core-4.6.3.tar.gz
hostsystem: Debian Testing 64bit 4.7.2-5
But i got the following error:
/home/goldhoorn/limes/uclinux-rock/install/microblaze-none-linux-gnu/microblaze-none-linux-gnu/bin/ranlib
libgcc_eh.a
# build for this target, and the libgcc configuration also
# specifies, make sure they match. This can be removed
# when the gcc directory no longer holds libgcc configuration;
# it is useful when migrating a target.
Configuration mismatch!
mv tmp-libgcc.map libgcc.map
Extra parts from gcc directory: crtbegin.o crtbeginS.o crtbeginT.o
crtend.o crtendS.o crti.o crtn.o
Extra parts from libgcc: crtbegin.o crtbeginS.o crtbeginT.o crtend.o
crtendS.o
exit 1
make[2]: *** [libgcc-extra-parts] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
mv tmp-libgcc.map libgcc.map
make[4]: Leaving directory
`/home/goldhoorn/limes/uclinux-rock/external/gcc/build-microblaze-none-linux-gnu/microblaze-none-linux-gnu/bs/libgcc'
make[3]: *** [multi-do] Fehler 1
make[3]: Leaving directory
`/home/goldhoorn/limes/uclinux-rock/external/gcc/build-microblaze-none-linux-gnu/microblaze-none-linux-gnu/libgcc'
make[2]: *** [all-multi] Fehler 2
make[2]: Leaving directory
`/home/goldhoorn/limes/uclinux-rock/external/gcc/build-microblaze-none-linux-gnu/microblaze-none-linux-gnu/libgcc'
make[1]: *** [all-target-libgcc] Fehler 2
make[1]: Leaving directory
`/home/goldhoorn/limes/uclinux-rock/external/gcc/build-microblaze-none-linux-gnu'
Please find the whole configure and buildlog on:
http://auv.informatik.uni-bremen.de/swap/gcc-configure.log
http://auv.informatik.uni-bremen.de/swap/gcc-build.log
Thanks for your Help,
Matthias Goldhoorn
--
Dipl.-Inf. Matthias Goldhoorn
Space and Underwater Robotic
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-4193
Zentrale: +49 421 178 45-6550
Fax: +49 421 178 45-4150
E-Mail: matthias.goldhoorn@xxxxxxxxxxxxx
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik