open watcom fortran 77 getting started - nsu.ru ?· 5 release notes for open watcom fortran 77 1.5...

Download Open Watcom FORTRAN 77 Getting Started - nsu.ru ?· 5 Release Notes for Open Watcom FORTRAN 77 1.5 ...…

Post on 06-Sep-2018

221 views

Category:

Documents

2 download

Embed Size (px)

TRANSCRIPT

  • Open Watcom FORTRAN 77

    Getting Started

    First Edition

  • Notice of Copyright

    Copyright 2002-2006 the Open Watcom Contributors. Portions Copyright 1984-2002Sybase, Inc. and its subsidiaries. All rights reserved.

    Any part of this publication may be reproduced, transmitted, or translated in any form or byany means, electronic, mechanical, manual, optical, or otherwise, without the prior writtenpermission of anyone.

    For more information please visit http://www.openwatcom.org/

    Printed in U.S.A.

    BA0615

    ii

  • Table of Contents

    1 Introduction to Open Watcom FORTRAN 77 ............................................................ 11.1 What is in version 1.5 of Open Watcom FORTRAN 77? ............................ 11.2 Technical Support and Services ................................................................... 4

    1.2.1 Resources at Your Fingertips ......................................................... 41.2.2 Contacting Technical Support ........................................................ 41.2.3 Information Technical Support Will Need to Help You ................ 51.2.4 Suggested Reading ......................................................................... 5

    1.2.4.1 DOS Developers .............................................................. 61.2.4.2 Extended DOS Developers .............................................. 61.2.4.3 Windows 3.x Developers ................................................. 61.2.4.4 Windows NT Developers ................................................. 61.2.4.5 OS/2 Developers .............................................................. 7

    2 Installation ................................................................................................................... 92.1 Hardware and Software Requirements ......................................................... 92.2 The README File ....................................................................................... 102.3 Installing Open Watcom FORTRAN 77 ...................................................... 102.4 Incremental Installation ................................................................................ 122.5 System Configuration File Modifications .................................................... 122.6 Installation Notes for Windows 3.x .............................................................. 132.7 Installation Notes for OS/2 ........................................................................... 14

    3 Hands-on Introduction to Open Watcom FORTRAN 77 ........................................... 153.1 Outline .......................................................................................................... 153.2 The Open Watcom FORTRAN 77 Tutorial ................................................. 16

    3.2.1 Defining a Project .......................................................................... 173.2.2 Adding Multiple Targets ................................................................ 193.2.3 Making a Target ............................................................................. 203.2.4 Making All Targets ........................................................................ 203.2.5 Executing the Program ................................................................... 213.2.6 Smart Editing ................................................................................. 223.2.7 Debugging the Program ................................................................. 243.2.8 Correcting an Error ........................................................................ 273.2.9 Editing a Bitmap ............................................................................. 283.2.10 Editing Menus .............................................................................. 293.2.11 Sampling and Profiling an Executable ......................................... 323.2.12 Saving the Project and Terminating the Session .......................... 33

    3.3 Tutorial Review ............................................................................................ 33

    4 Documentation ............................................................................................................ 354.1 Accessing On-line Documentation ............................................................... 36

    4.1.1 On-line Documentation under DOS ............................................... 36

    iii

  • Table of Contents

    4.1.2 On-line Documentation under Windows ........................................ 374.1.3 On-line Documentation under OS/2 ............................................... 39

    5 Release Notes for Open Watcom FORTRAN 77 1.5 ................................................. 415.1 Changes in 11.0 that may Require Recompilation ....................................... 415.2 Major Differences from Version 10.6 .......................................................... 41

    5.2.1 Changes to the Code Generator for 11.0 ........................................ 425.2.2 Changes to the Compiler Tools for 11.0 ........................................ 425.2.3 Changes to the C/C++ Libraries for 11.0 ....................................... 435.2.4 Changes to the DOS Graphics Library for 11.0 ............................. 435.2.5 Changes in Microsoft Win32 SDK Support for 11.0 ..................... 43

    5.3 Changes in 10.6 that may Require Recompilation ....................................... 435.4 Major Differences from Version 10.5 .......................................................... 44

    5.4.1 Windows 95 Help File Format ....................................................... 445.4.2 Changes to the C Library ............................................................... 445.4.3 Changes to the Image Editor .......................................................... 445.4.4 Changes to the Dialog Editor ......................................................... 445.4.5 Changes to the Resource Editor ..................................................... 455.4.6 Changes to the Resource Compiler ................................................ 45

    5.5 Major Differences from Version 9.5 ............................................................ 455.5.1 Items No Longer Supported ........................................................... 465.5.2 Changes that may Require Recompilation ..................................... 46

    5.6 Major Differences from Version 9.0 ............................................................ 46

    6 Sybase Open Watcom Public License ......................................................................... 49

    7 Trouble-Shooting ........................................................................................................ 577.1 Win-OS/2 and OS/2 Specific ........................................................................ 59

    iv

  • 1 Introduction to Open Watcom FORTRAN 77

    Welcome to the Open Watcom FORTRAN 77 1.5 development system. Open WatcomFORTRAN 77 is an Open Source successor to commercial compilers previously marketed bySybase, Powersoft and originally WATCOM International Corp.

    Version 1.5 of Open Watcom FORTRAN 77 is a professional, optimizing, multi-platformFORTRAN 77 compiler with a comprehensive suite of development tools for developing anddebugging both 16-bit and 32-bit applications for DOS, extended DOS, Novell NLMs, 16-bitOS/2, 32-bit OS/2, Windows 3.x, Windows 95/98/Me, Win32s, and Windows NT/2000/XP(Win32).

    You should read the entire contents of this booklet, as it contains information on newprograms and modifications that have been made since the previous release.

    Special NOTE to users of previous versions! See the section entitled "Release Notes forOpen Watcom FORTRAN 77 1.5" on page 41 to determine if you need to recompile yourapplication.

    1.1 What is in version 1.5 of Open Watcom FORTRAN77?

    Version 1.5 incorporates the features professional developers have been demanding:

    Open, Multi-target Integrated Development EnvironmentThe IDE allows you to easily edit, compile, link, debug and build applications for16-bit systems like DOS, OS/2 1.x, and Windows 3.x and 32-bit systems likeextended DOS, Novell NLMs, OS/2, Windows 3.x (Win32s), Windows 95/98/Me,and Windows NT/2000/XP. Projects can be made up of multiple targets whichpermit a project to include EXEs and DLLs. The IDE produces makefiles for theproject which can be viewed and edited with a text editor. The IDE is hosted underWindows 3.x, Windows 95/98/Me, Windows NT/2000/XP, and 32-bit OS/2.

    What is in version 1.5 of Open Watcom FORTRAN 77? 1

  • Chapter 1

    The Widest Range of Intel x86 Platforms

    Host Platforms

    DOS (command line) 32-bit OS/2 (IDE and command line) Windows 3.x (IDE) Windows 95/98/Me (IDE and command line) Windows NT/2000/XP (IDE and command line)

    16-bit Target Platforms

    DOS Windows 3.x OS/2 1.x

    32-bit Target Platforms

    Extended DOS Win32s Windows 95/98/Me Windows NT/2000/XP 32-bit OS/2 Novell NLMs

    Cross-Platform Development ToolsThe core tools in the package permit cross-platform development that allowsdevelopers to exploit the advanced features of todays popular 32-bit operatingsystems, including Windows 95/98/Me, Windows NT/2000/XP, and OS/2.Cross-platform support allows you to develop on a host development environmentfor execution on a different target system.

    Multi-Platform DebuggerThe new debugger advances developer productivity. New features includeredesigned interface, ability to set breakpoints on nested function calls, improvedC++ and DLL debugging, reverse execution, and configurable interface. Graphicalversions of the debugger are available under Windows 3.x, Windows 95/98/Me,Windows NT/2000/XP, and 32-bit OS/2. Character versi

Recommended

View more >