Understanding the bin, sbin, usr/bin , usr/sbin split

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Feb 7 19:21:32 UTC 2012


On Tue, Feb 07, 2012 at 10:11:43AM -0800, William Park wrote:
> Hmm... don't you have to know where the library is coming from?
> I mean, libc.so from GNU C and libc.so from busybox are awefully
> different.

No you don't.  When compiling you really just need:

cc -o putput input.c -lpthread

Doesn't matter which libc as long as the compiler was originally
configured for a given target.  My makefile certainly doesn't care if
it is glibc, eglibc or uclibc or even klibc.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list