This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


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

Re: Don't create bogus a.exe in mingw directory


egor duda wrote:
> 
> Hi!
> 
> Sunday, 04 November, 2001 Earnie Boyd earnie_boyd@yahoo.com wrote:
> 
> EB> egor duda wrote:
> >>
> >> Hi!
> >>
> >>   Now we're creating unneeded (and not cleaned by 'make clean') a.exe
> >> file during make of mingw10.dll. here's a patch to fix it.
> >>
> 
> EB> Why not just add a remove of a.exe in the clean?  I.E.: Why add the -o
> EB> mingwthrd_dummy.exe?
> 
> 1) if, for some reason, a.exe is changed to, say, a.out it'll stop
> working. i don't like to rely on defaults. they change sometimes.
> 2) if one see stale mingwthrd_dummy.exe in his build directory it's
> clear where it's coming from (just by looking at Makefile). it takes
> me some time to figure out who's creating a.exe
> 

Great, check the patch in.

> initially, i wanted to add '-o /dev/null' instead of '-o mingwthrd_dummy.exe',
> but then thought that it probably won't work with native mingw
> compiler.
> 

You're right, this wouldn't have worked well with MinGW's version of
GCC.

-- 
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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