-mno-cygwin Problems and Fixes
Earnie Boyd
earnie_boyd@yahoo.com
Fri Mar 2 09:41:00 GMT 2001
"Sergey R. Grigoriev" wrote:
>
> Hello Earnie!
>
> >First you need to tell us what version of GCC you're using, e.g.:
> >gcc-2.95.2-6.
>
> It is gcc-2.95.2-6 (for 10 min downloaded and all new installed)
>
Chris is slated to release gcc-2.95.2-8 sometime soon. It should be
fixed then.
> >"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.
>
> Makes it sence to add "-D__MSVCRT__" to "specs"-file too?
> *cpp:
> .... %{mno-cygwin:-DWIN32 -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__
> .....
>
Yes, that's what I meant.
> >> 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.
>
> I undestand... but I have a lot of progs compiliable with MINGW (old one
> from Mumith)
> and compiliable with CYGWIN... and this "strings.h" is only wrapper for
> "string.h"
>
> Why you want to remove "strings.h" from -mno-cygwin?
>
I didn't create MinGW (see http://www.mingw.org for the history). I
assume because it wasn't needed and wasn't ANSI specified.
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