Albrecht Schlosser wrote:
> eric wrote:
>> I complied the FLTK, and get its libraries. And the libfltk.a file is more 
>> than 700k. But some articles say the core of FLTK is 114k.
> 

The key concept is "stripped".  That means removing all fltk string 
function symbols.  This is an overhead that your compiler uses for its 
linking which is mostly text information.  The stripping can be done 
automatically when your static lib is linked to a executable by your 
compiler.

If not done when the executable is created, most OSes have a way to 
strip symbols afterwards.  On Unix, the utility is called "strip", for 
example.  Link libfltk.a to some executable and then run "strip" on it.

Note that for dynamic libs, this overhead must remain for your os to be 
able to use the dso or dll, so you cannot strip libfltk.so.

-- 
Gonzalo Garramuño
[EMAIL PROTECTED]

AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to