This is the mail archive of the cygwin@sourceware.cygnus.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]

New GCC available for testing (TRY 4) -- fixes include path problem


Further on my tests concerning c++ and .cc files and this may help you 
Chris as far as what is and is not the concern of cygwin and therefore 
you and the rest of the developers.  Maybe the problem I found is the way 
it is supposed to work since the very problem I had was described in 
Mumit's mno-cyginw-howto document.

He describes the instance and advises getting the headers and the libs 
and then he states:

- untar the distribution under a directory, say /usr/local/mingw. This 
will create a lib directory containing the target libraries and include 
directory containing target headers (currently the only header needed is 
_G_config.h).

- Add the -I/usr/local/mingw/include to all compilation when using the 
-mno-cygwin option so that the compiler looks there first. 

- Add the -L/usr/local/mingw/lib to all your link commands when using    
-mno-cygwin option.

As soon as I adhered to the second and third bullet while doing my 
compile and link then all went smoothly.  Yes, it would be nice if 
-mno-cygwin did all this but it is spelled out as working this way in 
Mumit's very own document.

Brian




This e-mail contains privileged and confidential information solely for the use of the addressee.  If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or other use of the message and its content is strictly prohibited.  If you have received this message in error, please notify use immediately by telephone or e-mail.  
Mailto:Administrator@FultonPaper.com 

Thank you.



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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