This is the mail archive of the cygwin@sources.redhat.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: make -mno-win32 the gcc default?


Egor Duda wrote:
> 
> Hi!
> 
> Thursday, 11 January, 2001 Charles Wilson cwilson@ece.gatech.edu wrote:
> 
> CW> Sure.  'export CC="gcc -mwin32"' and 'export CXX="g++ -mwin32"' in your
> CW> .bashrc
> 
> perhaps  we  should put
> 'export  CC="gcc -mno-win32"' and 'export CXX="g++ -mno-win32"' in our
> .bashrc's and live with it for some time before making it default?
> 
> BTW, shouldn't it be
> 'export  CFLAGS="-mno-win32"' and 'export CXXFLAGS="-mno-win32"' ?

Yeah, you're probably right.  But lots of times I'll do this:

CFLAGS="...." LDFLAGS="....." ./configure 

and if it were me, I *know* I'd forget to add "-mno-win32" every time. 
However, I hardly ever mess with "CC" or "CXX". Therefore, those
variables are "safe" -- they won't be accidentally overridden.  But
that's just my tendencies.  I'm sure other people have their own.

--Chuck

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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