Date: Tue, 7 Jan 1997 23:44:28 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: jdp@polstra.com (John Polstra) Cc: hackers@freebsd.org Subject: Re: ld with -R weirdness Message-ID: <Mutt.19970107234428.j@uriah.heep.sax.de> In-Reply-To: <199701071800.KAA16413@austin.polstra.com>; from John Polstra on Jan 7, 1997 10:00:06 -0800 References: <Mutt.19970105234525.roberto@keltia.freenix.fr> <199701062345.PAA10680@austin.polstra.com> <Mutt.19970107070223.roberto@keltia.freenix.fr> <199701071800.KAA16413@austin.polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
As John Polstra wrote: > > > I should mention one other thing. If LD(1) is to be believed, there > > > should be no space between ld's "-R" option and the > > > "record-library-search-path" that follows it. > > It seems to work the same way with and without the ','. > > Yes, but it you use it contrary to the manual page, there is no > guarantee it will still work next week, or even tomorrow. General Posix rules mandate the space between an option and the option arguments. However, applications are requested (or even required) to tolerate a missing space in this position. The `classic' SysV C compilers and linkers that required -Ifoo and -Lbar without an intervening space (as well as our mkdep, and maybe some other tools) are not Posix-conformant. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970107234428.j>