Re: gcc + uclibc

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

 



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