This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nm chooses a.out instead of a.exe on cygwin platform


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]