Next:
Contents
Up:
Free Pascal manuals : Contents
Users' manual for Free Pascal, version 1.0.4 1.8
Free Pascal :
Users' manual
Michaël Van Canneyt
Florian Klämpfl
september 2001
Contents
1
Introduction
1
About this document
2
About the compiler
3
Getting more information.
2
Installing the compiler
1
Before Installation : Requirements
2
Installing the compiler.
3
Optional configuration steps
4
Testing the compiler
3
Compiler usage
1
File searching
2
Compiling a program
3
Compiling a unit
4
Units, libraries and smartlinking
5
Creating an executable for GO32V1 and PMODE/DJ targets
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
2
Using the configuration file
3
Variable substitution in paths
6
The IDE
1
First steps with the IDE
2
Navigating in the IDE
3
Windows
4
The Menu
5
Editing text
6
Searching and replacing
7
The symbol browser
8
Running programs
9
Debugging programs
10
Using Tools
11
Project management and compiler options
12
Customizing the IDE
13
The help system
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
3
Supplied units
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
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.
D. Run time errors
E. The Floating Point Coprocessor emulator
F. A sample
gdb.ini
file
Free Pascal Compiler
2001-09-22