cvs commit: src/etc/defaults rc.conf

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Apr 15 03:34:12 PDT 2007


Joerg Sonnenberger wrote:
On Fri, Apr 13, 2007 at 10:01:48AM -0700, Matthew Dillon wrote:
    The real problem here is that until the linker is changed to use rpaths
    by default, we are stuck with the pathing mechanism... we can't require
    that normal users use -rpath options in their compiles.
Requiring -rpath is and was the default on a number of Unix platforms.
The canonical exceptions are Linux and FreeBSD. That the former is
clueless I don't have to say. The latter inherited it from a.out and
never switched. I don't think it is a good base to reason upon given all
the other clutches kept e.g. not using normal ELF naming for libraries
etc.
Isn't it possible to have an implicit -rpath setting?  So for instance, if I link -L/usr/lib/foo -lfoo that the binary will get /usr/lib/foo as rpath (if libfoo was found there).

With this we could get away from the ld cache.

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20070415/e020d546/attachment-0020.obj>


More information about the Commits mailing list