delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/19/12:33:29

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: MSVCRT/threads
19 Oct 1998 12:33:29 -0700 :
Message-ID: <9810190343.AA15473.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <3 DOT 0 DOT 6 DOT 32 DOT 19981018105437 DOT 00942c10 AT mail DOT netschool DOT co DOT jp>
To: Darren Cook <darren AT netschool DOT co DOT jp>
Cc: gnu-win32 AT cygnus DOT com

Darren Cook <darren AT netschool DOT co DOT jp> writes:
> I've installed EGCS 1.1 for i386-mingw32. My question is how do I tell the
> linker I'm using MSVCRT.DLL? I checked the FAQ and mailing list archives.
> I've included more details below. Thanks in advance for any suggestions,

You can't just do that I'm afraid. You need to do a few more things:
  
  - rebuild the target libraries and startup files (crt*) with __MSVCRT__ 
    defined. That includes crt1.o, dllcrt1.o, libmingw32.a, libmoldname.a,
    libiberty.a, and libstdc++.a. Possibly a few more I've missed here.

  - fix up the specs files to add __MSVCRT__ to the predefines (or do it
    explicitly when you invoke the compiler).

  - you must recompile *everything* with __MSVCRT__ defined.

If I still have these on my disk, I'll upload them so you can just grab
and use.

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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