Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 1999 17:56:42 +0500
From:      Konstantin Chuguev <joy@urc.ac.ru>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: ELF default format vs. a.out default binary name
Message-ID:  <36D2A58A.B6571F5B@urc.ac.ru>
References:  <36D29EC9.27B554DA@urc.ac.ru> <19990223144415.A86038@ucb.crimea.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote:

> On Tue, Feb 23, 1999 at 05:27:53PM +0500, Konstantin Chuguev wrote:
> > Hi!
> >
> > Just curious: if ELF is the default binary file format now, then why gcc
> > still produces a.out file by default?
> >
> > Well, I know, I've changed the reason and the consequence, so it's a
> > kind of joke :-)
> >
>
> Either set OBJFORMAT=elf or put this line into /etc/objformat.
>

Oh, sorry, I wrote not accurately. I meant, if you don't set -o
<outfile-name> option in gcc, then the file will be named a.out, even if it's
in ELF format :-)


--
        Konstantin V. Chuguev.          System administrator of Southern
        http://www.urc.ac.ru/~joy/      Ural Regional Center of FREEnet,
        mailto:joy@urc.ac.ru            Chelyabinsk, Russia.





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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