Difference between LD_LIBRARY_PATH and LD_FLAGS?
New to Unix, running SUSE 10.0 on an x86_64 machine. Wondering wha tthe difference between the LD_LIBRARY_PATH variable and the LD_FLAGS variable is. Do they not pretty much do the same thing?
Thanks. |
I guess you crossposted. Bad.
Difference: LD_LIBRARY_PATH is for system dynamic linker. It is used when you run compiled ready program. LD_FLAGS is for compiler's linker. It is used by make (gcc and ld ignore it..) when you are building program, not when you run it. |
All times are GMT -5. The time now is 04:14 AM. |