gcc + uclibc
Andrew Haley
aph@redhat.com
Mon Apr 2 09:04:00 GMT 2012
On 04/02/2012 09:11 AM, Alberich de megres wrote:
> I'm trying to understand the toolchain creation, by building one. I
> want to learn how they work.
> I'm building one for arm, with:
> - binutils 2.22
> - kernel 3.1.8 headers
> - gcc 4.6.2
>
>
> When compiling gcc final stage I got the following error:
You need the C libraries for your target system.
Install them somewhere, and then configure --with-sysroot=
Something like this:
$ /home/aph/gcc/trunk/configure \
--target=armv7hl-redhat-linux-gnueabi \
--prefix=/home/aph/gcc/trunk/x-armv7hl-redhat-linux-gnueabi-install \
--with-sysroot=/home/aph/fedora_armv7hl_rootfs/ \
--enable-languages=c,c++
Andrew.
More information about the Gcc-help
mailing list