Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 1996 22:55:37 +0000
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su>
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 
Message-ID:  <14766.833324137@critter.tfs.com>
In-Reply-To: Your message of "Tue, 28 May 1996 20:27:57 %2B0400." <199605281627.UAA01097@astral.msk.su> 

next in thread | previous in thread | raw e-mail | index | archive | help

> > phk         96/05/28 09:17:50
> > 
> >   Modified:    gnu/usr.bin/ld  ld.1 ld.c
> >   Log:
> >   Add an option -O <filename> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14766.833324137>