The information in this article applies to:
SUMMARY
This article describes how to install Microsoft FORTRAN for the most common
configurations. This article includes information related to the FORTRAN
installation program, which is detailed in other Knowledge Base articles.
This article also supplements documents that ship with FORTRAN 5.1.
MORE INFORMATIONBefore Running SETUP.EXETo ensure that the setup procedure completes, the TMP environment variable should be set before running SETUP.EXE. If this is not done, Setup may be unable to create the libraries. The TMP environment variable tells the components of FORTRAN where to store temporary data when there is no room in memory (TEMP is used by MS-DOS and Windows for the same purpose). The TMP environment variable must be set to a directory that follows two rules:
mkdir tmp<ENTER>Set the TMP environment variable to point to that directory by typing the following command at the MS-DOS prompt (do not add any extra spaces to this command): set tmp=c:\tmp<ENTER> Choices in Running SETUP.EXEBefore Microsoft FORTRAN is installed on your system, you are asked a series of questions regarding your preferences for installation. The following sections make suggestions for your responses to each of the Setup screens. These suggestions are based on the most typical installation of a Microsoft FORTRAN development system. Each of the screens should be read fully before making your selection.NOTE: You will have a final chance at the end of the questions to go back and make changes if you make a mistake or change your mind. Host Operating System: The first choice is for the host operating system. Notice the asterisk ("*") in front of the "DOS" option. When an asterisk is displayed, you must press the SPACEBAR key before pressing the ENTER key to change the selection. Target Operating System: The next choice is for target operating system. Again, you must press the SPACEBAR key to change the selection. Pressing the ENTER key without first pressing the SPACEBAR key will not change the selection. Windows DLL Libraries: If "DOS and Windows" is chosen, the next question is about DLL libraries. Answering either YES or NO is fine here. Combined Libraries: Microsoft recommends that you answer YES to build the combined libraries. Math Options: When making your choice, keep in mind that Emulator or 80x87 chip math are equally fast if a math coprocessor is present. Memory Models: The large memory model is usually the best choice for FORTRAN. DOS Graphics Libraries: Answering NO on this option will still allow full use of graphics in your programs. You will just need to explicitly link to the graphics libraries when you use them. Error Text: Answering either YES or NO is fine. C Compatibility: Virtually everyone should choose NO for C compatibility. Choosing C compatibility will create incomplete libraries that are incapable of creating FORTRAN programs by themselves (these libraries require linking with libraries from Microsoft C every time you build a program). Delete Component Libraries: Microsoft recommends that you answer YES to delete your component libraries to free up space. Rename Default Libraries: In most cases, you should choose "Rename DOS libraries". Programmer's Workbench: Answering either YES or NO is fine here. BRIEF Compatibility: Note that BRIEF compatibility is never required, and therefore Microsoft recommends that you not add BRIEF compatibility. Mouse Driver: There have been several revisions and updates to the Microsoft Mouse driver since FORTRAN 5.1. You should not install this version of the Microsoft Mouse driver unless you currently do not have one. Floating Point Patch: Most people do not need the PC-DOS 3.2 patch. In most cases you should not install this patch. Sample Programs: Answering either YES or NO is fine here. C Start Up Sources: The startup sources are rarely used, and therefore the source files may needlessly use space. Microsoft recommends that you not install the C startup sources. Help Files: Answering either YES or NO is fine here. Destination Drive: The drives and directories to use are up to you. If you have no preference, the default selections are good. NOTE: If FORTRAN is not hosted on OS/2, then the bound executable files can be put in the ..\BIN rather than the ..\BINB directory. To do this, simply shorten BINB to BIN in the suggested directory name. This will simplify the directory structure allowing a shorter PATH environment variable. This non standard optimization is not required. Confirm Your Choices: Examine the selections you have made carefully. After you confirm your choices, SETUP will create the directory structure and build the libraries. After Running SETUP.EXEAfter running the FORTRAN installation program, perform the following three checks to ensure your system is configured properly for FORTRAN.
Additional Steps for WindowsNOTE: The following steps are not required to create or run QuickWin applications.If FORTRAN 5.1 is installed with a target of Windows, then a file called SYSTEM.PRE will be created in the Windows directory. This file contains obsolete information and should not used. FORTRAN QuickWin applications can be created and run with no changes to Windows. However, to debug QuickWin applications the following two lines must be added to the [386Enh] section of the SYSTEM.INI file located in the Windows directory: device=vcv.386NOTE: Before editing the SYSTEM.INI file, always make a backup copy. To create an icon for FORTRAN in the Windows Program Manager do the following:
Additional query words: kbinf 5.10
Keywords : |
Last Reviewed: October 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |