This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: nm chooses a.out instead of a.exe on cygwin platform
- From: Segher Boessenkool <segher at koffie dot nl>
- To: "Manik, Raina (IE10)" <Manik dot Raina at honeywell dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 25 Nov 2002 13:48:29 +0100
- Subject: Re: nm chooses a.out instead of a.exe on cygwin platform
- References: <CDDB93E84A8DD411B01900D0B78278400C51AAF8@IE10-SAHARA>
"Manik, Raina (IE10)" wrote:
>
> Greetings to you binutils hackers !
>
> Problem:
>
> On the cygwin platform , nm chooses a.out by default
> even though the default executable built by GNU CC
> is a.exe.
I'd say that the problem is that the default name used by ld is a.exe .
The linker output isn't necessarily an executable file, so calling it
a.exe is confusing and wrong. IMHO, of course.
Also:
-- almost noone really wants to call his executable a.out/a.exe, and
-- it's not hard to use -o xxxxx;
-- it's not hard to rename a file, not even on dos/mswindows.
So if you want to get rid of the inconsistency, please get rid of a.exe
instead of of a.out.
Segher