summaryrefslogtreecommitdiff
path: root/translate/mcode/windows/compile.bat
diff options
context:
space:
mode:
authorgingold2006-03-10 02:15:29 +0000
committergingold2006-03-10 02:15:29 +0000
commit402c0b3ca702f0e6c3e1e5589c98f01a21d6d6f0 (patch)
treeeccb325bd340a7fb2265810fe0be11a9b74b41dc /translate/mcode/windows/compile.bat
parentd969ae0b7b1872c931f0da6736e459b6ce6fc981 (diff)
downloadghdl-402c0b3ca702f0e6c3e1e5589c98f01a21d6d6f0.tar.gz
ghdl-402c0b3ca702f0e6c3e1e5589c98f01a21d6d6f0.tar.bz2
ghdl-402c0b3ca702f0e6c3e1e5589c98f01a21d6d6f0.zip
windows distribution based on mcode
Diffstat (limited to 'translate/mcode/windows/compile.bat')
-rw-r--r--translate/mcode/windows/compile.bat13
1 files changed, 13 insertions, 0 deletions
diff --git a/translate/mcode/windows/compile.bat b/translate/mcode/windows/compile.bat
new file mode 100644
index 0000000..fafbb25
--- /dev/null
+++ b/translate/mcode/windows/compile.bat
@@ -0,0 +1,13 @@
+mkdir build
+cd build
+
+rem Do the compilation
+gcc -c -O ../grt/grt-cbinding.c
+gcc -c -O ../grt/grt-cvpi.c
+gcc -c -O ../grt/config/clock.c
+gcc -c -O ../ortho/memsegs_c.c
+gcc -c -O -DWITH_GNAT_RUN_TIME ../grt/config/win32.c
+gnatmake -O -gnatn -aI../windows -aI../ghdl -aI../ghdldrv -aI../grt -aI../ortho ghdl_mcode -o ghdl.exe -largs grt-cbinding.o clock.o grt-cvpi.o memsegs_c.o win32.o
+strip ghdl.exe
+
+cd ..