Changes between Version 1 and Version 2 of SharedLibraries/Management


Ignore:
Timestamp:
Mar 21, 2010 1:23:24 AM (4 years ago)
Author:
guest
Comment:

Added section On Solaris. Sumbitted by markwright@…

Legend:

Unmodified
Added
Removed
Modified
  • SharedLibraries/Management

    v1 v2  
    105105Caveat 2: Mac OS X has a set of compiler/linker switches for dealing with Frameworks (packages of shared libraries and include files).  These are installed outside the typical *nix directory structure.  These switches act like -I (to gcc) and -L (to ld).  If you end up totally confused about where to find something, read up on this.  The OpenGL and OpenAL headers and libraries are in Frameworks, for example. 
    106106 
     107== On Solaris == 
     108 
     109Build gcc using the Sun Solaris linker /usr/ccs/bin, then export the environment variable LD_OPTIONS to set the RUNPATH in the shared libraries and executables.  For example, to ensure the RUNPATH is set to find libgmp.so.3 in /usr/gnu/lib, export LD_OPTIONS='-L/usr/gnu/lib -R/usr/gnu/lib'. 
     110 
    107111== On Windows == 
    108112