Usage of uClibc - newbie question
Leon Brits
ljbrits at gmail.com
Thu Nov 17 12:35:40 UTC 2005
Hi all,
I've never worried about which libc I compiled against until now that I
need to work with source that must not be GPL but BSD or LGPL. So enter
uClibc...
I've downloaded, compiled and installed the latest uClibc(0.9.28)
library on my Ubuntu Breezy with gcc-3.4.5/glibc-2.3.5. The libraries
was install into /usr/i386-linux-uclibc.
So my question is:
Is it true that if I now want to compile a program against these uClibc
libraries, I only need to add "-nostdlib -nostartfiles" to my gcc
command line as well as the directory path to the uClibc libraries with
the -L switch? [Or must I use a toolchain compiled with the uClibc?]
Thanks for your time!
Leon
More information about the uClibc
mailing list