Make sure that the command-line terminal is open on your desktop. We now proceed with downloading
and setting up the
emacs editor and the
Follow these steps to download Emacs for Windows 95/98/NT/2k/Me/XP. All steps must be performed exactly as written below, otherwise you may not be able to run Emacs.
c:\emacs, but you can choose a different one. If you choose a different drive or a different folder, you will need to adapt the directions below accordingly.
http://www.powerarchiver.com. This program will help you to decompress the files with
.tar.gzextension. Install the program.
c:\emacs.tar.gzby right-clicking on the link. Make sure the entire file was downloaded without any network errors. Use
Save Link As...or
Save Target As...This file is a compressed distribution of
http://www.geocities.com/Athens/Olympus/5564/g77.htmand find the links to files
g77lib.zip. Save both of them as
Save Link As...or
Save Target As...The former file is a compressed distribution of
g77Fortran compiler for Windows and the latter one is the set of standard Fortran libraries.
c:\folder to make sure that it contains files
g77lib.zip. Uncompress all of them using the Power Archiver which you downloaded above.
c:\folder to make sure that it contains subfolders
emacs-*, with the asterisk replacing the version number, and
g77. To make our life a little easier, rename the Emacs folder by typing the command
rename emacs-* emacs
autoexec.batfile (lives in the
c:\folder) and add these lines at the end:
Start > Settings > Control Panel > System. Then select
Environment Variables. Find the variable
PATH, go to its end and type
;c:\g77\bin. Then, enter a new variable (if does not exist) with name
LIBRARY_PATHand assign it the following value:
c:\g77\lib. Restart your machine or simply log off and log on (under Windows XP).
Shortcut. As a file name, enter
Emacs. Now, you should be in business! If it doesn't work, you made a mistake in one of the steps above. Double check and, if something goes really wrong, let me know.
If you are running MacOS X,
emacs should have been installed automatically. Try it by typing
emacs in your terminal window. GNU Fortran compiler is not a part of the standard
distribution and has to be downloaded and installed separately. Please, check with web site
hpc.sourceforge.net where you find under section g77 all you need to install your
g77 compiler. The same site also provides a link to the original g77 documentation. In order
to compile your source codes under MacOS X platform, it is necessary to install the Apple
Developer's Toolkit from the CD that you obtained with your MacOS X (Jaguar/Panther) system.