diff options
author | gingold | 2006-08-12 14:03:22 +0000 |
---|---|---|
committer | gingold | 2006-08-12 14:03:22 +0000 |
commit | 34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd (patch) | |
tree | fa29b174d2a31ba011eedb562d4d21e2a411a8ea /translate/mcode | |
parent | 63925c8de8d3171e6b258796e4d167524691490a (diff) | |
download | ghdl-34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd.tar.gz ghdl-34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd.tar.bz2 ghdl-34c8fdb9e08041c7bd3ee344cbd73a9a46ecc4bd.zip |
ghdl 0.25 released
Diffstat (limited to 'translate/mcode')
-rwxr-xr-x | translate/mcode/dist.sh | 13 | ||||
-rw-r--r-- | translate/mcode/winbuild.bat | 9 |
2 files changed, 20 insertions, 2 deletions
diff --git a/translate/mcode/dist.sh b/translate/mcode/dist.sh index 132ba0b..18c09e9 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 c400863..7d5b942 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
+
|