Chris Quenelle <Chris.Quenelle at Sun.COM> wrote:

> I ran into this problem in spades when Solaris 10 came out with libm.so.2
> No program that uses libm can be linked on Solaris 10 and run on Solaris 9.
>
> It seems that you should be able to say "cc foo.c /usr/lib/libm.so.2"
> or "cc foo.c /usr/lib/libChickenTerror.so.200"
> I don't think that worked for me.  But I don't remember why.

You could also put symlinks to the different lib versions into specific
directories and use -L dir

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to