From owner-cvs-gnu Tue May 28 15:56:14 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA11722 for cvs-gnu-outgoing; Tue, 28 May 1996 15:56:14 -0700 (PDT) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA11693; Tue, 28 May 1996 15:56:06 -0700 (PDT) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0uOXg0-0003zaC; Tue, 28 May 96 15:55 PDT Received: from critter.tfs.com (localhost [127.0.0.1]) by critter.tfs.com (8.7.5/8.6.12) with ESMTP id WAA14768; Tue, 28 May 1996 22:55:37 GMT To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) cc: phk@freefall.FreeBSD.org (Poul-Henning Kamp), CVS-committers@freefall.FreeBSD.org, cvs-all@freefall.FreeBSD.org, cvs-gnu@freefall.FreeBSD.org Subject: Re: cvs commit: src/gnu/usr.bin/ld ld.1 ld.c In-reply-to: Your message of "Tue, 28 May 1996 20:27:57 +0400." <199605281627.UAA01097@astral.msk.su> Date: Tue, 28 May 1996 22:55:37 +0000 Message-ID: <14766.833324137@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-gnu@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > phk 96/05/28 09:17:50 > > > > Modified: gnu/usr.bin/ld ld.1 ld.c > > Log: > > Add an option -O to ld. From the manpage: > > -O filename > > Specifies the name of the output file. The file is created as > > filename.tmp and when output is complete renamed to filename . > > This allows us to: > > ld -O ${.TARGET} -x -r ${.TARGET} > > Please, clarify (maybe in manpage?) how -O is different from -o > What happens with filename.tmp when output is NOT complete? ld will only produce output if things work out OK. -O will allow ld to output to the same name as one of the inputs. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.