[NCLUG] any experience modifying gcc specs files?

Gabriel L Somlo somlo at CS.ColoState.EDU
Thu Jun 20 15:05:43 MDT 2002


Oh, Solaris... :) 

Did you look at   '/bin/crle'  which does the same thing on Solaris as
the ld.so.conf + /sbin/ldconfig  stuff on Linux...

E.g., 

        crle -l /usr/lib -l /usr/local/lib -l /usr/local/gcc/lib

or something like that...

If it's *still* not what you want, that's it: I'm all out of ideas :) :)

Cheers,

Gabriel

-- 
-----------------------------------------------------------------------
     Gabriel L.  Somlo                   Assistant System Administrator
Computer Science Department
 Colorado State University               e-mail: somlo at cs.colostate.edu
  601 Howes St. 2nd Floor                 phone: +1 (970) 491-5305
  Fort Collins,  CO 80523
-----------------------------------------------------------------------

On Thu, 20 Jun 2002, Mike Loseke wrote:

> Thus spake Gabriel L Somlo:
> > 
> > 
> > I'm not sure this is what you're looking for, but here it
> > goes anyway:  :)
> > 
> > If you append the path to your gcc libs at the end of
> > 
> > 	/etc/ld.so.conf
> > 
> > and then run 
> > 
> > 	/sbin/ldconfig
> > 
> > the linker will find your libs without users having to list
> > them in their $LD_LIBRARY_PATH
> 
>  Yes, unfortunately this is for a gcc compile on Solaris, and it's
> impossible to add paths to those searched at runtime except with
> $LD_LIBRARY_PATH. I was just hoping someone was familiar with the specs
> file itself.
> 
> 
> > On Thu, 20 Jun 2002, Mike Loseke wrote:
> > > 
> > >  I'm trying to modify the specs file for a weird install of gcc so that
> > > everyone who uses it doesn't have to use a -R argument or add anything to
> > > $LD_LIBRARY_PATH to get the the linker to be able to find the gcc libs -
> > > anyone ever have to do this who might be able to shed any light?
> 
> 




More information about the NCLUG mailing list