aboutsummaryrefslogtreecommitdiff
path: root/pthreads/builddmc.bat
diff options
context:
space:
mode:
Diffstat (limited to 'pthreads/builddmc.bat')
-rw-r--r--pthreads/builddmc.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/pthreads/builddmc.bat b/pthreads/builddmc.bat
new file mode 100644
index 000000000..3edbaebb3
--- /dev/null
+++ b/pthreads/builddmc.bat
@@ -0,0 +1,9 @@
+; Build the pthreads library with the Digital Mars Compiler
+;
+set DMCDIR=c:\dm
+
+; RELEASE
+%DMCDIR%\bin\dmc -D_WIN32_WINNT -D_MT -DHAVE_CONFIG_H -I.;c:\dm\include -o+all -WD pthread.c user32.lib+kernel32.lib+wsock32.lib -L/impl -L/NODEBUG -L/SU:WINDOWS
+
+; DEBUG
+%DMCDIR%\bin\dmc -g -D_WIN32_WINNT -D_MT -DHAVE_CONFIG_H -I.;c:\dm\include -o+all -WD pthread.c user32.lib+kernel32.lib+wsock32.lib -L/impl -L/SU:WINDOWS