[Buildroot] Naming of libraries.

Thomas Lundquist lists at zelow.no
Sun Nov 5 08:27:26 UTC 2006


On Sat, Nov 04, 2006 at 06:48:41PM -0500, Rob Landley wrote:
> 
> When you tell gcc "gcc -lcurses" it looks for libcurses in the library search 
> path.  Because gcc looks for things starting with "lib", people add that to 
> their library names to use gcc.  (Everybody agrees ".exe" is stupid for 
> executables, and libraries already have .a or .so anyway, but this is the FSF 
> we're talking about.  Making sense was never a strong suit with them.)

hehe, ok.

the question was more of a naming convention issue in buildroot but I
guess it's just like that for other purposes.

(slang and ncurses are not prefixed with lib, so I guess it's no real
issue.)

> (And yes, I honestly think they believe "-liberty" as a command line option is 
> funny or something, hence libiberty.a)

but it is :=)


Thomas.



More information about the buildroot mailing list