C
C
CapitanBlood2010-12-01 20:45:31
linux
CapitanBlood, 2010-12-01 20:45:31

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

runs without errors,
however, at the build stage, an error occurs:
...<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/>

I've been fighting over it for a week now, I can't overcome it.
can someone tell me where i went wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kekekeks, 2010-12-01
@kekekeks

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.

A
apangin, 2010-12-01
@apangin

And you can find out what is the point of assembling yourself?
Can't take already compiled packages in Ubuntu, Debian, ...?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question