Hi there,
as 12MB per user program are not much and I want to use KDE too, I would like
to have an kernel that also supports elf binaries and a c compiler which can
compile elf binaries.
After reading http://www.tazenda.demon.co.uk/phil/arm-tools.html I thought
that I first had to compile binutils and egcs, then install them, after that
compile the new kernel, boot the new kernel ...
I am running the 2.0.35 kernel and the compiler+libraries from the
redhat rpms at ftp.arm.linux.org.uk.
The computer is a riscpc with sa, 64+2MB Ram, 64 MB swap, enough free hd
space.
Unfortunately I got the following error message while compiling egcs-1.1.1
with phils patch:
make[1]: Entering directory `/usr/src/egcs-1.1.1/libiberty'
make[1]: Leaving directory `/usr/src/egcs-1.1.1/libiberty'
make[1]: Entering directory `/usr/src/egcs-1.1.1/texinfo'
make all-recursive
make[2]: Entering directory `/usr/src/egcs-1.1.1/texinfo'
Making all in intl
make[3]: Entering directory `/usr/src/egcs-1.1.1/texinfo/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/egcs-1.1.1/texinfo/intl'
Making all in lib
make[3]: Entering directory `/usr/src/egcs-1.1.1/texinfo/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/egcs-1.1.1/texinfo/lib'
Making all in makeinfo
make[3]: Entering directory `/usr/src/egcs-1.1.1/texinfo/makeinfo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/egcs-1.1.1/texinfo/makeinfo'
make[2]: Leaving directory `/usr/src/egcs-1.1.1/texinfo'
make[1]: Leaving directory `/usr/src/egcs-1.1.1/texinfo'
make[1]: Entering directory `/usr/src/egcs-1.1.1/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/egcs-1.1.1/etc'
make[1]: Entering directory `/usr/src/egcs-1.1.1/gcc'
gcc -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I. -I. -I./config \
-DPREFIX=\"/usr\" \
-c `echo ./prefix.c | sed 's,^\./,,'`
In file included from config/arm/linux-elf.h:81,
from tm.h:2,
from config/arm/xm-arm.h:54,
from config/arm/xm-linux.h:22,
from config.h:2,
from prefix.c:66:
config/arm/elf.h:406: syntax error before `extern'
make[1]: *** [prefix.o] Error 1
make: *** [all-gcc] Error 2
make[1]: Leaving directory `/usr/src/egcs-1.1.1/gcc'
Looking at line 406 in elf.h I could not find something strange. Does
anyone know what is the problem here?
And another question: Is my way how to get an elf system ok?
--
Peter Teichmann
----------------------------------------------------------------------------
Email: [EMAIL PROTECTED] WWW: rcswww.urz.tu-dresden.de/~teich-p
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]