Binaries

 

Binary installations for Tornado 2 x86-win32!

UPDATED 9th Jun 2001:

When updating to a new release, uninstall your existing 2.95.3 with the uninstall.bat file in your Tornado root dir before you install the new release.

WARNING: If you want to run both versions, read the notes at the end of the page before you do anything.

These are prebuilt versions of the gcc compiler and binutils tools, packaged up with batch files that will install them into an existing Tornado installation, in a guaranteed harmless and reversible way.

For the vanilla VxWorks-PPc compiler:

For the Altivec version:

I'd like to thank Paolo Bellutta for donating the webspace to host the Altivec files.

They are packaged in zip files containing binaries compiled for target i686-pc-cygwin. I think they should run fine on lower x86 series cpus as well; Pentiums should be ok, at the least.

To use one, download it and unzip the contents into a temporary folder somewhere. Then you need to run the batch file 'install.bat'. This wants to know the location of your Tornado installation, so you've got two choices: either set WIND_BASE in the environment variables settings of the properties page of the My Computer icon, or open a dos shell, type SET WIND_BASE=<path to Tornado dir>, cd into the temporary directory, and run install.bat.

The batch file copies all the new compiler files into your Tornado directory tree with the file extension '.gcc' on the end for the plain ppc compiler, or '.vec' for the altivec version. It also backs up your existing original WRS files to copies with the extension '.wrs'. This way, all the compilers can exist and yet be completely insulated from each other. I know that Gcc provides the -V switch for just this purpose, but since these are experimental compiler versions, I want to be able to guarantee you that your existing files will be preserved, and that you can easily restore everything to exactly the way it was before.

After installation is complete, you can switch between the compilers by running the batch file selcompiler.bat which the installation leaves in your Tornado root folder. Use 'selcompiler wrs' to choose the original wrs gcc-2.7.2, 'selcompiler gcc' to activate the new ppc compiler, or 'selcompiler vec' to select the altivec compiler.

You can also uninstall the compiler, restoring your Tornado directory tree to the way it was before, using the uninstall.bat or uninstall-vec.bat batch file which is left in your WIND_BASE directory after installation completes.

 

WARNING:

And now for that warning I was talking about. Although it is perfectly possible to install both compilers and then use and switch between all three, I have not thoroughly tested the install and uninstall batch files, nor have I tested every possible combination of install and uninstall order.

I know of one problem that will definitely arise, if both compilers have been installed and then one is uninstalled. The uninstall script for that one will delete all the .gcc or .vec files that belong to the compiler, and then move the original .wrs files back into their original file names. When this happens, the remaining uninstall script will refuse to run, because it cannot find the .wrs files any more. The selcompiler script will fail to select the WRS compiler as well, and if you run selcompiler YOU WILL OVERWRITE YOUR ORIGINAL WRS FILES. You could fix this by re-installing the remaining compiler; the first stage of that process will recreate the '.wrs' backups. Or you could just as easily uninstall the other compiler manually, by deleting all the files and directories with the .gcc or .vec extension.

But the best solution would be to download these replacements for the uninstall, uninstall-vec and selcompiler scripts. Just unpack the archive into your Tornado root dir (WIND_BASE) and it will work safely by *always* keeping your .wrs files around.