[Buildroot] Naming of libraries.

don don_reid at comcast.net
Sun Nov 5 00:10:20 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.)

This convention was in Unix long before the FSF came along, don't blame
them.

Don Reid



More information about the buildroot mailing list