diff options
author | gingold | 2006-03-10 02:15:29 +0000 |
---|---|---|
committer | gingold | 2006-03-10 02:15:29 +0000 |
commit | 402c0b3ca702f0e6c3e1e5589c98f01a21d6d6f0 (patch) | |
tree | eccb325bd340a7fb2265810fe0be11a9b74b41dc /translate/mcode/windows/compile.bat | |
parent | d969ae0b7b1872c931f0da6736e459b6ce6fc981 (diff) | |
download | ghdl-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.bat | 13 |
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 ..
|