[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking surprise...

On Wed, Oct 23, 2002 at 03:42:40AM +0200, Christian Henz wrote:
> So i added -lglut to my linker switches just to see how much that would 
> add to the size of the binary... surpsisingly the resulting filesize was 
> only a fraction of the original one! How can this be?  

If you're not statically linking glut, I'm not sure that you should
expect much of a size increase. Just curious, are you actually using
any glut functions (or including the glut header) in the code that
you're linking against?

Alan Chen
Digikata LLC