Browse Source

* Create "latest" symlinks to the pool's A68k, binutils and gcc (symlinks handling is a feature of SVN).
* Modify the install scripts and readmes for GCC4TI:
* TIGCC -> GCC4TI at a number of places;
* suggest installation to /usr/local/share instead of /usr/local. The former is, in my experience, the default installation location for most programs compiled outside the packaging system.
Tested on my own SimplyMEPIS 8 64-bit, on which I had never installed TIGCC or GCC4TI before.

git-svn-id: file:///var/svn/tigccpp/trunk@1329 9552661e-59e3-4036-b4f2-dbe53926924f

debrouxl 15 years ago
parent
commit
d0f0076c99

+ 36 - 54
tigcc-linux/INSTALL

@@ -1,4 +1,4 @@
-HOW TO COMPILE AND INSTALL TIGCC FROM SOURCE
+HOW TO COMPILE AND INSTALL GCC4TI FROM SOURCE
 ============================================
 
 Please note: read README.linux first. The instructions below apply only to
@@ -10,10 +10,10 @@ REQUIREMENTS
 ------------
 
 You must have the following programs before you attempt
-to install tigcc-unix.
+to install gcc4ti-unix.
 
 REQUIRED:
-	1. gcc 2.95 or later (other compilers are NOT supported)
+	1. gcc 2.95 or later (other compilers might work, but are NOT supported)
 
 	2. binutils 2.8 or later (gnu or equivalent --
 	   ld, ar, as, etc.)
@@ -45,42 +45,38 @@ OPTIONAL:
 If you run into any problems, please contact me and let me know
 where the install failed...
 
-If you want to recompile TIGCC-Linux, you will need to dowload:
-	gcc-core-4.1-20060728.tar.bz2 (gcc-core, full gcc may not compile !)
+If you want to recompile GCC4TI-Linux, you will need to dowload:
+	gcc-core-4.1.2.tar.bz2 (gcc-core, full gcc may not compile !)
 	binutils-2.16.1.tar.bz2
 
 Depending on your machine, compilation can take some time !
 
 
-INSTALLING TIGCC FOR UNIX
+INSTALLING GCC4TI FOR UNIX
 -------------------------
 
 The installation should be very simple. The package has worked on
 Linux, Solaris 8, and SGI IRIX 6 to try and make the scripts
-compatible. UN*X provides some things better, some things worse. Let we know
+compatible. UN*X provides some things better, some things worse. Let us know
 if you have a problem with the worse...
 
 First, extract the source to a directory of your choosing such as /tmp.
 
 Unpack binutils & gcc-core packages to the download/ directory as this, and
-create symlinks download/gcc.ti and download/binutils.ti pointing to them.
-Note that the sources on tigcc.ticalc.org ONLY support Linux/x86 and Windows, so
-you will need the COMPLETE GCC (gcc-core only, not the whole compiler
-collection) and Binutils sources from a GNU mirror for all other platforms. So,
-you should have done it like this:
-
-	mkdir /tmp/tigcc-src
-	cd /tmp/tigcc-src
+create symlinks download/gcc.ti and download/binutils.ti pointing to them:
+
+	mkdir /tmp/gcc4ti-src
+	cd /tmp/gcc4ti-src
 	# substitute the directory you are using for /tmp
-	bunzip2 tigcc-src.tar.bz2
-	tar xfv tigcc-src.tar
+	bunzip2 gcc4ti-src.tar.bz2
+	tar xfv gcc4ti-src.tar
 	mkdir download
 	cd download
-	bunzip2 binutils-2.16.1.tar.bz2 gcc-core-4.1-20060728.tar.bz2
+	bunzip2 binutils-2.16.1.tar.bz2 gcc-core-4.1.2.tar.bz2
 	tar xvf binutils-2.16.1.tar
-	tar xvf gcc-core-4.0.2.tar
+	tar xvf gcc-core-4.1.2.tar
 	ln -s binutils-2.16.1 binutils.ti
-	ln -s gcc-4.1-20060728 gcc.ti
+	ln -s gcc-4.1.2 gcc.ti
 	cd ..
 
 At this point, you have 2 options:
@@ -96,12 +92,12 @@ KDE installed, you can use:
 to tell the script to use the text-mode (curses) dialog instead of kdialog.
 
 You will be prompted for:
-* the destination directory you want to install TIGCC to ($TIGCC)
-* the bootstrap compiler ($CC) you want to compile TIGCC with (usually "gcc")
-* the optimization flags ($CFLAGS) you want to compile TIGCC with (read the GCC
+* the destination directory you want to install GCC4TI to ($TIGCC)
+* the bootstrap compiler ($CC) you want to compile GCC4TI with (usually "gcc")
+* the optimization flags ($CFLAGS) you want to compile GCC4TI with (read the GCC
   documentation or just use the defaults)
 
-The wizard will ask you whether you want to apply the TIGCC patch. The answer is
+The wizard will ask you whether you want to apply the GCC4TI patch. The answer is
 usually "Yes". It will be "No" only if you are rebuilding the same source for a
 second (or more) time.
 
@@ -118,9 +114,9 @@ you can also run envreg by hand afterwards.)
 ----------------------------------
 
 Now, set the environment variable TIGCC to the directory you want to install
-TIGCC into (for example /usr/local/tigcc). You need to set this variable in your
-profile, because the compilation stage needs it to find some tools and tigcc
-front-end needs it to find the header files.
+GCC4TI into (for example /usr/local/share/gcc4ti). You need to set this variable
+in your profile, because the compilation stage needs it to find some tools and
+tigcc front-end needs it to find the header files.
 
 If you use bash, add it to your .bashrc file in your home
 directory. You could also use your .profile or .login if
@@ -131,12 +127,12 @@ I've never used korn shell. You're on your own if you do.
 
 For bash/sh users
 
-	export TIGCC=/usr/local/tigcc
+	export TIGCC=/usr/local/share/gcc4ti
 	export PATH=$PATH:$TIGCC/bin
 
 For csh/tcsh users
 
-	setenv TIGCC /usr/local/tigcc
+	setenv TIGCC /usr/local/share/gcc4ti
 	set path=($path $TIGCC/bin)
 
 I've had problems using setenv to reset the path in tcsh.
@@ -157,9 +153,9 @@ You only need to resource the file you changed.
 -----------------
 
 The hard part should be over. Now, just change into the directory
-you extracted tigcc into
+you extracted GCC4TI into
 
-	cd /tmp/tigcc-src
+	cd /tmp/gcc4ti-src
 
 Optionally, you can now rebuild the HTML documentation from source: the required
 source code is in tigcclib/doc/source.tar.bz2 in your source tree. See the last
@@ -177,21 +173,7 @@ And run the installation script...
 	cd scripts; ./Install_All
 
 Assuming you have all the required tools, you should have yourself
-a tigcc build in 5 - 60 minutes.
-
-I don't know how much time it will take you. It took less than
-10 minutes on a Linux system with a Pentium II 450 and 128 MB RAM.
-But, it took 45 minutes on a Linux system with a K6 233 and 112MB RAM.
-
-It took nearly 40 minutes on a Solaris Sparc 400 with 256 MB RAM,
-but it had to read off a network with many other users, so that
-may have had some impact on compile time.
-
-It took over an hour on an SGI O2 machine. I would assume it's due
-to the slow SGI c compiler, which binutils and gcc will try and
-compile themselves with. Since you have a recent version of gcc,
-try setting CC=gcc and CXX=g++ to speed things up. You must have
-gcc 2.95 or above for this to work.
+a GCC4TI build in 5 - 60 minutes.
 
 I hope this installation goes smoothly for you.
 
@@ -203,9 +185,9 @@ development purposes. You can use this if you experience some problems with the
 automated script.
 
 At first, you will have to register a variable depending on the location you
-want to install TIGCC
+want to install GCC4TI
 
-	export TIGCC=/usr/local/tigcc
+	export TIGCC=/usr/local/share/gcc4ti
 	export PATH=$PATH:$TIGCC/bin
 	export CFLAGS='-Os -s'
 
@@ -218,17 +200,17 @@ Next, compile binutils and gcc. This may take a while...
 
 	./Install_step_2
 
-If everything went correctly, you now should have a working Tigcc for Linux
+If everything went correctly, you now should have a working GCC4TI for Linux
 compiler. For installing the TIGCC library, simply launch:
 
 	./Install_step_3
 
-If you want to be able to use it, you should add /usr/local/tigcc to your
-PATH. The compiler is named m68k-coff-gcc, to avoid namecollision with your
-system's gcc. The other utilities follow the same naming.
+If you want to be able to use it, you should add /usr/local/share/gcc4ti to
+your PATH. The compiler is named m68k-coff-gcc, to avoid namecollision with
+your system's gcc. The other utilities follow the same naming.
 
-You may need the TIGCC Tools Suite utilities (required for using the tigcc
-front-end). Simply do:
+You need the TI-68k Developer Utilities (several are required for using the
+tigcc front-end). Simply do:
 
 	./Install_step_4
 

+ 9 - 9
tigcc-linux/Install.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# Install.sh - TIGCC binary installation wizard
+# Install.sh - GCC4TI binary installation wizard
 #
 # Copyright (C) 2004-2005 Kevin Kofler
 #
@@ -26,9 +26,9 @@ fi
 if [ "$DIALOG" = none ]
 then
 
-echo "TIGCC Installation Wizard"
+echo "GCC4TI Installation Wizard"
 if [ -z "$TIGCC" ]
-then TIGCC="/usr/local/tigcc"
+then TIGCC="/usr/local/share/gcc4ti"
 fi
 echo -n "Destination directory ($TIGCC): "
 read TIGCCnew
@@ -43,7 +43,7 @@ OLDPWD="`pwd`"
 # Unpack the binaries to the destination directory
 mkdir $TIGCC
 cd $TIGCC
-tar -x -j --no-same-owner --same-permissions -f "$OLDPWD/tigcc_bin.tar.bz2"
+tar -x -j --no-same-owner --same-permissions -f "$OLDPWD/gcc4ti_bin.tar.bz2"
 
 # Now offer to install environment variables
 echo -n "Add environment settings (\$TIGCC, \$PATH) to bashrc [Y/n]? "
@@ -53,7 +53,7 @@ if [ -z "$AddEnvSettings" -o "$AddEnvSettings" = y -o "$AddEnvSettings" = Y ]
 then { $TIGCC/bin/envreg; echo "Done. You must restart bash for the new environment settings to take effect."; exit 0; }
 fi
 
-echo "Done. Make sure you set \$TIGCC to \"$TIGCC\" and add \$TIGCC/bin to your \$PATH before using TIGCC."
+echo "Done. Make sure you set \$TIGCC to \"$TIGCC\" and add \$TIGCC/bin to your \$PATH before using GCC4TI."
 exit 0
 fi
 
@@ -78,9 +78,9 @@ else DASHDASH="";BACKSLASH="\\"
 fi
 
 if [ -z "$TIGCC" ]
-then TIGCC="/usr/local/tigcc"
+then TIGCC="/usr/local/share/gcc4ti"
 fi
-TIGCC="`$DIALOG --title "TIGCC Installation Wizard" --inputbox "Destination directory:" $DLGSIZE $DASHDASH "$TIGCC"`"
+TIGCC="`$DIALOG --title "GCC4TI Installation Wizard" --inputbox "Destination directory:" $DLGSIZE $DASHDASH "$TIGCC"`"
 if [ $? != 0 ]
 then { echo Install.sh: Canceled by user; exit 1; }
 fi
@@ -95,6 +95,6 @@ cd $TIGCC
 tar -x -j --no-same-owner --same-permissions -f "$OLDPWD/tigcc_bin.tar.bz2"
 
 # Now offer to install environment variables
-$DIALOG --title "TIGCC Installation Wizard" --yesno "Add environment settings ($BACKSLASH\$TIGCC, $BACKSLASH\$PATH) to bashrc?" $DLGSIZE && { $TIGCC/bin/envreg; $DIALOG --title "TIGCC Installation Wizard" --msgbox "Done. You must restart bash for the new environment settings to take effect." $DLGSIZE; exit 0; }
+$DIALOG --title "GCC4TI Installation Wizard" --yesno "Add environment settings ($BACKSLASH\$TIGCC, $BACKSLASH\$PATH) to bashrc?" $DLGSIZE && { $TIGCC/bin/envreg; $DIALOG --title "GCC4TI Installation Wizard" --msgbox "Done. You must restart bash for the new environment settings to take effect." $DLGSIZE; exit 0; }
 
-$DIALOG --title "TIGCC Installation Wizard" --msgbox "Done. Make sure you set $BACKSLASH\$TIGCC to $BACKSLASH\"$TIGCC$BACKSLASH\" and add $BACKSLASH\$TIGCC/bin to your $BACKSLASH\$PATH before using TIGCC." $DLGSIZE
+$DIALOG --title "GCC4TI Installation Wizard" --msgbox "Done. Make sure you set $BACKSLASH\$TIGCC to $BACKSLASH\"$TIGCC$BACKSLASH\" and add $BACKSLASH\$TIGCC/bin to your $BACKSLASH\$PATH before using GCC4TI." $DLGSIZE

+ 30 - 37
tigcc-linux/README.linux

@@ -1,4 +1,4 @@
-LINUX/UNIX/OS X PLATFORM SPECIFIC NOTES FOR TIGCC:
+LINUX/UNIX/OS X PLATFORM SPECIFIC NOTES FOR GCC4TI:
 ==================================================
 
 Note
@@ -7,7 +7,7 @@ Note
 	The current release SHOULD WORK on all Linux/Unix platforms, including
 	MacOS X.
 	Official binaries are provided ONLY for Linux/x86, so you will need to
-	compile TIGCC from source on other platforms, unless an unofficial
+	compile GCC4TI from source on other platforms, unless an unofficial
 	binary is made available for your platform.
 
 
@@ -22,6 +22,8 @@ Copyright of the port:
 	  Copyright (C) 2001-2002 Romain Liévin
 	  Copyright (C) 2002-2005 Kevin Kofler
 	  Some parts from John David Ratliff (TechnoPlaza tutorials)
+	  GCC4TI for Linux/Unix - GCC port targeting the TI89/89Ti/92+/V200
+	  Copyright (C) 2008-2009 Lionel Debroux
 
 
 History
@@ -57,20 +59,17 @@ History
 	(IDE still missing, everything else done). See
 	http://tigcc.ticalc.org/linux/ for the current status of the project.
 
+	Lionel Debroux, Patrick Pelissier, Manoel Trapier:
+        This is the *nix version of GCC4TI.
+
 
 Installation
 ------------
 
-	Installing from the binary RPM:
-	-------------------------------
-
-	* into /usr/local/tigcc (requires root privileges): rpm -ivh tigcc*.rpm
-	* into ~/tigcc (user HOME dir): rpm -ivh tigcc*.rpm --prefix ~/tigcc
-
 	Installing from binaries with the setup wizard:
 	-----------------------------------------------
 
-	* Download tigcc_bin.tar.bz2 and Install.sh into the same directory.
+	* Download gcc4ti_bin.tar.bz2 and Install.sh into the same directory.
 	* Make sure Install.sh is executable:
 	  chmod 755 Install.sh
 	* Run Install.sh:
@@ -82,7 +81,7 @@ Installation
 	  kdialog.
 
 	  You will be prompted for the destination directory you want to install
-	  TIGCC to ($TIGCC). Then the wizard will extract the files there.
+	  GCC4TI to ($TIGCC). Then the wizard will extract the files there.
 	  When done, the wizard will ask you whether you want to add your $TIGCC
 	  setting to bashrc. If you answer "Yes", you are done here, you only
 	  need to restart bash. If you prefer to do things by hand, answer "No"
@@ -92,13 +91,13 @@ Installation
 	Installing from binaries without the setup wizard:
 	--------------------------------------------------
 
-	First, copy your full tigcc binary package to '/'. You can use a
+	First, copy your full GCC4TI binary package to '/'. You can use a
 	directory of your chosing but you will have to move the uncompressed
 	files.
 	Then, install it by:
 
-		bunzip2 tigcc_bin.tar.bz2
-		tar xvf tigcc_bin.tar
+		bunzip2 gcc4ti_bin.tar.bz2
+		tar xvf gcc4ti_bin.tar
 
 	Now, set the environment variable TIGCC to the directory you
 	extracted into. You need to set this variable in your profile,
@@ -113,12 +112,12 @@ Installation
 
 	For bash/sh users
 
-		export TIGCC=/usr/local/tigcc
+		export TIGCC=/usr/local/share/gcc4ti
 		export PATH=$PATH:$TIGCC/bin
 
 	For csh/tcsh users
 
-		setenv TIGCC /usr/local/tigcc
+		setenv TIGCC /usr/local/share/gcc4ti
 		set path=($path $TIGCC/bin)
 
 	I've had problems using setenv to reset the path in tcsh.
@@ -152,38 +151,33 @@ Available programs
 - gcc: GNU compiler
 - ld-tigcc: TIGCC linker
 - patcher: patches .s files generated by gcc (mainly for internal use)
-- tigcc: the front-end for using TIGCC
-- tprbuilder: a program for building .tpr files (Tigcc PRoject).
-- ttpack: ExePack support from the TIGCC Tools Suite
-
-Only tigcc and tprbuilder are intended to be called directly. All other tools
-are intended to be called through the tigcc frontend only and may soon vanish
-from the default PATH. The TIGCC Tools Suite is no longer bundled with
-TIGCC/*nix, it is available separately from ticalc.org. The ttpack and ttbin2oth
-components from the TIGCC Tools Suite required for ExePack compression support
-are intended only for use through tigcc --pack, use the separate TIGCC Tools
-Suite release if you want to call them directly, as the bundled versions may soon
-vanish from the default PATH.
-
-In addition, there is a shell script called tigccdoc, which will open the HTML
-documentation in QT Assistant 3.2 or higher, a help viewer offering the same
-features Microsoft HTML Help offers under Windows: content hierarchy, alphabetic
-index and full-text search. The GPL version of QT Assistant can be obtained for
+- tigcc: the front-end for using GCC4TI
+- tprbuilder: a program for building .tpr files (TIGCC PRoject).
+- tt*: TI-68k Developer Utilities (formerly TIGCC Tools Suite)
+
+Only tigcc, tprbuilder and tt* are intended to be called directly. All other
+tools are intended to be called through the tigcc frontend only.
+The TI-68k Developer Utilities are also available separately from tict.ticalc.org.
+
+In addition, there is a shell script called gcc4tidoc, which will open the HTML
+documentation in QT Assistant 3.x, a help viewer offering the same features
+Microsoft HTML Help offers under Windows: content hierarchy, alphabetic index
+and full-text search. The GPL version of QT Assistant can be obtained for
 free from http://www.trolltech.com . For binary packages, check with your
 Linux distributor or operating system vendor.
 
 For QT Assistant versions older than 3.2, you can manually add qt-assistant.dcf
 to your documentation sources. However, this has the disadvantage that the index
 and the full-text search will mix entries from the QT documentation with entries
-from the TIGCC documentation, so it is recommended to use QT Assistant 3.2 and
-tigccdoc instead.
+from the GCC4TI documentation, so it is recommended to use QT Assistant 3.2 and
+gcc4tidoc instead.
 
 
 Usage
 -----
 
 	Simply call tigcc and pass your filenames and any desired flags (the
-	flags listed here are the minimum recommended flags for all TIGCC
+	flags listed here are the minimum recommended flags for all GCC4TI
 	programs):
 
 	'tigcc -Os -ffunction-sections -fdata-sections --optimize-code
@@ -200,7 +194,7 @@ Examples
 --------
 
 	You will find in the examples directory some projects which come from 
-	the TIGCC/Win32 SDK. You can build them by:
+	the GCC4TI/Win32 SDK. You can build them by:
 
 		'tprbuilder myproject.tpr'
 
@@ -232,4 +226,3 @@ Thanks
 	  Reichelt, Zeljko Juric, ...) and the previous maintainers of TIGCC for
 	  Linux (Henri Moilanen, Romain Liévin) for the excellent work done,
 	  which allows me to release this package.
-

+ 4 - 4
tigcc-linux/README.osX

@@ -1,12 +1,12 @@
-DARWIN / MAC OS X PLATFORM SPECIFIC NOTES FOR TIGCC:
+DARWIN / MAC OS X PLATFORM SPECIFIC NOTES FOR GCC4TI:
 ====================================================
 
 Purpose of this document
 ------------------------
 
 This document gives installation instructions specific to the Darwin / Mac OS X
-platform. This is necessary because, while compiling TIGCC is easy on most Unix-
-style operating systems, and while TIGCC can also be compiled on Darwin / OS X,
+platform. This is necessary because, while compiling GCC4TI is easy on most Unix-
+style operating systems, and while GCC4TI can also be compiled on Darwin / OS X,
 installation on Darwin / OS X is unfortunately not an easy task. Please make
 sure you:
 1. read README, README.linux (which also applies to other Unix-style operating
@@ -16,7 +16,7 @@ sure you:
    once
 4. follow each of the steps given here
 5. report any problems you encounter to me. I do not have a Macintosh to test
-   TIGCC on (the only platforms I can test on are Windows/x86 and Linux/x86), so
+   GCC4TI on (the only platforms I can test on are Windows/x86 and Linux/x86), so
    I have to rely on user reports for other platforms.
 
 

+ 9 - 8
tigcc-linux/debian/rules

@@ -57,16 +57,17 @@ install: build
 	dh_clean -k 
 	dh_installdirs
 
-	# Add here commands to install the package into debian/tigcc.
-	#$(MAKE) DESTDIR=$(CURDIR)/debian/tigcc install
+	# Add here commands to install the package into debian/gcc4ti.
+	#$(MAKE) DESTDIR=$(CURDIR)/debian/gcc4ti install
 	# No install.
-	mkdir -p /tmp/tigcc
-	export TIGCC=/tmp/tigcc
+	mkdir -p /tmp/gcc4ti
+	export TIGCC=/tmp/gcc4ti
 	#./scripts/Install_All
-	mkdir -p $(CURDIR)/debian/tigcc/usr
-	mkdir -p $(CURDIR)/debian/tigcc/usr/local
-	mkdir -p $(CURDIR)/debian/tigcc/usr/local/tigcc
-	cp -R /tmp/tigcc $(CURDIR)/debian/tigcc/usr/local
+	mkdir -p $(CURDIR)/debian/gcc4ti/usr
+	mkdir -p $(CURDIR)/debian/gcc4ti/usr/local
+	mkdir -p $(CURDIR)/debian/gcc4ti/usr/local/share
+	mkdir -p $(CURDIR)/debian/gcc4ti/usr/local/share/gcc4ti
+	cp -R /tmp/gcc4ti $(CURDIR)/debian/gcc4ti/usr/local/share
 
 # Build architecture-independent files here.
 binary-indep: build install

+ 1 - 1
tigcc-linux/debian/tigcc.dirs

@@ -1 +1 @@
-usr/local/tigcc
+usr/local/share/gcc4ti

+ 19 - 18
tigcc-linux/scripts/Install

@@ -1,5 +1,6 @@
 #!/bin/bash
-# Install - TIGCC source installation wizard
+# Install - GCC4TI source installation wizard
+# (created from TIGCC source installation wizard)
 #
 # Copyright (C) 2004 Kevin Kofler
 #
@@ -26,9 +27,9 @@ fi
 if [ "$DIALOG" = none ]
 then
 
-echo "TIGCC Installation Wizard"
+echo "GCC4TI Installation Wizard"
 if [ -z "$TIGCC" ]
-then TIGCC="/usr/local/tigcc"
+then TIGCC="/usr/local/share/gcc4ti"
 fi
 echo -n "Destination directory ($TIGCC): "
 read TIGCCnew
@@ -62,14 +63,14 @@ then CFLAGS="$CFLAGSnew"
 fi
 export CFLAGS
 
-# Apply TIGCC patch if desired
-echo -n "Apply TIGCC patch [Y/n/c]? "
-read -n 1 ApplyTIGCCPatch
+# Apply GCC4TI patch if desired
+echo -n "Apply GCC4TI patch [Y/n/c]? "
+read -n 1 ApplyGCC4TIPatch
 echo
-if [ "$ApplyTIGCCPatch" = c -o "$ApplyTIGCCPatch" = C ]
+if [ "$ApplyGCC4TIPatch" = c -o "$ApplyGCC4TIPatch" = C ]
 then { echo Install: Canceled by user; exit 1; }
 fi
-if [ -z "$ApplyTIGCCPatch" -o "$ApplyTIGCCPatch" = y -o "$ApplyTIGCCPatch" = Y ]
+if [ -z "$ApplyGCC4TIPatch" -o "$ApplyGCC4TIPatch" = y -o "$ApplyGCC4TIPatch" = Y ]
 then ./Install_step_1
 fi
 
@@ -84,7 +85,7 @@ if [ -z "$AddEnvSettings" -o "$AddEnvSettings" = y -o "$AddEnvSettings" = Y ]
 then { $TIGCC/bin/envreg; echo "Done. You must restart bash for the new environment settings to take effect."; exit 0; }
 fi
 
-echo "Done. Make sure you set \$TIGCC to \"$TIGCC\" and add \$TIGCC/bin to your \$PATH before using TIGCC."
+echo "Done. Make sure you set \$TIGCC to \"$TIGCC\" and add \$TIGCC/bin to your \$PATH before using GCC4TI."
 exit 0
 fi
 
@@ -109,9 +110,9 @@ else DASHDASH="";BACKSLASH="\\"
 fi
 
 if [ -z "$TIGCC" ]
-then TIGCC="/usr/local/tigcc"
+then TIGCC="/usr/local/share/gcc4ti"
 fi
-TIGCC="`$DIALOG --title "TIGCC Installation Wizard" --inputbox "Destination directory:" $DLGSIZE $DASHDASH "$TIGCC"`"
+TIGCC="`$DIALOG --title "GCC4TI Installation Wizard" --inputbox "Destination directory:" $DLGSIZE $DASHDASH "$TIGCC"`"
 if [ $? != 0 ]
 then { echo Install: Canceled by user; exit 1; }
 fi
@@ -119,7 +120,7 @@ export TIGCC
 if [ -z "$CC" ]
 then CC="gcc"
 fi
-CC="`$DIALOG --title "TIGCC Installation Wizard" --inputbox "Bootstrap compiler:" $DLGSIZE $DASHDASH "$CC"`"
+CC="`$DIALOG --title "GCC4TI Installation Wizard" --inputbox "Bootstrap compiler:" $DLGSIZE $DASHDASH "$CC"`"
 if [ $? != 0 ]
 then { echo Install: Canceled by user; exit 1; }
 fi
@@ -127,26 +128,26 @@ export CC
 
 # Check if this is Apple GCC
 if [ ! -z "`$CC -v 2>&1 | grep Apple`" ]
-then $DIALOG --title "TIGCC Installation Wizard" --msgbox "Apple GCC detected, adding -no-cpp-precomp and -DHAVE_DESIGNATED_INITIALIZERS=0 to \$CC" $DLGSIZE
+then $DIALOG --title "GCC4TI Installation Wizard" --msgbox "Apple GCC detected, adding -no-cpp-precomp and -DHAVE_DESIGNATED_INITIALIZERS=0 to \$CC" $DLGSIZE
 export CC="$CC -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0"
 fi
 
 if [ -z "$CFLAGS" ]
 then CFLAGS="-Os -s -fno-exceptions -fomit-frame-pointer"
 fi
-CFLAGS="`$DIALOG --title "TIGCC Installation Wizard" --inputbox "Optimization flags:" $DLGSIZE $DASHDASH "$CFLAGS"`"
+CFLAGS="`$DIALOG --title "GCC4TI Installation Wizard" --inputbox "Optimization flags:" $DLGSIZE $DASHDASH "$CFLAGS"`"
 if [ $? != 0 ]
 then { echo Install: Canceled by user; exit 1; }
 fi
 export CFLAGS
 
-# Apply TIGCC patch if desired
-$DIALOG --title "TIGCC Installation Wizard" --yesno "Apply TIGCC patch?" $DLGSIZE && ./Install_step_1
+# Apply GCC4TI patch if desired
+$DIALOG --title "GCC4TI Installation Wizard" --yesno "Apply GCC4TI patch?" $DLGSIZE && ./Install_step_1
 
 # Complete the installation
 ./Install_All_nopatch
 
 # Now offer to install environment variables
-$DIALOG --title "TIGCC Installation Wizard" --yesno "Add environment settings ($BACKSLASH\$TIGCC, $BACKSLASH\$PATH) to bashrc?" $DLGSIZE && { $TIGCC/bin/envreg; $DIALOG --title "TIGCC Installation Wizard" --msgbox "Done. You must restart bash for the new environment settings to take effect." $DLGSIZE; exit 0; }
+$DIALOG --title "GCC4TI Installation Wizard" --yesno "Add environment settings ($BACKSLASH\$TIGCC, $BACKSLASH\$PATH) to bashrc?" $DLGSIZE && { $TIGCC/bin/envreg; $DIALOG --title "GCC4TI Installation Wizard" --msgbox "Done. You must restart bash for the new environment settings to take effect." $DLGSIZE; exit 0; }
 
-$DIALOG --title "TIGCC Installation Wizard" --msgbox "Done. Make sure you set $BACKSLASH\$TIGCC to $BACKSLASH\"$TIGCC$BACKSLASH\" and add $BACKSLASH\$TIGCC/bin to your $BACKSLASH\$PATH before using TIGCC." $DLGSIZE
+$DIALOG --title "GCC4TI Installation Wizard" --msgbox "Done. Make sure you set $BACKSLASH\$TIGCC to $BACKSLASH\"$TIGCC$BACKSLASH\" and add $BACKSLASH\$TIGCC/bin to your $BACKSLASH\$PATH before using GCC4TI." $DLGSIZE

+ 3 - 3
tigcc-linux/scripts/Install_step_1

@@ -2,7 +2,7 @@
 #
 # Apply the patch to the original sources (download directory)
 #
-echo TIGCC script: Applying patch to original sources...
+echo GCC4TI script: Applying patch to original sources...
 cd ../download; 
 # Binutils
 echo Patching binutils...
@@ -27,7 +27,7 @@ rm -f -r include/regs
 rm -f -r ld
 rm -f -r opcodes/po
 rm -f -r texinfo
-echo Applying TIGCC patch
+echo Applying GCC4TI patch
 patch -p1 < ../../sources/gcc/gas-2.16-tigcc-patch.diff
 cd ..
 # Gcc
@@ -53,6 +53,6 @@ rm -f -r gprof
 rm -f -r include/nlm
 rm -f -r include/regs
 rm -f -r texinfo
-echo Applying TIGCC patch
+echo Applying GCC4TI patch
 patch -p1 < ../../sources/gcc/gcc-4.1-tigcc-patch.diff
 echo Done.

+ 1 - 1
tigcc-linux/scripts/Install_step_3

@@ -4,7 +4,7 @@
 # For this, 2 directories have to be created. One (include) contains header
 # files, the other (lib) contains libraries.
 #
-echo TIGCC script: Installing TIGCCLIB...
+echo GCC4TI script: Installing TIGCCLIB...
 rm -Rf $TIGCC/include
 cp -Rf ../tigcclib/include  $TIGCC
 pushd $TIGCC/include/asm >/dev/null

+ 5 - 13
tigcc-linux/scripts/Install_step_4

@@ -1,17 +1,9 @@
 #!/bin/sh
 #
-# Install the ExePack support from the TIGCC Tools Suite
+# Install the TI-68k Developer Utilities
 #
-echo TIGCC script: Compiling and installing ExePack support...
-cd ../sources/ttpack/
-# check if CC is set, otherwise default to gcc
-if [ -z "$CC" ]
- then CC=gcc
-fi
-# check if CFLAGS is set, otherwise default to '-Os -s'
-if [ -z "$CFLAGS" ]
- then CFLAGS='-Os -s'
-fi
-$CC $CFLAGS -o $TIGCC/bin/ttpack ttpack.c
-$CC $CFLAGS -o $TIGCC/bin/ttbin2oth ttbin2oth.c
+echo GCC4TI script: Compiling and installing the TI-68k Developer Utilities...
+cd ../sources/tools/
+./buildall
+mv bin/* $TIGCC/bin
 echo Done.

+ 4 - 4
tigcc-linux/scripts/Install_step_5

@@ -1,9 +1,9 @@
 #! /bin/sh
 #
-# This script installs the TIGCC documentation
+# This script installs the GCC4TI documentation
 # For this, a directory "doc" has to be created.
 #
-echo TIGCC script: Installing TIGCC documentation...
+echo GCC4TI script: Installing GCC4TI documentation...
 
 mkdir $TIGCC/doc
 cd ..; cp AUTHORS BUGS CHANGELOG COPYING DIRECTORIES HOWTO INSTALL README README.linux README.osX $TIGCC/doc
@@ -28,10 +28,10 @@ rm -Rf $TIGCC/doc/tigcclib
 pushd $TIGCC/doc >/dev/null
 ln -sf html tigcclib
 popd >/dev/null
-cp ../../tigcclib/doc/converter/tigccdoc $TIGCC/bin
+cp ../../tigcclib/doc/converter/gcc4tidoc $TIGCC/bin
 
 
-echo TIGCC script: Creating TIGCC projects folder...
+echo GCC4TI script: Creating GCC4TI projects folder...
 mkdir $TIGCC/projects
 
 echo Done.

+ 7 - 7
tigcc-linux/scripts/launch.binutils

@@ -12,12 +12,12 @@ else
         make=gmake
 fi
 
-echo TIGCC script: Configuring, compiling and installing binutils...
+echo GCC4TI script: Configuring, compiling and installing binutils...
 mkdir ../build; mkdir ../build/binutils;
 cd ../build/binutils; ../../download/binutils.ti/configure --disable-serial-configure --prefix=$TIGCC --target=m68k-coff --disable-shared --enable-static --disable-multilib --disable-nls --disable-win32-registry
 
 if [ $? -ne 0 ]
-    then echo "TIGCC script: Error while configuring"
+    then echo "GCC4TI script: Error while configuring"
     exit 1
 fi
 
@@ -27,7 +27,7 @@ fi
 
 ${make}
 
-echo You should have seen an error. This is normal. TIGCC installation continues.
+echo You should have seen an error. This is normal. GCC4TI installation continues.
 
 # Create dummy libiberty testuite makefile
 rm -f libiberty/testsuite/Makefile
@@ -35,7 +35,7 @@ echo all: >libiberty/testsuite/Makefile
 
 ${make}
 
-echo You should have seen an error. This is normal. TIGCC installation continues.
+echo You should have seen an error. This is normal. GCC4TI installation continues.
 
 # We do not want to install any documentation. It is redundant with our HTML documentation.
 rm -f bfd/doc/Makefile
@@ -47,7 +47,7 @@ echo all: >bfd/po/Makefile
 
 ${make}
 
-echo You should have seen an error. This is normal. TIGCC installation continues.
+echo You should have seen an error. This is normal. GCC4TI installation continues.
 
 # We do not want any po (NLS) makefiles: we do not use any NLS anyway
 rm -f opcodes/po/Makefile
@@ -55,7 +55,7 @@ echo all: >opcodes/po/Makefile
 
 ${make}
 
-echo You should have seen an error. This is normal. TIGCC installation continues.
+echo You should have seen an error. This is normal. GCC4TI installation continues.
 
 # We do not want to install any documentation. It is redundant with our HTML documentation.
 mkdir gas/doc
@@ -69,7 +69,7 @@ echo all: >gas/po/Makefile
 #Now this one should really work...
 ${make}
 if [ $? -ne 0 ]
-    then echo "TIGCC script: Error while making"
+    then echo "GCC4TI script: Error while making"
     exit 2
 fi
 

+ 2 - 2
tigcc-linux/scripts/launch.envreg

@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Compile and install the TIGCC environment registrator
+# Compile and install the GCC4TI environment registrator
 #
 
 isbsd=`uname | grep "BSD"`
@@ -11,7 +11,7 @@ else
         make=gmake
 fi
 
-echo Installing tigcc environment registrator...
+echo Installing GCC4TI environment registrator...
 cd ../sources/envreg/src/
 ${make} -e
 cp envreg $TIGCC/bin

+ 5 - 5
tigcc-linux/scripts/launch.gcc

@@ -12,7 +12,7 @@ else
         make=gmake
 fi
 
-echo TIGCC script: Configuring, compiling and installing gcc...
+echo GCC4TI script: Configuring, compiling and installing gcc...
 
 CFLAGS_FOR_BUILD="$CFLAGS"
 export CFLAGS_FOR_BUILD
@@ -23,7 +23,7 @@ mkdir ../build; mkdir ../build/gcc;
 cd ../build/gcc; ../../download/gcc.ti/configure --prefix=$TIGCC --target=m68k-coff --with-gnu-as --disable-nls --disable-multilib --disable-shared --enable-static --disable-threads --disable-win32-registry --disable-checking --disable-werror --disable-pch --disable-mudflap --disable-libssp
 
 if [ $? -ne 0 ]
-    then echo "TIGCC script: Error while configuring GCC"
+    then echo "GCC4TI script: Error while configuring GCC"
     exit 1
 fi
 
@@ -32,21 +32,21 @@ fi
 #So we have to call make 3 times to get it to work with our removed directories.
 
 ${make}
-echo You should have seen an error. This is normal. TIGCC installation continues.
+echo You should have seen an error. This is normal. GCC4TI installation continues.
 
 # Create dummy libiberty testsuite makefile
 rm -f libiberty/testsuite/Makefile
 echo all: >libiberty/testsuite/Makefile
 
 ${make}
-echo You should have seen an error. This is normal. TIGCC installation continues.
+echo You should have seen an error. This is normal. GCC4TI installation continues.
 
 # Create dummy build-libiberty testsuite makefile
 rm -f `ls -d build-*`/libiberty/testsuite/Makefile
 echo all: >`ls -d build-*`/libiberty/testsuite/Makefile
 
 ${make}
-echo You should have seen an error. This is normal. TIGCC installation continues.
+echo You should have seen an error. This is normal. GCC4TI installation continues.
 
 cd ../../scripts
 

+ 2 - 2
tigcc-linux/scripts/launch.ld-tigcc

@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Compile and install the TIGCC linker
+# Compile and install the GCC4TI linker
 #
 
 isbsd=`uname | grep "BSD"`
@@ -11,7 +11,7 @@ else
         make=gmake
 fi
 
-echo Installing TIGCC linker...
+echo Installing GCC4TI linker...
 cd ../sources/ld-tigcc
 
 # OS X requires a switch to enable nested functions. ld-tigcc doesn't actually

+ 2 - 2
tigcc-linux/scripts/launch.patcher

@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Compile and install the TIGCC patcher
+# Compile and install the GCC4TI patcher
 #
 
 isbsd=`uname | grep "BSD"`
@@ -11,7 +11,7 @@ else
         make=gmake
 fi
 
-echo Installing tigcc patcher...
+echo Installing GCC4TI patcher...
 cd ../sources/patcher/src/
 ${make} -e
 cp patcher $TIGCC/bin

+ 2 - 2
tigcc-linux/scripts/launch.tigcc

@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-# Compile and install the TIGCC front-end
+# Compile and install the GCC4TI front-end
 #
 
 isbsd=`uname | grep "BSD"`
@@ -11,7 +11,7 @@ else
         make=gmake
 fi
 
-echo Installing tigcc front-end...
+echo Installing GCC4TI front-end...
 cd ../sources/tigcc/src/
 ${make} -e
 cp tigcc $TIGCC/bin

+ 1 - 1
tigcc-linux/scripts/launch.tprbuilder

@@ -11,7 +11,7 @@ else
         make=gmake
 fi
 
-echo Installing tigcc project builder...
+echo Installing GCC4TI project builder...
 cd ../sources/tprbuilder/src/
 ${make} -e
 cp tprbuilder $TIGCC/bin