MS-Windows package. 4tH 4tH Forth compiler
تبلیغات
تبلیغات
CHAPTER 3. INSTALLATION GUIDE 37
3.1.5.6
Updating
Simply install the package. Unless you’ve used a different location or different options the previous time, it will simply overwrite the previous executables.
3.1.6
MS-DOS package
The "4th.exe" that is included in the MS-DOS package is a 32-bit MS-DOS version of the main Unix utility. It will only run on 80386 class machines and up. It allows you to compile and run very large 4tH programs. It requires CWSDPMI.EXE somewhere in your path. It is also available as "4th86.exe", which will run on any IBM-PC with 256 KB memory. This version is a bit slower and you may experience some memory restrictions.
3.1.6.1
DIR4TH environment variable
This variable is used to indicate where 4tHs default directory is. If a sourcefile cannot be found in the current directory, the compiler
6 will try to get it here. You can set this environment variable in your autoexec.bat file. In this example your default 4tH directory is C:\4th: set DIR4TH=C:\4th\
If 4tH is unable to find a sourcefile, e.g. lib/anscore.4th, it will try to load C:\4th\lib\anscore.4th
. Do not forget to add the trailing backslash. If you do, it will not work properly.
3.1.6.2
Updating
Simply install the package. Unless you’ve used a different location or different options the previous time, it will simply overwrite the previous executables. If you still have
4thd.com
, 4thg.com, 4thx.com or 4thc.com somewhere on your drive, delete them. That’s ancient stuff!
3.1.7
MS-Windows package
Run "setup.exe" to install the package. It runs with Windows 95 OSR2 and up, Windows
NT 4.0, Windows 2000, Windows XP and Windows Vista.
You can launch Explorer and double-click an HX-file. Windows will complain it doesn’t recognize the file and tell you what to do. Browse to "4th.exe" and select it. After that you can click on an HX-file and it will be executed. You can even add HX-files to your desktop where they will start and run like ordinary Windows applications.
This is a true 32-bit version, so it does take long filenames, but you can’t run it with Windows V3.x and early versions of Windows 95. It is a console application, so you’ll need an MS-DOS box to run and use it. Note that it will exit immediately once a program has halted. We recommend you run 4tH from the MS-DOS prompt when you’re using 4tH as a development environment.
6
That is: the compiler, not the editor or anything else.
دانلود
تبلیغات