delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/20/10:46:39

From: colin AT fu DOT is DOT saga-u DOT ac DOT jp (Colin Peters)
Subject: RE: MSVCRT/threads
20 Oct 1998 10:46:39 -0700 :
Message-ID: <005f01bdfbd1$7e7d00e0$fa173185.cygnus.gnu-win32@gbird0.fu.is.saga-u.ac.jp>
Mime-Version: 1.0
To: <darren AT netschool DOT co DOT jp>
Cc: "GNU-win32" <gnu-win32 AT cygnus DOT com>, "Mumit Khan" <khan AT xraylith DOT wisc DOT edu>

Mumit Khan <khan AT xraylith DOT wisc DOT edu> wrote:

>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.

[snip]

Ack! I'd forgotten that there might be some dependencies in libmingw32 and
libmoldname. Off the top of my head I can't find any, but they could be
waiting in there to bite you. On the other hand, the startup files with
__MSVCRT__ defined are included as crt2.o and dllcrt2.o in Mumit's latest
distribution (the specs file I gave switches over to these startup files),
as are the import libraries libmsvcrt.a, libmsvcrt20.a and libmsvcrt40.a.
These are only minimally (pardon the pun) tested however, so no guarantees.

Colin.

- Colin Peters - colin at fu.is.saga-u.ac.jp
- http://www.geocities.com/Tokyo/Towers/6162/index.html
- Go not to usenet for counsel, for it will say both
- 'yes' and 'no' and 'try another newsgroup'.


-
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