-mno-cygwin Problems and Fixes

Earnie Boyd earnie_boyd@yahoo.com
Fri Mar 2 08:24:00 GMT 2001


First you need to tell us what version of GCC you're using, e.g.:
gcc-2.95.2-6.

"Sergey R. Grigoriev" wrote:
> 
> Hello,
> 
> 1.I found small incorrectness in "specs"-file:
>   now -mno-cygwin produce MSVCRT.DLL-linked code and
>   all "crt1" and "dllcrt1" MUST be replaced by "crt2" and "dllcrt2"
> (If I not mistake crt1/dllcrt1 works with CRTDLL.DLL and crt2/dllcrt2
> with MSVCRT.DLL)
> 

Also you need to -D__MSVCRT__ because of some differences in structures
between the two libraries.

> 2. One need to copy missing "/usr/include/mingw/strings.h" header
>    from "/usr/include/strings.h"
> 

You should be using <string.h> instead.

Earnie.

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


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



More information about the Cygwin mailing list