From: Earnie B. <ear...@ya...> - 2001-04-02 19:02:23
|
Michael Scheibler wrote: > > I need cygwin's bash in order to work properly. I was using mingw in a > separate directory and was resetting my PATH environment variable for > it. > But now I heard that it would be just enough to run cygwin's gcc with > -mno-cygwin to actually have mingw. > I tried it and found out that libmsvcrt.a is not automatically linked > with my binaries. You need to upgrade to a newer version of Cygwin GCC. You should have version gcc-2.95.2-9 or better. > When I compared the two specs-files I saw that in mingw-specs there is a > libmsvcrt.a mentioned while in cygwin's it is not. Is this a bug in > cygwin's distribution? > Cygwin's GCC until recently used libcrtdll.a instead of libmsvcrt.a. I have successfully caused the switch to libmsvcrt.a but only for newer Cygwin releases of GCC. > Now it is all ok, if I manually add msvcrt to my linked libs list. But > there are three different versions in both cygwin/mingw and original > mingw: > libmsvcrt.a, libmsvcrt20.a and libmsvcrt40.a. > Which one is "right" or which one is "best"? > libmsvcrt.a is what should be used. The other two are identical, IIRC. Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |