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: -mno-cygwin Problems and Fixes


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


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