This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LD_LIBRARY_PATH & LD_RUN_PATH


Hi Brunda,

I believe the linker doesn't look at LD_LIBRARY_PATH, so you'll need your -L
parameter.  The loader looks at the LD_LIBRARY_PATH, not the linker.

However, with LD_LIBRARY_PATH set correctly, you needn't the -R parameter.

HTH,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]