Re: gcc + uclibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I forgot to add the uclibc 0.9.33 to the list.
I already configured the --with-sysroot into the gcc (on both stage1 and final)
In the uclibc I configured the kernel_headers to point to sysroot to
sysroot/usr/include

Should I use the --prefix to point to the headers? or the --with-sysroot?

thanks!!


On Mon, Apr 2, 2012 at 11:03 AM, Andrew Haley <aph@xxxxxxxxxx> wrote:
> 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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux