peter d3b559cfcc * detect arithmetic overflows for constants at compile time пре 20 година
..
alpha 04c97cc129 * load jmp_buf_size from system unit пре 20 година
arm 04c97cc129 * load jmp_buf_size from system unit пре 20 година
html fa0d3d79e0 no message пре 23 година
i386 6ee925dec8 * spaces in register names пре 20 година
ia64 8a9758c5e2 * logs truncated пре 21 година
m68k 35e466d971 * remove copy_value_on_stack and a_param_copy_ref пре 20 година
msg d3b559cfcc * detect arithmetic overflows for constants at compile time пре 20 година
new c95a859f0a * generic tlocation пре 21 година
powerpc e820bc93f2 * interface wrapper generation moved to cgobj пре 20 година
sparc 4efb72e13d * fixed load64 which shouldn't do a make_simple_ref пре 20 година
systems 0991cb288d * tf_pic_uses_got added пре 20 година
utils b78d92b99d + added support for macos пре 20 година
vis 04c97cc129 * load jmp_buf_size from system unit пре 20 година
x86 0991cb288d * tf_pic_uses_got added пре 20 година
x86_64 e820bc93f2 * interface wrapper generation moved to cgobj пре 20 година
COPYING d4b8a224a1 + Added license to this library пре 21 година
MPWMake a9e90b796f + msg2inc now executed, utils is compiled пре 20 година
Makefile ef3b19b316 * regenerated пре 20 година
Makefile.fpc 26b56d31ce * updated makefile.fpc versions to 1.9.7, regenerated makefiles пре 20 година
README 012af1131e * updated to help compiling the compiler пре 22 година
aasmbase.pas 6fa0391558 * fix for 1.9.4 that IE'd when rebuilding fpc пре 21 година
aasmtai.pas 1cf3aef0f0 * regalloc bind to instructions need to get real ait_instruction пре 21 година
aggas.pas fcde2cab80 * support rodata like data when writing ordinal cosnts пре 21 година
aopt.pas c95a859f0a * generic tlocation пре 21 година
aoptbase.pas 054f6bff3a * fixed missing cgutils usage пре 21 година
aoptcs.pas 8a9758c5e2 * logs truncated пре 21 година
aoptda.pas e04b172854 * fixed generic optimizer пре 21 година
aoptobj.pas 054f6bff3a * fixed missing cgutils usage пре 21 година
assemble.pas dc363f29bc * maybequoted() added пре 20 година
browcol.pas e740a66636 * tparaitem removed, use tparavarsym instead пре 21 година
browlog.pas 6458bd0ce1 * tvarsym splitted пре 21 година
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build пре 25 година
catch.pas d3b559cfcc * detect arithmetic overflows for constants at compile time пре 20 година
cclasses.pas a263b1d40e * GetHeapStatus added, removed MaxAvail,MemAvail,HeapSize пре 21 година
cg64f32.pas b9ca478f50 * multiple location support for i386 a_param_ref пре 20 година
cgbase.pas 5fb0678de2 * fixed class field info alignment пре 20 година
cgobj.pas e820bc93f2 * interface wrapper generation moved to cgobj пре 20 година
cgutils.pas 18f7aa97dd * changed funcret location back to tlocation пре 21 година
charset.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
cmsgs.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
comphook.pas 2f38fbd7c2 * In MPW, whole path to source file is now displayed in messages. пре 20 година
compiler.pas d3b559cfcc * detect arithmetic overflows for constants at compile time пре 20 година
compinnr.inc 4d8460ec2f * float routines all use internproc and compilerproc helpers пре 21 година
comprsrc.pas f5f6d7bf36 + Mac style resource files can now be included in MacOS пре 20 година
cp437.pas effb0aae89 - remove compilation warnings пре 23 година
cp850.pas effb0aae89 - remove compilation warnings пре 23 година
cp8859_1.pas effb0aae89 - remove compilation warnings пре 23 година
crc.pas 8a9758c5e2 * logs truncated пре 21 година
cresstr.pas 636f2ea7c9 * resource ansistrings now use aint for len and ref. count as well пре 21 година
cstreams.pas 8a9758c5e2 * logs truncated пре 21 година
cutils.pas 79c20ebf7d * use val() for decoding integers пре 20 година
defcmp.pas 8f8e6f6809 * widestring patches from Alexey Barkovoy пре 20 година
defutil.pas 8f8e6f6809 * widestring patches from Alexey Barkovoy пре 20 година
dwarf.pas c95a859f0a * generic tlocation пре 21 година
export.pas 8a9758c5e2 * logs truncated пре 21 година
finput.pas e90d8a42e3 * USE_SYSUTILS merged successfully : cycles with and without defines пре 21 година
fmodule.pas 8d251e8506 * unit mapping rewrite пре 20 година
fpcdefs.inc 60e0494a74 * fixed morphos syscall пре 21 година
fppu.pas 8d251e8506 * unit mapping rewrite пре 20 година
gdb.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
gendef.pas 8a9758c5e2 * logs truncated пре 21 година
globals.pas 0fe35da937 * fixed math constants for big endian cpus пре 20 година
globtype.pas cc9534cf41 + added pi bit pattern to the compiler, so pi should always be correct пре 20 година
htypechk.pas b009240860 * fix overload choosing with an qword overload пре 20 година
impdef.pas 4e2e51c4b1 * use SysUtils unit instead of Dos Unit пре 21 година
import.pas 6458bd0ce1 * tvarsym splitted пре 21 година
link.pas f7a03147bb * increased maxsize of ExeCmd and DllCmd пре 20 година
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd пре 24 година
mdppc386.bat 1f4bac4fd0 * delphi fixes пре 24 година
mppc386.bat 07ad807864 * added -FE. to put the PPU's in the compiler dir пре 25 година
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit пре 27 година
mppcsparc 72556ae39f * fix compile problem пре 21 година
msgidx.inc d3b559cfcc * detect arithmetic overflows for constants at compile time пре 20 година
msgtxt.inc d3b559cfcc * detect arithmetic overflows for constants at compile time пре 20 година
nadd.pas d3b559cfcc * detect arithmetic overflows for constants at compile time пре 20 година
nbas.pas 5ee4b9ad24 * use tlocation for tempnodes пре 21 година
ncal.pas 8d251e8506 * unit mapping rewrite пре 20 година
ncgadd.pas 3eb9e80603 * optimized register usage for non-x86 e.g. 3 operand cpus пре 20 година
ncgbas.pas 1c458abb0b * compile fixes for x86_64 пре 21 година
ncgcal.pas 35e466d971 * remove copy_value_on_stack and a_param_copy_ref пре 20 година
ncgcnv.pas bb32ee0457 * fix interface vtbl optimization пре 20 година
ncgcon.pas c95a859f0a * generic tlocation пре 21 година
ncgflw.pas 6458bd0ce1 * tvarsym splitted пре 21 година
ncginl.pas 4d8460ec2f * float routines all use internproc and compilerproc helpers пре 21 година
ncgld.pas 00324d38bf + optimized code generation on sparc пре 20 година
ncgmat.pas c95a859f0a * generic tlocation пре 21 година
ncgmem.pas 2b6456fe16 * procvar handling for tp procvar mode fixed пре 21 година
ncgopt.pas c95a859f0a * generic tlocation пре 21 година
ncgset.pas 655e947521 * better commenting пре 20 година
ncgutil.pas e820bc93f2 * interface wrapper generation moved to cgobj пре 20 година
ncnv.pas f4ec016665 * fix crash with -CR пре 20 година
ncon.pas 8a9758c5e2 * logs truncated пре 21 година
nflw.pas d5091e1817 * fix unreachable code check for repeat loop пре 20 година
ninl.pas 020bbc8913 * another improvement of pi handling пре 20 година
nld.pas 00324d38bf + optimized code generation on sparc пре 20 година
nmat.pas 8a9758c5e2 * logs truncated пре 21 година
nmem.pas ced6bf20cd * fix lineinfo for with blocks пре 20 година
nobj.pas e820bc93f2 * interface wrapper generation moved to cgobj пре 20 година
node.pas 717e3c76c2 * set nf_is_self node flag when self is loaded пре 20 година
nopt.pas 8a9758c5e2 * logs truncated пре 21 година
nset.pas bd04491f50 * patch from Peter to fix inlining of case statements пре 21 година
nstate.pas 8a9758c5e2 * logs truncated пре 21 година
nutils.pas 717e3c76c2 * set nf_is_self node flag when self is loaded пре 20 година
ogbase.pas 169f43ca6a * Dos and cpubase units in uses clause are not needed пре 21 година
ogcoff.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ogelf.pas 8956302482 * Cleanup of writing of relocations to symbols пре 20 година
oglx.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ogmap.pas 8a9758c5e2 * logs truncated пре 21 година
options.pas 79c20ebf7d * use val() for decoding integers пре 20 година
owar.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
owbase.pas 8a9758c5e2 * logs truncated пре 21 година
parabase.pas b9ca478f50 * multiple location support for i386 a_param_ref пре 20 година
paramgr.pas 35e466d971 * remove copy_value_on_stack and a_param_copy_ref пре 20 година
parser.pas d3b559cfcc * detect arithmetic overflows for constants at compile time пре 20 година
pass_1.pas 8a9758c5e2 * logs truncated пре 21 година
pass_2.pas 8a9758c5e2 * logs truncated пре 21 година
pbase.pas 8d251e8506 * unit mapping rewrite пре 20 година
pdecl.pas e820bc93f2 * interface wrapper generation moved to cgobj пре 20 година
pdecobj.pas 65501ac04c * fix invalid typecast пре 20 година
pdecsub.pas 8d251e8506 * unit mapping rewrite пре 20 година
pdecvar.pas 7aa53f09cc * widechararray patch from Peter пре 20 година
pexports.pas 6458bd0ce1 * tvarsym splitted пре 21 година
pexpr.pas 79c20ebf7d * use val() for decoding integers пре 20 година
pinline.pas 2b6456fe16 * procvar handling for tp procvar mode fixed пре 21 година
pmodules.pas e820bc93f2 * interface wrapper generation moved to cgobj пре 20 година
pp.lpi 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pp.pas 8a9758c5e2 * logs truncated пре 21 година
ppc.cfg 9465a13e71 + Delphi 6 configuration file пре 23 година
ppc.conf add30a428e * Kylix fixes, mostly case names of units пре 24 година
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation пре 23 година
ppc.dpr 67486c96c3 * fixes for Delphi 6 compilation пре 23 година
ppheap.pas f0723c54f0 * fixed compile error пре 21 година
ppu.pas 469d1cc5cf + ppu files now has FPas as creator code on MacOS пре 20 година
procinfo.pas c95a859f0a * generic tlocation пре 21 година
pstatmnt.pas ced6bf20cd * fix lineinfo for with blocks пре 20 година
psub.pas 720815e13b * fix aftercosntruction calls, vmt=1 is used to indicate that пре 20 година
psystem.pas 8d251e8506 * unit mapping rewrite пре 20 година
ptconst.pas bb7b812beb * remove multiple typeconvs for procvar пре 20 година
ptype.pas 8d251e8506 * unit mapping rewrite пре 20 година
raatt.pas 79c20ebf7d * use val() for decoding integers пре 20 година
rabase.pas 8a9758c5e2 * logs truncated пре 21 година
rasm.pas 8a9758c5e2 * logs truncated пре 21 година
rautils.pas 79c20ebf7d * use val() for decoding integers пре 20 година
regvars.pas 6792b5ab16 * uppdated in accordance to varregable for OLDREGVARS пре 21 година
rgbase.pas 8a9758c5e2 * logs truncated пре 21 година
rgobj.pas db81b4333a * fatal error when procedure is too complex пре 21 година
scandir.pas ea269120e5 * $COPERATORS added пре 20 година
scanner.pas 79c20ebf7d * use val() for decoding integers пре 20 година
script.pas 8b7e6be55c * missing maybequoted() added for deletion of generated .s files during external assembly пре 20 година
switches.pas c2be1fd337 * made macpas switches in sync with turbo switches пре 20 година
symbase.pas 8d251e8506 * unit mapping rewrite пре 20 година
symconst.pas 7572f3a539 * rework of macro subsystem пре 20 година
symdef.pas e820bc93f2 * interface wrapper generation moved to cgobj пре 20 година
symnot.pas 8a9758c5e2 * logs truncated пре 21 година
symsym.pas 7572f3a539 * rework of macro subsystem пре 20 година
symtable.pas 04c97cc129 * load jmp_buf_size from system unit пре 20 година
symtype.pas 8d251e8506 * unit mapping rewrite пре 20 година
symutil.pas 6458bd0ce1 * tvarsym splitted пре 21 година
systems.pas 0991cb288d * tf_pic_uses_got added пре 20 година
tgobj.pas 18f7aa97dd * changed funcret location back to tlocation пре 21 година
tokens.pas 5908985365 * more SysV call support stuff for MorphOS пре 20 година
verbose.pas 7848d612cd * fixed -vv пре 20 година
version.pas 66d9ada975 * build wordversion from constants пре 20 година
widestr.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година

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