delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/02/11:25:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A9FC957.86351B59@yahoo.com>
Date: Fri, 02 Mar 2001 11:24:55 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: rserge AT physik DOT uni-augsburg DOT de
CC: cygwin <cygwin AT cygwin DOT com>
Subject: Re: -mno-cygwin Problems and Fixes
References: <3A9FC5D2 DOT 25C8DFA2 AT physik DOT uni-augsburg DOT de>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019