This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: MSVCRT/threads


Darren Cook <darren@netschool.co.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]