[Mingw-users] Problem with msvcrt60 vs. msvcr71 vs. strdup/free
Danny Smith
dannysmith at clear.net.nz
Tue Dec 21 15:42:33 EST 2004
From: "Gerhard Haering"
>Is there any way I can force mingw to not link in msvcr for things
>like strdup?
mdkdir /mingw/lib/msvcr71
cp -f libmsvcr71.a /mingw/lib/msvcr71/libmsvcrt.a
gcc ${OBJECTS} -L /mingw/lib/msvcr71
Or you could hand edit gcc's specs file, replacing -lmsvcrt with -lwhatever..
Patches to facilitate switching to an alternative msvcr*.dll could be submitted
to gcc.
Danny
More information about the Python-list
mailing list