Hi,
I try to compile DROPS for an ARM processor. So I compiled my own cross compiler arm-unknown-linux-uclibc-gcc (I used Gentoo's cross-toolchain generator crossdev).
l4/tool/ compiled correctly, but l4/pkg/ NOT :-(
I get this message: === Building IDL & includes of "l4io" === PWD=.../l4/pkg/l4io make -C l4io include make[1]: Entering directory `.../l4/pkg/l4io' Makefile:8: *** Wrong gcc major version "" - use 3.x for l4io. Stop. make[1]: Leaving directory `.../l4/pkg/l4io' make: *** [l4io.headers] Error 2
But I use GCC 3.3.6. See the version output: l4/pkg $ arm-unknown-linux-uclibc-gcc --version arm-unknown-linux-uclibc-gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) 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.
What is going wrong here?
Thanks, Hans
-- Hans Christian Röpke Network Administration
Applied Data Security Group Ruhr-Universität Bochum, IC 4/42 Universitätsstrasse 150 44780 Bochum, Germany http://www.prosec.rub.de
On Thu Jun 01, 2006 at 14:20:47 +0200, Christian Roepke wrote:
I try to compile DROPS for an ARM processor. So I compiled my own cross compiler arm-unknown-linux-uclibc-gcc (I used Gentoo's cross-toolchain generator crossdev).
l4/tool/ compiled correctly, but l4/pkg/ NOT :-(
I get this message: === Building IDL & includes of "l4io" === PWD=.../l4/pkg/l4io make -C l4io include make[1]: Entering directory `.../l4/pkg/l4io' Makefile:8: *** Wrong gcc major version "" - use 3.x for l4io. Stop. make[1]: Leaving directory `.../l4/pkg/l4io' make: *** [l4io.headers] Error 2
But I use GCC 3.3.6. See the version output: l4/pkg $ arm-unknown-linux-uclibc-gcc --version arm-unknown-linux-uclibc-gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) 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.
The l4io package is checking for the x86 version of the configured compiler. This is indeed not optimal (I guess your install gcc is version 4). If you're just compiling for ARM, just remove the l4io package, ARM doesn't use it.
Adam
l4-hackers@os.inf.tu-dresden.de