Answer the question
In order to leave comments, you need to log in
Building glibc for ARM?
Good day!
there is a task - to compile a system image suitable for compiling c / c ++ projects under ARM (more precisely, on ARM itself, if even more precisely then ARM9)
I compiled gcc for the target architecture, although I also had to rush there, but everything was assembled
, the problem arose when building glibc I
use the latest glibc ( ftp.gnu.org/gnu/glibc/glibc-2.12.1.tar.gz ) and its port ( ftp.gnu.org/gnu/glibc/glibc-ports-2.12.1.tar.gz )
configuration :
../../glibc-2.12.1/configure --build=i686-linux --target=arm-none-linux-gnueabi --host=arm-none-linux-gnueabi --prefix=/home/anatoly/Desktop/ARM/build/glibc-build --enable-add-ons
...<br/>
/home/anatoly/Desktop/ARM/src/glibc-2.12.1/malloc/libmemusage_pic.a(memusage.os): In function `me':<br/>
/home/anatoly/Desktop/ARM/src/glibc-2.12.1/malloc/lmemusage.c:253: undefined reference to `__eabi+read_tp'<br/>
...<br/>
Answer the question
In order to leave comments, you need to log in
For ARM, in general, people use uclibc, because more is sharpened for all these pieces of iron. Maybe you should try? When I was picking the firmware of the router, there were no special problems with compilation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question