Building arm toolchain with uCLibc

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Sat Feb 26 00:58:00 GMT 2011


Steve, All,

On Friday 25 February 2011 025744 Steve Johnson wrote:
> I successfully build a toolchain for arm using crosstool-ng configured
> using the standard c library. However, when I tried to change the
> configuration to use uClibc I get the following error:
> 
> [INFO ]  Checking C library configuration
> [DEBUG]    Testing '-n  -a -f '
> [ERROR]    You did not provide a uClibc config file!
> 
> Why do I need to provide a uClibc config file? What did I do wrong?

You did nothing wrong. :-)

The configuration of uClibc is very versatile, and you can tailor it to your
specific needs. Doing so can change the ABI of the C library, therefore the
uClibc configuration has to be known before we can build uClibc.

I was thinking lately about bundling a default one with crosstool-NG, and
let the user override it in the configuration, but it is difficult to come
with a generic-enough .config file, so the user has to provide its own for
now...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< O_o >==-- '------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
'------------------------------'-------'------------------'--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list