agh aye those exports are from the newer msvcr runtime.
especially the security check cookie crap is for checking buffer overflows and was not present in the earlier msvc runtime.
actually you might have luck just renaming the libpthreadGC2.a file to pthreadVC2.lib and link with that in msvc6 since mingw by default uses the old msvc runtime.
dont have the old vc6 compiler anymore but if you feel upto compiling it yourself i can upload the source ?.
just cd into the pthread directory while in the msvc shell and do nmake clean VC-static to build it.
msvc6 does not install a link to its commandline utilities by default so you have to make that yourself, its located in the bin directory of your msvc6 compiler and is named VCVARS32.BAT.
rightclick it and select to make a shortcut, now edit its properties by rightclicking the shortcut and put this before it %comspec% /k so that it looks something like this.
%comspec% /k "C:\Program Files\compiler dir\VC\bin\VCVARS32.BAT" in the destination box. viola you now have access to the commandline toolset.
If this is to much for you to take in ill see if i can modify the msvc6 project file so that it gets the right flags for creating a library, normally its setup to create a dll by default.
ok heres the source code
http://sourceforge.net/projects/cbadvan ... z/download try and see if the msvc 6 dsw project works, i changed the output type to output a static library instead of a dll and it statically links to the msvc runtime.
Productivity is a state of mind.