* support/scripts/sdcc.nsi: move ucSim executables to a separate section
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 4 Sep 2006 19:49:53 +0000 (19:49 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 4 Sep 2006 19:49:53 +0000 (19:49 +0000)
* support/scripts/sdcc_cygwin_mingw32: don't disable ucsim,
  -mno-cygwin is a part of the compiler name
* support/scripts/sdcc_mingw32: don't disable ucsim

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4357 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
support/scripts/sdcc.nsi
support/scripts/sdcc_cygwin_mingw32
support/scripts/sdcc_mingw32

index fb4b13dc5e3d79031b26fa2e75f0f61bfc768ac9..a815233700c4461b2e1b67bc0d048c036a5e8bfa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-09-04 Borut Razem <borut.razem AT siol.net>
+
+       * support/scripts/sdcc.nsi: move ucSim executables to a separate section
+       * support/scripts/sdcc_cygwin_mingw32: don't disable ucsim,
+         -mno-cygwin is a part of the compiler name
+       * support/scripts/sdcc_mingw32: don't disable ucsim
+
 2006-09-03 Borut Razem <borut.razem AT siol.net>
 
        * sdcc.spec: corrected for 2.6.0. Thanks to Christer Weinigel.
index d9bf571ea31b685e952307b201c8a42c74dae174..0cf7c9faa30d2b74ceac8507bef7da6bbe10d5f5 100644 (file)
@@ -60,9 +60,9 @@ SetCompressor /SOLID lzma
 !system "unix2dos ${SDCC_ROOT}\doc\ChangeLog_head.txt" = 0
 !system "unix2dos ${SDCC_ROOT}\doc\README.TXT" = 0
 
-InstType "Full (Bin, Doc, Lib, Src)"
-InstType "Medium (Bin, Doc, Lib)"
-InstType "Compact (Bin, Doc)"
+InstType "Full (Bin, ucSim, Doc, Lib, Src)"
+InstType "Medium (Bin, ucSim, Doc, Lib)"
+InstType "Compact (Bin, ucSim, Doc)"
 
 ;--------------------------------
 ;Variables
@@ -140,7 +140,28 @@ SectionEnd
 Section "SDCC application files"
   SectionIn 1 2 3 RO
   SetOutPath "$INSTDIR\bin"
-  File "${SDCC_ROOT}\bin\*.exe"
+  File "${SDCC_ROOT}\bin\as-gbz80.exe"
+  File "${SDCC_ROOT}\bin\as-hc08.exe"
+  File "${SDCC_ROOT}\bin\as-z80.exe"
+  File "${SDCC_ROOT}\bin\asx8051.exe"
+  File "${SDCC_ROOT}\bin\aslink.exe"
+  File "${SDCC_ROOT}\bin\link-gbz80.exe"
+  File "${SDCC_ROOT}\bin\link-hc08.exe"
+  File "${SDCC_ROOT}\bin\link-z80.exe"
+  File "${SDCC_ROOT}\bin\makebin.exe"
+  File "${SDCC_ROOT}\bin\packihx.exe"
+  File "${SDCC_ROOT}\bin\sdcc.exe
+  File "${SDCC_ROOT}\bin\sdcclib.exe
+  File "${SDCC_ROOT}\bin\sdcpp.exe
+SectionEnd
+
+Section "ucSim application files"
+  SectionIn 1 2 3
+  SetOutPath "$INSTDIR\bin"
+  File "${SDCC_ROOT}\bin\s51.exe"
+  File "${SDCC_ROOT}\bin\savr.exe"
+  File "${SDCC_ROOT}\bin\shc08.exe"
+  File "${SDCC_ROOT}\bin\sz80.exe"
 SectionEnd
 
 Section "SDCC documentation"
index 28fbc31dd2be4d05a1ce44fc0ddd340dc81bd55e..2c9dd210426e8de8da58cd9a07d47d9a0eb0fb71 100755 (executable)
@@ -2,14 +2,13 @@
 # Script to "cross" compile with mingw32 under Cygwin
 
 ./configure -C \
-CFLAGS="-mno-cygwin -O2" \
-LDFLAGS="-mno-cygwin" \
 --prefix="/sdcc" \
 --datadir="/sdcc" \
 docdir="/sdcc/doc" \
 include_dir_suffix="include" \
 lib_dir_suffix="lib" \
 sdccconf_h_dir_separator="\\\\" \
---disable-ucsim
+CC="gcc -mno-cygwin" \
+CXX="g++ -mno-cygwin"
 
 make 2>&1 | tee make.log
index 86e6784dae1f9339cb6ca23daeb6d152f1fc74a3..45848380e0d1676faf7d27272b87d8a49e399600 100755 (executable)
@@ -15,7 +15,6 @@ include_dir_suffix=include \
 lib_dir_suffix=lib \
 sdccconf_h_dir_separator=\\\\ \
 --disable-device-lib \
---disable-ucsim \
 --host=i586-mingw32msvc --build=unknown-unknown-linux-gnu"
 
 ./configure $SDCCCONFIGUREFLAGS