delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/16/13:23:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 16 Jun 2000 19:20:32 +0200 (MESZ)
From: Sergey Grigoriev <serge AT leopold DOT Physik DOT Uni-Augsburg DOT DE>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re:New gcc/binutils available for testing (TRY 2) -- fixes
Message-ID: <Pine.A41.4.10.10006161857050.29614-100000@leopold.Physik.Uni-Augsburg.DE>
MIME-Version: 1.0

>On Fri, Jun 16, 2000 at 12:23:33PM +0200, Sergey Grigoriev wrote:
>>It works not yet right. The problem is:
>>it uses librarys which are builded to use crtdll.dll as c-runtime.
>>
>>By this way it will be not correct to define __MSVCRT__  on compile time
>>and link it with msvcrt.dll
>>(and executable is linked with both crtdll.dll and msvcrt.dll - sometime
>>it can be 
>>working but somtime not (My project is not working by this way))
>>crt0,dllcrt0,gcrt0 -> CYGWIN1.DLL  linkage
>>crt1,dllcrt1,gcrt1 -> CRTDLL.DLL    linkage (gcrt1.o is not included in 
>>Cygwin-distribution, but can be obtained from MinGW-crtdll package)
>>crt2,dllcrt2,gcrt2 -> MSVCRT.DLL   linkage (MinGW-MSVCRT-package)
>
>Ok.  I'll remove the msvcrt stuff.  It sounds like it would be a nice
>idea to add a -mmsvcrt switch or something.

It will be nice of place of "-mno-cygwin" (is there -mcygwin?) to have
-mcrtdll and -mmsvcrt.

I don't see any header problem here, but I don't
know how to swith library-directories (like it done with 
"-iwithprefixbefore ../../../../include/mingw32" for cpp) on link-time.
Is there somethink like "-lwithprefixbefore"?

>Eventually, maybe we want to merge the msvcrt stuff into the cygwin
>distribution but that's outside the scope of what I'm trying to do.

It will be really great to have one (and not three -
Cygwin/mingw-crtdll/mingw-msvcrt) up-to-dated distribution 
usable to build Cygwin/crtdll/msvcrt-linked exe/dll.

Serge


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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