daniel ca593dede2 * Escape newlines in constant string stabs пре 21 година
..
alpha a835405a27 * fixed a compilation bug accmulator-->accumulator, in definition of return_result_reg пре 23 година
arm bde158d4b5 * small compilation fix пре 21 година
html fa0d3d79e0 no message пре 23 година
i386 0c35b6f3c4 * x86_64 uses generic concatcopy_valueopenarray for now пре 21 година
ia64 a835405a27 * fixed a compilation bug accmulator-->accumulator, in definition of return_result_reg пре 23 година
m68k ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
msg 1d8b4661b8 * message about illegal type conversion reports now the types пре 21 година
new dcd9e0107c * old logs removed and tabs fixed пре 23 година
powerpc 06a33abebd * fixed arg. area calculation пре 21 година
sparc 71202a141d * taicpu.is_same_reg_move() now gets a regtype parameter so it only пре 21 година
systems 8bfb707401 * tf_need_symbol_size added пре 21 година
utils 6bf9276a38 Makefiles regenerated пре 21 година
vis 86bcea6ef5 * Code generator converted to new register notation пре 22 година
x86 01d16548f4 * fixed exception reason size for 64 bit systems пре 21 година
x86_64 01d16548f4 * fixed exception reason size for 64 bit systems пре 21 година
Makefile 219b34e03e * Makefiles regenerated пре 21 година
Makefile.fpc 6a2a7d4ce6 + arm support in Makefiles improved пре 21 година
README 012af1131e * updated to help compiling the compiler пре 22 година
aasmbase.pas 8ff5792776 * remove some unit dependencies пре 22 година
aasmtai.pas 71202a141d * taicpu.is_same_reg_move() now gets a regtype parameter so it only пре 21 година
aggas.pas 8bfb707401 * tf_need_symbol_size added пре 21 година
aopt.pas 4285e99853 * internal linker пре 23 година
aoptbase.pas 07783d2a0d * powerpc target fixed, very simple units can be compiled пре 23 година
aoptcs.pas c4ddcc78a8 * generic constructor working for i386 пре 22 година
aoptda.pas 1422985ca0 * Change several $ifdef i386 to x86 пре 21 година
aoptobj.pas 1422985ca0 * Change several $ifdef i386 to x86 пре 21 година
assemble.pas 1422985ca0 * Change several $ifdef i386 to x86 пре 21 година
browcol.pas 70fe77ca7c * procinfo unit contains tprocinfo пре 22 година
browlog.pas b9168c3cf0 * fixed compile with -CR пре 21 година
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build пре 25 година
catch.pas 80abe98cf0 * havelinuxrtl10 fixes пре 22 година
cclasses.pas 7a6b6f4bd4 * Some minor stuff пре 21 година
cg64f32.pas 3ab069324a * op_const_reg_reg with OP_SAR fixed пре 21 година
cg64f64.pas f936718fa1 * x86-64 compilation fixed пре 21 година
cgbase.pas e6929a1a32 * more x86_64 parameter fixes пре 21 година
cgobj.pas e7399ee666 * handling of float parameters passed in mm registers fixed пре 21 година
charset.pas 9ed2ce8c12 * removed some notes/hints пре 22 година
checkmem.pas 9ed2ce8c12 * removed some notes/hints пре 22 година
cmsgs.pas 4e89e4be76 * Message system uses open arrays internally пре 21 година
comphook.pas fd278ee582 * print lineinfo for internalerror пре 22 година
compiler.pas 85bed883ce * another bunch of x86-64 fixes mainly calling convention and пре 21 година
compinnr.inc e35b683e4d + added prefetch(const mem) support пре 21 година
comprsrc.pas 0210c33f15 * fixed resource compiler search if no utilty directory was given пре 22 година
cp437.pas effb0aae89 - remove compilation warnings пре 23 година
cp850.pas effb0aae89 - remove compilation warnings пре 23 година
cp8859_1.pas effb0aae89 - remove compilation warnings пре 23 година
crc.pas 06ebac4e27 * readded missing revisions пре 23 година
cresstr.pas a3cd612259 * fixed error message, if a resource file can't be written пре 21 година
cstreams.pas 68ce5a00e5 * cg64 patch пре 23 година
cutils.pas ca593dede2 * Escape newlines in constant string stabs пре 21 година
defcmp.pas da60da7f06 * allow real_2_real conversion for realconstn, fixes 2971 пре 21 година
defutil.pas 8c5b0f7d82 * first try to get cpupara working for x86_64 пре 21 година
depend e525797c51 * updated copyright to 2000 пре 26 година
dmisc.pas 67486c96c3 * fixes for Delphi 6 compilation пре 23 година
export.pas eb2ca8d10f * rewrote the system handling пре 23 година
finput.pas 3677577d9f * check with fileexists() before opening a file пре 21 година
fmodule.pas fa52c0e3a0 * don't allow duplicate uses пре 22 година
fpcdefs.inc 1e3875ad36 - fix rtti generation for properties containing sl_vec пре 21 година
fppu.pas c96538d24d * fix remembering path of main source file пре 21 година
gdb.pas fcabdbbf35 * fixed unitsym-globalsymtable relation so the uses of a unit пре 22 година
gendef.pas 8e7124f9f8 + emx target added пре 22 година
globals.pas dfa6403a70 + Support for Link on target especially for MacOS пре 21 година
globtype.pas 9a83a21c64 * pthread on -CURRENT related fixes. пре 21 година
htypechk.pas a4732d1009 * widestring conversions added to allowed operator check пре 21 година
impdef.pas 88419cd6b0 * compilation fixes + *w tools renamed to * пре 21 година
import.pas 60978ba89c * aktprocdef renamed to current_procdef пре 22 година
link.pas dfa6403a70 + Support for Link on target especially for MacOS пре 21 година
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 6294931f73 + add more dirs in include path пре 22 година
msgidx.inc 1d8b4661b8 * message about illegal type conversion reports now the types пре 21 година
msgtxt.inc 1d8b4661b8 * message about illegal type conversion reports now the types пре 21 година
nadd.pas 3ea87ad054 * Avoid memory allocation and string copying пре 21 година
nbas.pas 5290787578 * don't put types that need init/fini in register temps пре 21 година
ncal.pas c844c5a505 * procvar cleanup пре 21 година
ncgadd.pas 8012731ede *** empty log message *** пре 21 година
ncgbas.pas 0b1069b6ab + some more usage of register temps пре 21 година
ncgcal.pas c57e542a81 * Fixed memory leak пре 21 година
ncgcnv.pas 465aa5851b * several fixes to compile x86-64 system пре 21 година
ncgcon.pas 37454274bc * fixed several arm floating point issues пре 21 година
ncgflw.pas ee569d7817 * make extcycle is working again пре 21 година
ncginl.pas 571d853415 * fixed (hopefully) the ansistring length bug пре 21 година
ncgld.pas 0c35b6f3c4 * x86_64 uses generic concatcopy_valueopenarray for now пре 21 година
ncgmat.pas d7786f6246 * fixed generic shl/shr operations пре 21 година
ncgmem.pas c844c5a505 * procvar cleanup пре 21 година
ncgopt.pas 1422985ca0 * Change several $ifdef i386 to x86 пре 21 година
ncgset.pas 9843118433 * fixed for regvars + simplification пре 21 година
ncgutil.pas 01d16548f4 * fixed exception reason size for 64 bit systems пре 21 година
ncnv.pas 1d8b4661b8 * message about illegal type conversion reports now the types пре 21 година
ncon.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
nflw.pas 465aa5851b * several fixes to compile x86-64 system пре 21 година
ninl.pas c844c5a505 * procvar cleanup пре 21 година
nld.pas 90830261ed * fixed compiler err пре 21 година
nmat.pas d735071838 * Rtti generation moved to ncgutil пре 21 година
nmem.pas c844c5a505 * procvar cleanup пре 21 година
nobj.pas 06a33abebd * fixed arg. area calculation пре 21 година
node.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
nopt.pas 2258e941af + inlined procedures inherit procinfo flags пре 22 година
nset.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
nstate.pas dcd9e0107c * old logs removed and tabs fixed пре 23 година
nutils.pas c844c5a505 * procvar cleanup пре 21 година
ogbase.pas 9ed2ce8c12 * removed some notes/hints пре 22 година
ogcoff.pas 29a382388e * fix range check error after previous commit пре 22 година
ogelf.pas 9ed2ce8c12 * removed some notes/hints пре 22 година
oglx.pas dcd9e0107c * old logs removed and tabs fixed пре 23 година
ogmap.pas 9ed2ce8c12 * removed some notes/hints пре 22 година
options.pas 00dbe6655d + nx86set added пре 21 година
owar.pas 06ebac4e27 * readded missing revisions пре 23 година
owbase.pas 4285e99853 * internal linker пре 23 година
paramgr.pas eaa8405a15 * temp. fix for lochigh para пре 21 година
parser.pas d735071838 * Rtti generation moved to ncgutil пре 21 година
pass_1.pas 70fe77ca7c * procinfo unit contains tprocinfo пре 22 година
pass_2.pas f663d2488f * cross unit inlining fixed пре 22 година
pbase.pas ce11762359 - Comment out unused tokenstring function пре 21 година
pdecl.pas 4e89e4be76 * Message system uses open arrays internally пре 21 година
pdecobj.pas 5090185909 * global property support for fpc modes пре 22 година
pdecsub.pas f967fa5f74 * use sp_internal flag to silence unused internal variable пре 21 година
pdecvar.pas c844c5a505 * procvar cleanup пре 21 година
pexports.pas 67486c96c3 * fixes for Delphi 6 compilation пре 23 година
pexpr.pas c844c5a505 * procvar cleanup пре 21 година
pinline.pas 0b1069b6ab + some more usage of register temps пре 21 година
pmodules.pas 42f9b1b0e2 * Removed not very usefull nextglobal & previousglobal fields from пре 21 година
pp.pas 9bdd9c4012 * when compiled with -dnocatch, known rtes aren't translated anymore пре 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 3390a23c26 * fix compilation failure пре 23 година
ppu.pas 35b8e93073 * fixed more alignment issues пре 21 година
procinfo.pas 06a33abebd * fixed arg. area calculation пре 21 година
pstatmnt.pas c844c5a505 * procvar cleanup пре 21 година
psub.pas 06a33abebd * fixed arg. area calculation пре 21 година
psystem.pas d735071838 * Rtti generation moved to ncgutil пре 21 година
ptconst.pas 46d241a666 * Take advantage of our new with statement optimization пре 21 година
ptype.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
raatt.pas 46d241a666 * Take advantage of our new with statement optimization пре 21 година
rabase.pas 35b8e93073 * fixed more alignment issues пре 21 година
rasm.pas 1af574ceca * assembler readers OOPed пре 22 година
rautils.pas b23904af2a * Micro-optimizations пре 21 година
regvars.pas 9495f77117 - removed taicpu.is_reg_move because it's not used anymore пре 21 година
rgbase.pas 3b743d766b * fixed ppc assembler reader пре 22 година
rgobj.pas ee569d7817 * make extcycle is working again пре 21 година
scandir.pas 8caaa7740d * more record alignment fixes пре 21 година
scanner.pas d47da881ed * Better fix for case sensitive macro handling пре 21 година
script.pas dfa6403a70 + Support for Link on target especially for MacOS пре 21 година
switches.pas bd07b65cfd * don't turn off debuginfo when line info is requested пре 22 година
symbase.pas d735071838 * Rtti generation moved to ncgutil пре 21 година
symconst.pas f967fa5f74 * use sp_internal flag to silence unused internal variable пре 21 година
symdef.pas 0750bd97e5 * Revert my latest change пре 21 година
symnot.pas fcabdbbf35 * fixed unitsym-globalsymtable relation so the uses of a unit пре 22 година
symsym.pas ca593dede2 * Escape newlines in constant string stabs пре 21 година
symtable.pas c844c5a505 * procvar cleanup пре 21 година
symtype.pas 7b04fdec2e * fix compilation without GDB пре 21 година
symutil.pas 62394e45d7 * moved count_locals from pstatmnt to symutils пре 22 година
systems.pas 8bfb707401 * tf_need_symbol_size added пре 21 година
tgobj.pas 47f08937e4 * use localalign info for alignment for locals and temps пре 21 година
tokens.pas 2835ed1b55 * Enable threadvars for all modes пре 21 година
tpexcept.pas 051778da12 * don't use the local longjmp for 1.9.x пре 21 година
verbose.pas 4e89e4be76 * Message system uses open arrays internally пре 21 година
version.pas fc60443584 * version changed to 1.9.3 пре 21 година
widestr.pas 67486c96c3 * fixes for Delphi 6 compilation пре 23 година

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