[PLUG] Path statement

Russell Senior seniorr at aracnet.com
Tue Dec 3 20:53:04 UTC 2002


>>>>> "Anthony" == Anthony Schlemmer <aschlemm at attbi.com> writes:

Anthony> For managing the compile and linking process so you don't
Anthony> have to type extremely complex commands yourself you should
Anthony> learn how to use "make".  This is what large non-IDE based
Anthony> projects tend to use to manage the build process.

That's right!  I've got all my projects on *SCSI* disks, and use
Makefiles for nearly everything! ;-)

More seriously, I believe you can bypass the need for adding anything
to ld.so.conf or LD_LIBRARY_PATH by using an -rpath specification to
ld.  You can do this from a gcc command-line by using the -Wl,<foo>
option.  See docs for details.  I've never used this feature directly,
but I've seen reference to it scroll past on many a "make install" for
GNU and similar packages.

-- 
Russell Senior         ``I've seen every kind of critter God ever made,
seniorr at aracnet.com      and I ain't never seen a meaner, lower, more
                         stinkin' yellow hypocrite than you!'' 
                                        -- Burl Ives as Rufus Hennessy




More information about the PLUG mailing list