uClibc-0.9.19

Guest #1171981
Daniel wrote:
> Does Winarm support uClibc-0.9.19? I need the arm-uclibc-gcc compiler.

(Again:) WinARM is just a collection. The libc in this collection is the
newlib. It may be possible to compile the uClibc with the arm-elf-gcc
that comes with WinARM (or Yagarto or...) and use it as libc instead of
the newlib. But a better choice would be to build your toolchain "from
scratch". IRC there is rather detailled information on how to build a
toolchain with uClibc on their web-site. Since I have never tested
uClibc myself I can not give further information at the moment, maybe
someone else can jump in here.

Keep in mind that the uClibc is licensed under the LGPL which may be a
restriction.

Just curious: which functions do you miss in the newlib?

Martin Thomas
Guest #1171982
Martin Thomas wrote:
> Daniel wrote:
>> Does Winarm support uClibc-0.9.19? I need the arm-uclibc-gcc compiler.
>
> (Again:) WinARM is just a collection. The libc in this collection is the
> newlib. It may be possible to compile the uClibc with the arm-elf-gcc
> that comes with WinARM (or Yagarto or...) and use it as libc instead of
> the newlib. But a better choice would be to build your toolchain "from
> scratch". IRC there is rather detailled information on how to build a
> toolchain with uClibc on their web-site. Since I have never tested
> uClibc myself I can not give further information at the moment, maybe
> someone else can jump in here.
>
> Keep in mind that the uClibc is licensed under the LGPL which may be a
> restriction.
>
> Just curious: which functions do you miss in the newlib?
>
> Martin Thomas


Thanks Martin for your reply.

> Just curious: which functions do you miss in the newlib?

I really don't know. All my application is linked with uClibc-0.9.19,
one of the few libs working with my target. I'm working on a project
under uClinux and I thought that building the application from Windows
could be nice for those unfamiliar with Linux (thinking in a GPL
project). For Windows I wanted to compile just my application, not the
kernel image, so I don't need to adapt the whole toolchain.
arm-uclibc-gcc is the only executable to build for Windows but I don't
know where to start. I'm currently downloading source files.

Thanks.
#1171983
The gnu toolchain from Keil uses uclibc instead of newlib, so have a
look there as a start.

I have used uclibc in the past as the footprint is slightly smaller than
newlib (when using printf etc). Newlib can be tweaked to have a similar
foorprint however.

Be careful of the license with uclibc as it is LGPL not GPL as newlib.

Regards
Spen

Reply

A question of your own? This thread is over 20 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.