Re: death to -{I,L}/our/{include,lib}!
Jonathon Fletcher <[email protected]> Thu, 19 Jul 2001 20:15:52 +0900 (JST)
| Newsgroups | gmane.comp.sysutils.ark.devel |
|---|---|
| Message-ID | <[email protected]> |
This is aside to the dependencies issue, but does every linker support -R to avoid insanity with ldconfig or LD_LIBRARY_PATH ? It would be good to have -R/our/lib in there. Now, for the dynamic dependencies, you know which files are in a pkg right - so when a binary gets installed in /our/bin you can see what it actually needs with ldd - and add the pkgs that contain those files to the dependencies for the pkg that contains the binaries. Automatically of course. Jonathon On Thu, 19 Jul 2001, Will Partain wrote: > Rolf asks: > > > > gcc -I/.-ark-deploy/zlib--1.1.3/include \ > > > -I/.-ark-deploy/libpng--1.0.9/include \ > > > -L/.-ark-deploy/zlib--1.1.3/lib \ > > > -L/.-ark-deploy/libpng--1.0.9/lib ... > > > > don't you also have a problem with runtime linking? ... > > Yep; it's called "gliding over the details" :-) I would > really try to sneak more flags to the linker... > > [non-HP-UX] > > gcc -I/.-ark-deploy/zlib--1.1.3/include \ > -I/.-ark-deploy/libpng--1.0.9/include \ > -L/.-ark-deploy/zlib--1.1.3/lib \ > -L/.-ark-deploy/libpng--1.0.9/lib \ > -Wl,-R/.-ark-deploy/zlib--1.1.3/lib \ > -Wl,-R/.-ark-deploy/libpng--1.0.9/lib ... > > [HP-UX] > > gcc -I/.-ark-deploy/zlib--1.1.3/include \ > -I/.-ark-deploy/libpng--1.0.9/include \ > -L/.-ark-deploy/zlib--1.1.3/lib \ > -L/.-ark-deploy/libpng--1.0.9/lib \ > -Wl,+b,: ... > > Anyone got any improvements to that? > (Death to LD_LIBRARY_PATH!) > > Will > > _______________________________________________ > ark-dev mailing list > [email protected] > http://lists.sourceforge.net/lists/listinfo/ark-dev > -- Jonathon Fletcher [email protected]