View Single Post
Old 03-04-03, 03:05 PM   #4
merlin42
Registered User
 
Join Date: Sep 2002
Posts: 52
Default

Please explain why you want to statically link your app?

One of the major selling points of OpenGL is that it is hardware independant, statically linking negates this independance. In fact a statically linked application wouldn't even work with after a different version of the drivers was installed (libGL.so depends on the kernel module and the X drivers).

Providing a static version of the library would be a support headache for nvidia, and provide essentially 0 benifit to their customes (except you perhaps), I do a lot of OpenGL development and I have never had the need or desire for a statically linked libGL.so. If they did provide a static version then some idiot would (possibly unintentionally) statically link and redistribute an app, which would probably make nvidia look bad even though they were not _really_ to blame.

Well, now that I think about it I could imagine wanting to statically link Mesa so that you could have a reference version of your app that used a software renderer, but there is no reason to statically link a vendor supplied libGL.so.
merlin42 is offline   Reply With Quote