Here's using the included makefile:
C:\msys\1.0\home\hans\cvs\pure-data\externals\iem\comport\comport>nmake pd_nt
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl /W3 /WX /DNT /DPD /nologo /DWIN2000 /I. /I"........\pd"\tcl\include /I"........\pd"\src /I"C:\Program Files\Microsoft Visual Studio\Vc98"\include /c comport.c comport.c comport.c(745) : error C2143: syntax error : missing ';' before 'type' comport.c(938) : error C2143: syntax error : missing ';' before 'type' comport.c(939) : error C2065: 'pch' : undeclared identifier comport.c(939) : error C2100: illegal indirection comport.c(940) : error C2100: illegal indirection comport.c(958) : error C2065: 'comport_float' : undeclared identifier NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop.
Here's how it looks with MinGW:
../iem/comport/comport/comport.c:672: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c: In function `comport_new': ../src/../../iem/comport/comport/comport.c:754: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:756: warning: declaration of 'fd' shadows a previous local ../src/../../iem/comport/comport/comport.c:674: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c: In function `comport_tick': ../src/../../iem/comport/comport/comport.c:804: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:815: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:833: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:847: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:860: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:873: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:886: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:899: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:906: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:922: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/../../iem/comport/comport/comport.c:929: warning: declaration of 'x' shadows a parameter ../src/../../iem/comport/comport/comport.c:670: warning: shadowed declaration is here ../src/comport.c:2: error: syntax error at end of input make: *** [comport.dll] Error 1
________________________________________________________________________ ____
"Terrorism is not an enemy. It cannot be defeated. It's a tactic. It's about as sensible to say we declare war on night attacks and expect we're going to win that war. We're not going to win the war on terrorism." - retired U.S. Army general, William Odom