From owner-freebsd-hackers Tue Jan 7 14:59:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA18074 for hackers-outgoing; Tue, 7 Jan 1997 14:59:47 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id OAA17702 for ; Tue, 7 Jan 1997 14:57:06 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA26907; Tue, 7 Jan 1997 23:51:43 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA00293; Tue, 7 Jan 1997 23:51:43 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id XAA10425; Tue, 7 Jan 1997 23:44:28 +0100 (MET) Message-ID: 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 References: <199701062345.PAA10680@austin.polstra.com> <199701071800.KAA16413@austin.polstra.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199701071800.KAA16413@austin.polstra.com>; from John Polstra on Jan 7, 1997 10:00:06 -0800 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)