aboutsummaryrefslogtreecommitdiffstats
path: root/translate/mcode
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2006-08-12 14:03:22 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2006-08-12 14:03:22 +0000
commit34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd (patch)
treefa29b174d2a31ba011eedb562d4d21e2a411a8ea /translate/mcode
parent63925c8de8d3171e6b258796e4d167524691490a (diff)
downloadghdl-34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd.tar.gz
ghdl-34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd.tar.bz2
ghdl-34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd.zip
ghdl 0.25 released
Diffstat (limited to 'translate/mcode')
-rwxr-xr-xtranslate/mcode/dist.sh13
-rw-r--r--translate/mcode/winbuild.bat9
2 files changed, 20 insertions, 2 deletions
diff --git a/translate/mcode/dist.sh b/translate/mcode/dist.sh
index 132ba0b59..18c09e91a 100755
--- a/translate/mcode/dist.sh
+++ b/translate/mcode/dist.sh
@@ -161,6 +161,16 @@ ghdlfilter.adb
grt-modules.adb
"
+drv_files="
+ghdlcomp.ads
+ghdlcomp.adb
+foreigns.ads
+foreigns.adb
+ghdlrun.adb
+ghdlrun.ads
+ghdl_mcode.adb
+"
+
for i in $cfiles; do ln -sf $CWD/../../$i $distdir/ghdl/$i; done
for i in $tfiles; do ln -sf $CWD/../$i $distdir/ghdl/$i; done
@@ -172,8 +182,7 @@ for i in $ortho_mcode_files; do
ln -sf $CWD/../../ortho/mcode/$i $distdir/ortho/$i
done
-for i in $ghdl_files ghdlcomp.ads ghdlcomp.adb \
- ghdlrun.adb ghdlrun.ads ghdl_mcode.adb; do
+for i in $ghdl_files $drv_files; do
ln -sf $CWD/../ghdldrv/$i $distdir/ghdldrv/$i
done
diff --git a/translate/mcode/winbuild.bat b/translate/mcode/winbuild.bat
index c4008631b..7d5b942db 100644
--- a/translate/mcode/winbuild.bat
+++ b/translate/mcode/winbuild.bat
@@ -1,3 +1,12 @@
call windows\compile
+if errorlevel 1 goto end
call windows\complib
+if errorlevel 1 goto end
"f:\Program Files\NSIS\makensis" windows\ghdl.nsi
+if errorlevel 1 goto end
+exit /b 0
+
+:end
+echo "Error during compilation"
+exit /b 1
+