LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2006, 07:29 AM   #1
johnpaulodonnell
Member
 
Registered: Jun 2006
Location: Galway
Distribution: Suse 10.1
Posts: 114

Rep: Reputation: 15
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.
 
Old 07-27-2006, 08:46 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,899

Rep: Reputation: 68
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ld_library_path fng_#1 Linux - Software 4 09-20-2004 12:33 AM
???? Ld_library_path ???? g452 Linux - Software 9 08-26-2004 04:00 PM
Ld_library_path barrys Mandriva 2 06-15-2004 01:19 PM
Ld_library_path Dogface1SG Linux - Software 1 11-16-2003 02:28 AM
where is LD_LIBRARY_PATH Ninja_212 Slackware 4 10-07-2003 11:41 PM


All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration