[NCLUG] any experience modifying gcc specs files?

Mike Loseke mike at verinet.com
Thu Jun 20 15:19:25 MDT 2002


Thus spake Gabriel L Somlo:
> 
> 
> 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 :) :)

 Thought of it, across 500+ machines and changes galore... no thanks. :-)


> 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?
> > 
> > 
> 
> _______________________________________________
> NCLUG mailing list       NCLUG at nclug.org
> 
> To unsubscribe, subscribe, or modify your settings, go to:
> http://www.nclug.org/mailman/listinfo/nclug
> 


-- 
                  | If you hear a Southerner exclaim, "Hey, y'all,
   Mike Loseke    | watch this!" stay out of his way. These are
 mike at verinet.com | likely the last words he will ever say.



More information about the NCLUG mailing list