marco fd8927391f * typo fixed 20 tahun lalu
..
alpha e417e34496 * truncate log 20 tahun lalu
arm ec959955bd * fixed generic jumps optimizer and enabled it for ppc (the label table 20 tahun lalu
html fa0d3d79e0 no message 23 tahun lalu
i386 66755db8b4 * fixed web bug #3905 20 tahun lalu
ia64 e417e34496 * truncate log 20 tahun lalu
m68k e417e34496 * truncate log 20 tahun lalu
mips 409eec37c3 * small compilation fix 20 tahun lalu
msg e7abf182c2 + added -Cp to option page 20 tahun lalu
powerpc bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 20 tahun lalu
sparc ec959955bd * fixed generic jumps optimizer and enabled it for ppc (the label table 20 tahun lalu
systems 8ab7863982 * $GCSECTIONS also added to else case 20 tahun lalu
utils fd8927391f * typo fixed 20 tahun lalu
vis e417e34496 * truncate log 20 tahun lalu
x86 0811184277 + pic code reading for the assembler readers 20 tahun lalu
x86_64 20ad7813c2 * fix empty varargs codegeneration for x86_64 20 tahun lalu
COPYING d4b8a224a1 + Added license to this library 21 tahun lalu
MPWMake f60d0b98b7 * Bugfix 20 tahun lalu
Makefile 6cf4eb98c3 * use current fpcmake instead of from 1.9.8 20 tahun lalu
Makefile.fpc 7dadd64723 * 2.0.0 20 tahun lalu
README 012af1131e * updated to help compiling the compiler 22 tahun lalu
aasmbase.pas e417e34496 * truncate log 20 tahun lalu
aasmtai.pas 6c38093871 * fixed spilling for several ppc instructions which only read registers 20 tahun lalu
aggas.pas e417e34496 * truncate log 20 tahun lalu
aopt.pas ec959955bd * fixed generic jumps optimizer and enabled it for ppc (the label table 20 tahun lalu
aoptbase.pas e417e34496 * truncate log 20 tahun lalu
aoptcs.pas e417e34496 * truncate log 20 tahun lalu
aoptda.pas e417e34496 * truncate log 20 tahun lalu
aoptobj.pas ec959955bd * fixed generic jumps optimizer and enabled it for ppc (the label table 20 tahun lalu
assemble.pas e417e34496 * truncate log 20 tahun lalu
browcol.pas e417e34496 * truncate log 20 tahun lalu
browlog.pas e417e34496 * truncate log 20 tahun lalu
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 tahun lalu
catch.pas 1376258f03 * use comphook for fpc exceptions 20 tahun lalu
cclasses.pas 6578fb25bb - removed unused variables 20 tahun lalu
cg64f32.pas dd0664156d * fix passing of 64bit values when using -Or 20 tahun lalu
cgbase.pas e417e34496 * truncate log 20 tahun lalu
cgobj.pas e417e34496 * truncate log 20 tahun lalu
cgutils.pas e417e34496 * truncate log 20 tahun lalu
charset.pas e417e34496 * truncate log 20 tahun lalu
cmsgs.pas e417e34496 * truncate log 20 tahun lalu
comphook.pas a0f2467298 * Made compile on macos 20 tahun lalu
compiler.pas d1e6934a5b * better exception catching 20 tahun lalu
compinnr.inc e417e34496 * truncate log 20 tahun lalu
comprsrc.pas baa6032362 * maybequoted for windres args 20 tahun lalu
cp437.pas effb0aae89 - remove compilation warnings 23 tahun lalu
cp850.pas effb0aae89 - remove compilation warnings 23 tahun lalu
cp8859_1.pas effb0aae89 - remove compilation warnings 23 tahun lalu
crc.pas e417e34496 * truncate log 20 tahun lalu
cresstr.pas e417e34496 * truncate log 20 tahun lalu
cstreams.pas e417e34496 * truncate log 20 tahun lalu
cutils.pas b4304d6fe1 * DeleteFile replaced with RemoveFile to avoid duplicate 20 tahun lalu
defcmp.pas 218930cf11 * support open array to pointer 20 tahun lalu
defutil.pas e417e34496 * truncate log 20 tahun lalu
dwarf.pas a5c94ddccd * removed some unused variables 20 tahun lalu
export.pas e417e34496 * truncate log 20 tahun lalu
finput.pas e417e34496 * truncate log 20 tahun lalu
fmodule.pas e417e34496 * truncate log 20 tahun lalu
fpcdefs.inc 1323b56132 * USECMOV activated 20 tahun lalu
fppu.pas 878c56bad6 * Cleaned up handling of source file extension. 20 tahun lalu
gdb.pas e417e34496 * truncate log 20 tahun lalu
gendef.pas b4304d6fe1 * DeleteFile replaced with RemoveFile to avoid duplicate 20 tahun lalu
globals.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 20 tahun lalu
globtype.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 20 tahun lalu
htypechk.pas f11458e457 allow gettting the address of read-only typedconsts 20 tahun lalu
impdef.pas e417e34496 * truncate log 20 tahun lalu
import.pas e417e34496 * truncate log 20 tahun lalu
link.pas e417e34496 * truncate log 20 tahun lalu
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd 24 tahun lalu
mdppc386.bat 1f4bac4fd0 * delphi fixes 24 tahun lalu
mppc386.bat 07ad807864 * added -FE. to put the PPU's in the compiler dir 25 tahun lalu
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit 27 tahun lalu
mppcsparc 72556ae39f * fix compile problem 21 tahun lalu
msgidx.inc 83fa3bd0cb + output of supported instruction sets in info page 20 tahun lalu
msgtxt.inc 83fa3bd0cb + output of supported instruction sets in info page 20 tahun lalu
nadd.pas c1f4f09911 longword-longword gives int64 20 tahun lalu
nbas.pas 252fa84c62 + compiler support for reading/writing of vararrays 20 tahun lalu
ncal.pas 55e76063df * Fix methodpointer copy from callnode to loadnode 20 tahun lalu
ncgadd.pas 43c5b3fd29 * fixed web bug #3533 20 tahun lalu
ncgbas.pas e417e34496 * truncate log 20 tahun lalu
ncgcal.pas 5db9200128 decr refcnt for out paras 20 tahun lalu
ncgcnv.pas 6cc3dbae94 * fixed web bug #3694 20 tahun lalu
ncgcon.pas e417e34496 * truncate log 20 tahun lalu
ncgflw.pas e417e34496 * truncate log 20 tahun lalu
ncginl.pas 494e190694 * fix register allocation in second_assert 20 tahun lalu
ncgld.pas 1b41aad3a0 remove multiple pass2 calls. It is not supported anymore by all nodes (ttempcreatenode) 20 tahun lalu
ncgmat.pas e417e34496 * truncate log 20 tahun lalu
ncgmem.pas e33bf907d8 * fixed previous commit 20 tahun lalu
ncgopt.pas e417e34496 * truncate log 20 tahun lalu
ncgset.pas e417e34496 * truncate log 20 tahun lalu
ncgutil.pas 12283206d1 named sections for intf wrappers 20 tahun lalu
ncnv.pas 68ac3b0ab2 remove forcing of non-regvar for left node when converting to non-regvar 20 tahun lalu
ncon.pas e417e34496 * truncate log 20 tahun lalu
nflw.pas 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 20 tahun lalu
ninl.pas 2d62e884c8 * only give warnings for uninitialized variables in low()/high() 20 tahun lalu
nld.pas a680ccb389 + variants are now assigned using fpc_variant_copy 20 tahun lalu
nmat.pas 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 20 tahun lalu
nmem.pas e33bf907d8 * fixed previous commit 20 tahun lalu
nobj.pas 736d8fa666 * write nil into the method table for abstract methods 20 tahun lalu
node.pas 6578fb25bb - removed unused variables 20 tahun lalu
nopt.pas e417e34496 * truncate log 20 tahun lalu
nset.pas 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 20 tahun lalu
nstate.pas e417e34496 * truncate log 20 tahun lalu
nutils.pas 55e76063df * Fix methodpointer copy from callnode to loadnode 20 tahun lalu
ogbase.pas e417e34496 * truncate log 20 tahun lalu
ogcoff.pas e417e34496 * truncate log 20 tahun lalu
ogelf.pas e417e34496 * truncate log 20 tahun lalu
oglx.pas e417e34496 * truncate log 20 tahun lalu
ogmap.pas e417e34496 * truncate log 20 tahun lalu
options.pas 83fa3bd0cb + output of supported instruction sets in info page 20 tahun lalu
owar.pas e417e34496 * truncate log 20 tahun lalu
owbase.pas f2861fb260 * fixed deletefile -> removefile 20 tahun lalu
parabase.pas 5edffaf371 * remove is_single_reference 20 tahun lalu
paramgr.pas e417e34496 * truncate log 20 tahun lalu
parser.pas 29bffd83b2 reset compiling_module in doneparser 20 tahun lalu
pass_1.pas e417e34496 * truncate log 20 tahun lalu
pass_2.pas 1b41aad3a0 remove multiple pass2 calls. It is not supported anymore by all nodes (ttempcreatenode) 20 tahun lalu
pbase.pas e417e34496 * truncate log 20 tahun lalu
pdecl.pas e417e34496 * truncate log 20 tahun lalu
pdecobj.pas e250290e57 * allow property in objects in all modes except tp 20 tahun lalu
pdecsub.pas f6442b758c * overloading of assignment operator by different unique result types now possible 20 tahun lalu
pdecvar.pas d24397b6e6 support external <dllname>; also for variables 20 tahun lalu
pexports.pas e417e34496 * truncate log 20 tahun lalu
pexpr.pas 55e76063df * Fix methodpointer copy from callnode to loadnode 20 tahun lalu
pinline.pas 252fa84c62 + compiler support for reading/writing of vararrays 20 tahun lalu
pmodules.pas a5c94ddccd * removed some unused variables 20 tahun lalu
pp.lpi f6442b758c * overloading of assignment operator by different unique result types now possible 20 tahun lalu
pp.pas e417e34496 * truncate log 20 tahun lalu
ppc.cfg 9465a13e71 + Delphi 6 configuration file 23 tahun lalu
ppc.conf add30a428e * Kylix fixes, mostly case names of units 24 tahun lalu
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation 23 tahun lalu
ppc.dpr 67486c96c3 * fixes for Delphi 6 compilation 23 tahun lalu
ppheap.pas e417e34496 * truncate log 20 tahun lalu
ppu.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 20 tahun lalu
procinfo.pas e417e34496 * truncate log 20 tahun lalu
pstatmnt.pas 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 20 tahun lalu
psub.pas e417e34496 * truncate log 20 tahun lalu
psystem.pas e417e34496 * truncate log 20 tahun lalu
ptconst.pas e417e34496 * truncate log 20 tahun lalu
ptype.pas 0ae80eea41 * allow enum arithmetics inside an enum def, compatible with delphi 20 tahun lalu
raatt.pas e417e34496 * truncate log 20 tahun lalu
rabase.pas e417e34496 * truncate log 20 tahun lalu
rasm.pas e417e34496 * truncate log 20 tahun lalu
rautils.pas e417e34496 * truncate log 20 tahun lalu
regvars.pas e417e34496 * truncate log 20 tahun lalu
rgbase.pas e417e34496 * truncate log 20 tahun lalu
rgobj.pas 41c253b65d * during spilling only add deallocs to live_registers that belong 20 tahun lalu
scandir.pas e417e34496 * truncate log 20 tahun lalu
scanner.pas 83ac6eeaad * 32 -> 64 bit cross compilation fixed 20 tahun lalu
script.pas e417e34496 * truncate log 20 tahun lalu
switches.pas e417e34496 * truncate log 20 tahun lalu
symbase.pas e417e34496 * truncate log 20 tahun lalu
symconst.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 20 tahun lalu
symdef.pas 09b0fe36fb + made variant publishable 20 tahun lalu
symnot.pas e417e34496 * truncate log 20 tahun lalu
symsym.pas aee4b7bcf7 * also set intsize for paralocs written to ppu 20 tahun lalu
symtable.pas b068bfbfc4 + reset in InitSymtable some global vars to avoid trouble with the ide 20 tahun lalu
symtype.pas 100a47e6af * fix protected checking 20 tahun lalu
symutil.pas e417e34496 * truncate log 20 tahun lalu
systems.pas 878c56bad6 * Cleaned up handling of source file extension. 20 tahun lalu
tgobj.pas e417e34496 * truncate log 20 tahun lalu
tokens.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 20 tahun lalu
verbose.pas 9843416e70 * always use exceptions to stop the compiler 20 tahun lalu
version.pas f39de307c5 + Back to 1.9.9 for snapshot generation 20 tahun lalu
widestr.pas e417e34496 * truncate log 20 tahun lalu

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