florian 2b67164568 * optimizer files fixed 21 år sedan
..
alpha e417e34496 * truncate log 21 år sedan
arm 2b67164568 * optimizer files fixed 21 år sedan
html fa0d3d79e0 no message 23 år sedan
i386 dd0664156d * fix passing of 64bit values when using -Or 21 år sedan
ia64 e417e34496 * truncate log 21 år sedan
m68k e417e34496 * truncate log 21 år sedan
mips e417e34496 * truncate log 21 år sedan
msg 5812a84648 * another update from ik_5 21 år sedan
powerpc 706a87c2df * don't lose sign of ord types for register parameters 21 år sedan
sparc e417e34496 * truncate log 21 år sedan
systems e417e34496 * truncate log 21 år sedan
utils 52337789b9 * -XP added 21 år sedan
vis e417e34496 * truncate log 21 år sedan
x86 e417e34496 * truncate log 21 år sedan
x86_64 e417e34496 * truncate log 21 år sedan
COPYING d4b8a224a1 + Added license to this library 21 år sedan
MPWMake a9e90b796f + msg2inc now executed, utils is compiled 21 år sedan
Makefile aa5b73f3ec * 1.9.8 21 år sedan
Makefile.fpc aa5b73f3ec * 1.9.8 21 år sedan
README 012af1131e * updated to help compiling the compiler 22 år sedan
aasmbase.pas e417e34496 * truncate log 21 år sedan
aasmtai.pas 6c38093871 * fixed spilling for several ppc instructions which only read registers 21 år sedan
aggas.pas e417e34496 * truncate log 21 år sedan
aopt.pas e417e34496 * truncate log 21 år sedan
aoptbase.pas e417e34496 * truncate log 21 år sedan
aoptcs.pas e417e34496 * truncate log 21 år sedan
aoptda.pas e417e34496 * truncate log 21 år sedan
aoptobj.pas e417e34496 * truncate log 21 år sedan
assemble.pas e417e34496 * truncate log 21 år sedan
browcol.pas e417e34496 * truncate log 21 år sedan
browlog.pas e417e34496 * truncate log 21 år sedan
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 26 år sedan
catch.pas 2ec108a9c7 * Handle Control-C exception more cleanly 21 år sedan
cclasses.pas e417e34496 * truncate log 21 år sedan
cg64f32.pas dd0664156d * fix passing of 64bit values when using -Or 21 år sedan
cgbase.pas e417e34496 * truncate log 21 år sedan
cgobj.pas e417e34496 * truncate log 21 år sedan
cgutils.pas e417e34496 * truncate log 21 år sedan
charset.pas e417e34496 * truncate log 21 år sedan
cmsgs.pas e417e34496 * truncate log 21 år sedan
comphook.pas e417e34496 * truncate log 21 år sedan
compiler.pas 2ec108a9c7 * Handle Control-C exception more cleanly 21 år sedan
compinnr.inc e417e34496 * truncate log 21 år sedan
comprsrc.pas e417e34496 * truncate log 21 år sedan
cp437.pas effb0aae89 - remove compilation warnings 23 år sedan
cp850.pas effb0aae89 - remove compilation warnings 23 år sedan
cp8859_1.pas effb0aae89 - remove compilation warnings 23 år sedan
crc.pas e417e34496 * truncate log 21 år sedan
cresstr.pas e417e34496 * truncate log 21 år sedan
cstreams.pas e417e34496 * truncate log 21 år sedan
cutils.pas e417e34496 * truncate log 21 år sedan
defcmp.pas e417e34496 * truncate log 21 år sedan
defutil.pas e417e34496 * truncate log 21 år sedan
dwarf.pas e417e34496 * truncate log 21 år sedan
export.pas e417e34496 * truncate log 21 år sedan
finput.pas e417e34496 * truncate log 21 år sedan
fmodule.pas e417e34496 * truncate log 21 år sedan
fpcdefs.inc e417e34496 * truncate log 21 år sedan
fppu.pas e417e34496 * truncate log 21 år sedan
gdb.pas e417e34496 * truncate log 21 år sedan
gendef.pas e417e34496 * truncate log 21 år sedan
globals.pas e417e34496 * truncate log 21 år sedan
globtype.pas 0ae80eea41 * allow enum arithmetics inside an enum def, compatible with delphi 21 år sedan
htypechk.pas 339fed5022 * allow assignment to elements of constant dyn array in delphi mode 21 år sedan
impdef.pas e417e34496 * truncate log 21 år sedan
import.pas e417e34496 * truncate log 21 år sedan
link.pas e417e34496 * truncate log 21 år sedan
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd 25 år sedan
mdppc386.bat 1f4bac4fd0 * delphi fixes 24 år sedan
mppc386.bat 07ad807864 * added -FE. to put the PPU's in the compiler dir 25 år sedan
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit 28 år sedan
mppcsparc 72556ae39f * fix compile problem 21 år sedan
msgidx.inc c5488ea6b1 * -Fa option added, it'll load the units before the uses 21 år sedan
msgtxt.inc c5488ea6b1 * -Fa option added, it'll load the units before the uses 21 år sedan
nadd.pas 0ae80eea41 * allow enum arithmetics inside an enum def, compatible with delphi 21 år sedan
nbas.pas e417e34496 * truncate log 21 år sedan
ncal.pas 047c28d993 * member call to constructor returns void to prevent 21 år sedan
ncgadd.pas f3b711d3bf * don't generate overflow results if they aren't necessary 21 år sedan
ncgbas.pas e417e34496 * truncate log 21 år sedan
ncgcal.pas 5edffaf371 * remove is_single_reference 21 år sedan
ncgcnv.pas e417e34496 * truncate log 21 år sedan
ncgcon.pas e417e34496 * truncate log 21 år sedan
ncgflw.pas e417e34496 * truncate log 21 år sedan
ncginl.pas e417e34496 * truncate log 21 år sedan
ncgld.pas e417e34496 * truncate log 21 år sedan
ncgmat.pas e417e34496 * truncate log 21 år sedan
ncgmem.pas e417e34496 * truncate log 21 år sedan
ncgopt.pas e417e34496 * truncate log 21 år sedan
ncgset.pas e417e34496 * truncate log 21 år sedan
ncgutil.pas 5edffaf371 * remove is_single_reference 21 år sedan
ncnv.pas e417e34496 * truncate log 21 år sedan
ncon.pas e417e34496 * truncate log 21 år sedan
nflw.pas e417e34496 * truncate log 21 år sedan
ninl.pas e417e34496 * truncate log 21 år sedan
nld.pas e417e34496 * truncate log 21 år sedan
nmat.pas e417e34496 * truncate log 21 år sedan
nmem.pas e417e34496 * truncate log 21 år sedan
nobj.pas e417e34496 * truncate log 21 år sedan
node.pas e417e34496 * truncate log 21 år sedan
nopt.pas e417e34496 * truncate log 21 år sedan
nset.pas e417e34496 * truncate log 21 år sedan
nstate.pas e417e34496 * truncate log 21 år sedan
nutils.pas e417e34496 * truncate log 21 år sedan
ogbase.pas e417e34496 * truncate log 21 år sedan
ogcoff.pas e417e34496 * truncate log 21 år sedan
ogelf.pas e417e34496 * truncate log 21 år sedan
oglx.pas e417e34496 * truncate log 21 år sedan
ogmap.pas e417e34496 * truncate log 21 år sedan
options.pas 83b04efbc3 * defaultreplacement expansion for -XP and -Xr 21 år sedan
owar.pas e417e34496 * truncate log 21 år sedan
owbase.pas e417e34496 * truncate log 21 år sedan
parabase.pas 5edffaf371 * remove is_single_reference 21 år sedan
paramgr.pas e417e34496 * truncate log 21 år sedan
parser.pas e417e34496 * truncate log 21 år sedan
pass_1.pas e417e34496 * truncate log 21 år sedan
pass_2.pas e417e34496 * truncate log 21 år sedan
pbase.pas e417e34496 * truncate log 21 år sedan
pdecl.pas e417e34496 * truncate log 21 år sedan
pdecobj.pas e417e34496 * truncate log 21 år sedan
pdecsub.pas e417e34496 * truncate log 21 år sedan
pdecvar.pas e417e34496 * truncate log 21 år sedan
pexports.pas e417e34496 * truncate log 21 år sedan
pexpr.pas e417e34496 * truncate log 21 år sedan
pinline.pas e417e34496 * truncate log 21 år sedan
pmodules.pas e417e34496 * truncate log 21 år sedan
pp.lpi 581b52422c - remove $IFDEF DELPHI and related code 21 år sedan
pp.pas e417e34496 * truncate log 21 år sedan
ppc.cfg 9465a13e71 + Delphi 6 configuration file 23 år sedan
ppc.conf add30a428e * Kylix fixes, mostly case names of units 24 år sedan
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation 23 år sedan
ppc.dpr 67486c96c3 * fixes for Delphi 6 compilation 23 år sedan
ppheap.pas e417e34496 * truncate log 21 år sedan
ppu.pas e417e34496 * truncate log 21 år sedan
procinfo.pas e417e34496 * truncate log 21 år sedan
pstatmnt.pas e417e34496 * truncate log 21 år sedan
psub.pas e417e34496 * truncate log 21 år sedan
psystem.pas e417e34496 * truncate log 21 år sedan
ptconst.pas e417e34496 * truncate log 21 år sedan
ptype.pas 0ae80eea41 * allow enum arithmetics inside an enum def, compatible with delphi 21 år sedan
raatt.pas e417e34496 * truncate log 21 år sedan
rabase.pas e417e34496 * truncate log 21 år sedan
rasm.pas e417e34496 * truncate log 21 år sedan
rautils.pas e417e34496 * truncate log 21 år sedan
regvars.pas e417e34496 * truncate log 21 år sedan
rgbase.pas e417e34496 * truncate log 21 år sedan
rgobj.pas 6c38093871 * fixed spilling for several ppc instructions which only read registers 21 år sedan
scandir.pas e417e34496 * truncate log 21 år sedan
scanner.pas e417e34496 * truncate log 21 år sedan
script.pas e417e34496 * truncate log 21 år sedan
switches.pas e417e34496 * truncate log 21 år sedan
symbase.pas e417e34496 * truncate log 21 år sedan
symconst.pas e417e34496 * truncate log 21 år sedan
symdef.pas e417e34496 * truncate log 21 år sedan
symnot.pas e417e34496 * truncate log 21 år sedan
symsym.pas e417e34496 * truncate log 21 år sedan
symtable.pas e417e34496 * truncate log 21 år sedan
symtype.pas e417e34496 * truncate log 21 år sedan
symutil.pas e417e34496 * truncate log 21 år sedan
systems.pas e417e34496 * truncate log 21 år sedan
tgobj.pas e417e34496 * truncate log 21 år sedan
tokens.pas e417e34496 * truncate log 21 år sedan
verbose.pas 562201e27b * made macos compile 21 år sedan
version.pas bc0c22df82 * back to 1.9.7 for head 21 år sedan
widestr.pas e417e34496 * truncate log 21 år sedan

README

This directory contains the sources of the Free Pascal Compiler

If you want to compile/modify the compiler, please read first the
programmers manual.

To recompile the compiler, you can use the batch files :
+ mppc386.bat if you want to build a cross compiler from i386 to m68k
+ mppcsparc if you want to build a cross compiler from i386 to SPARC

or
Use the make utility as following

make OS_TARGET="compiler OS target" \
CPU_TARGET="compiler CPU target" \
FPCCPUOPT="Optimization level" \
PP="compiler used to compile FPC" \
COMPILER_OPTIONS="Options passed to compiler" \


If an option is omitted, then target CPU/OS will be same as current CPU/OS

Possibles targets are : linux go32v2 win32 os2 freebsd beos netbsd amiga
atari sunos qnx netware openbsd wdosx palmos macos macosx emx

Possible compiler switches (* marks a currently required switch):
-----------------------------------------------------------------
GDB* support of the GNU Debugger
I386 generate a compiler for the Intel i386+
x86_64 generate a compiler for the AMD x86-64 architecture
M68K generate a compiler for the M68000
SPARC generate a compiler for SPARC
POWERPC generate a compiler for the PowerPC
VIS generate a compile for the VIS
DEBUG version with debug code is generated
EXTDEBUG some extra debug code is executed
SUPPORT_MMX only i386: releases the compiler switch
MMX which allows the compiler to generate
MMX instructions
EXTERN_MSG Don't compile the msgfiles in the compiler, always
use external messagefiles, default for TP
NOAG386INT no Intel Assembler output
NOAG386NSM no NASM output
NOAG386BIN leaves out the binary writer, default for TP
NORA386DIR No direct i386 assembler reader
TEST_GENERIC Test Generic version of code generator
(uses generic RTL calls)
-----------------------------------------------------------------
cpuflags The target processor has status flags (on by default)
cpufpemu The target compiler will also support emitting software
floating point operations
cpu64bit The target is a 64-bit processor
-----------------------------------------------------------------

Required switches for a i386 compiler be compiled by Free Pascal Compiler:
GDB;I386

to build a compiler to SPARC target using a Win32/i386 you just use :
make CPU_TARGET=SPARC