How to build an RPATH into gcc?

Adrian Bunk bunk@fs.tum.de
Thu May 6 00:17:00 GMT 2004


On Tue, May 04, 2004 at 10:26:31PM -0400, Ian Lance Taylor wrote:
> Adrian Bunk <bunk@fs.tum.de> writes:
> 
> >   LDFLAGS="-L/usr/local/lib -R/usr/local/lib" ../configure
> > didn't work
> 
> Why didn't this work?  Does the sparc-netbsdelf1.5 linker support the
> -R option?  If it does not support -R, does it support --rpath?  Was

-R is not an option for ld, it's an option for gcc.

> the -R option actually used when linking gcc?

Obviously were the LDFLAGS not used...

> Ian

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Gcc-help mailing list