On Mar 11 06:31, Tony Mechelynck wrote:
> On 09/03/09 11:46, Corinna Vinschen wrote:
> >   Make_cyg.mak appears to use $(CC) throughout for
> > compile and link stage anyway.  So it should be sufficient (grain/salt)
> > to call
> >
> >    CC=i686-pc-mingw32-gcc make -f Make_cyg.mak
> >
> > after the -mno-cygwin option has been removed.
> 
> I was assuming that the next "version" of Make_cyg.mak would have 
> i696-pc-mingw32-gcc (instead of gcc) as the default for the CC variable 
> at the same time as -mno-cygwin and -mwindows would be removed from the 
> compiler and linker default arguments respectively.

Sure.  But the -mwindows option shouldn't be affected by this choice.
It's triggering a linker option (--susbsystem) which sets a specific flag
in the PE/COFF header of the executable to signal the subsystem the
executable is running in, see
http://sourceware.org/binutils/docs-2.17/ld/Options.html
http://msdn.microsoft.com/en-us/library/fcc1zstk(VS.80).aspx


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui