[Gs-devel] Linux shared object

Russell Lang gsview at ghostgum.com.au
Fri Sep 21 05:13:49 PDT 2001


The current procedure for building Ghostscript as shared object uses 
a recursive make, to define different build directories and compiler 
options.  I'd like to remove the recursive make if possible. To do 
this, the standard Ghostscript executable would need to be compiled 
with the appropriate options for building a shared library.  In 
particular, source files would need to be compiled with "gcc -fPIC".  
Is there any speed or size penalty in compiling all of Ghostscript 
using -fPIC then linking without -fPIC for the executable, and 
linking with -fPIC to create a shared object?   



Russell Lang                   gsview at ghostgum.com.au
Ghostgum Software Pty Ltd      http://www.ghostgum.com.au/




More information about the gs-devel mailing list