Next:
1 Introduction
Up:
Free Pascal : Users'
Previous:
Free Pascal : Users'
Contents
Contents
1
Introduction
1
About this document
2
About the compiler
3
Getting more information.
2
Installing the compiler
1
Before Installation : Requirements
1
System requirements
2
Software requirements
2
Installing the compiler.
1
Installing under DOS or Windows
2
Installing under Linux
3
Optional configuration steps
4
Testing the compiler
3
Compiler usage
1
File searching
1
Command line files
2
Unit files
3
Include files
4
Object files
5
Configuration file
6
About long filenames
2
Compiling a program
3
Compiling a unit
4
Units, libraries and smartlinking
5
Creating an executable for GO32V1 and PMODE/DJ targets
1
GO32V1
2
PMODE/DJ
6
Reducing the size of your program
4
Compiling problems
1
General problems
2
Problems you may encounter under DOS
5
Compiler configuration
1
Using the command-line options
1
General options
2
Options for getting feedback
3
Options concerning files and directories
4
Options controlling the kind of output.
5
Options concerning the sources (language options)
2
Using the configuration file
1
#IFDEF
2
#IFNDEF
3
#ELSE
4
#ENDIF
5
#DEFINE
6
#UNDEF
7
#WRITE
8
#INCLUDE
9
#SECTION
3
Variable substitution in paths
6
The IDE
1
First steps with the IDE
1
Starting the IDE
2
IDE Command line options
3
The IDE screen
2
Navigating in the IDE
1
Using the keyboard
2
Using the mouse
3
Navigating in dialogs
3
Windows
1
Window basics
2
Sizing and moving windows
3
Working with multiple windows
4
Dialog windows
4
The Menu
1
Accessing the menu
2
The File menu
3
The Edit menu
4
The Search menu
5
The Run menu
6
The Compile menu
7
The Debug menu
8
The Tools menu
9
The Options menu
10
The Window menu
11
The Help menu
5
Editing text
1
Insert modes
2
Blocks
3
Setting bookmarks
4
Jumping to a source line
5
Syntax highlighting
6
Code Completion
7
Code Templates
6
Searching and replacing
7
The symbol browser
8
Running programs
9
Debugging programs
1
Using breakpoints
2
Using watches
3
The call stack
4
The GDB window
10
Using Tools
1
The messages window
2
Grep
3
The ASCII table
4
The calculator
5
Adding new tools
6
Meta parameters
7
Building a command line dialog box
11
Project management and compiler options
1
The primary file
2
The directory dialog
3
The target operating system
4
Compiler options
5
Linker options
6
Memory sizes
7
Debug options
8
The switches mode
12
Customizing the IDE
1
Preferences
2
The desktop
3
The Editor
4
Mouse
5
Colors
13
The help system
1
Navigating in the help system
2
Working with help files
3
The about dialog
14
Keyboard shortcuts
7
Porting Turbo Pascal Code
1
Things that will not work
2
Things which are extra
3
Turbo Pascal compatibility mode
4
A note on long file names under
DOS
8
Utilities and units that come with Free Pascal
1
Demo programs and examples
2
Supplied programs
1
ppudump program
2
ppumove program
3
ptop - Pascal source beautifier
4
rstconv program
5
fpcmake
3
Supplied units
1
Units common to all platforms
2
Under DOS
3
Under Windows
4
Under Linux
5
Under OS/2
9
Debugging your Programs
1
Compiling your program with debugger support
2
Using
gdb
to debug your program
3
Caveats when debugging with
gdb
4
Support for
gprof
, the
GNU
profiler
5
Detecting heap memory leaks
6
Line numbers in run-time error backtraces
7
Combining
heaptrc
and
lineinfo
10
CGI programming in Free Pascal
1
Getting your data
1
Data coming through standard input.
2
Data passed through an environment variable
2
Producing output
3
I'm under Windows, what now ?
A. Alphabetical listing of command-line options
B. Alphabetical list of reserved words
C. Compiler messages
1
General compiler messages
2
Scanner messages.
3
Parser messages
4
Type checking errors
5
Symbol handling
6
Code generator messages
7
Errors of assembling/linking stage
8
Unit loading messages.
9
Command-line handling errors
10
Assembler reader errors.
1
General assembler errors
2
I386 specific errors
3
m68k specific errors.
D. Run time errors
E. The Floating Point Coprocessor emulator
F. A sample
gdb.ini
file
Free Pascal Compiler
2001-09-22