peter 051778da12 * don't use the local longjmp for 1.9.x пре 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 e6929a1a32 * more x86_64 parameter fixes пре 21 година
ia64 a835405a27 * fixed a compilation bug accmulator-->accumulator, in definition of return_result_reg пре 23 година
m68k ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
msg 7065a0d804 * fixed copyright year пре 21 година
new dcd9e0107c * old logs removed and tabs fixed пре 23 година
powerpc be7067445a * fixed to compile the rtl again пре 21 година
sparc 71202a141d * taicpu.is_same_reg_move() now gets a regtype parameter so it only пре 21 година
systems f121f1f7ec * corrected first_param_offset for darwin пре 21 година
utils e741991cfc * support X86_64 and NOX86_64 flags пре 21 година
vis 86bcea6ef5 * Code generator converted to new register notation пре 22 година
x86 e6929a1a32 * more x86_64 parameter fixes пре 21 година
x86_64 e6929a1a32 * more x86_64 parameter fixes пре 21 година
Makefile 6a2a7d4ce6 + arm support in Makefiles improved пре 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 37454274bc * fixed several arm floating point issues пре 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 ee569d7817 * make extcycle is working again пре 21 година
charset.pas 9ed2ce8c12 * removed some notes/hints пре 22 година
checkmem.pas 9ed2ce8c12 * removed some notes/hints пре 22 година
cmsgs.pas de4fa4e7e7 * fixed another couple of arm bugs пре 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 пре 22 година
cstreams.pas 68ce5a00e5 * cg64 patch пре 23 година
cutils.pas 3dfde8c397 * Bugfix on constant strings stab generation. Never worked and still пре 21 година
defcmp.pas d735071838 * Rtti generation moved to ncgutil пре 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 пре 22 година
fmodule.pas fa52c0e3a0 * don't allow duplicate uses пре 22 година
fpcdefs.inc abc41f1c3c * several fixes to parameter handling on arm пре 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 4f90e4afdc + PtrInt declared if VER1_0 пре 21 година
globtype.pas 12aade4e16 * register calling is now default for i386 пре 22 година
htypechk.pas ee569d7817 * make extcycle is working again пре 21 година
impdef.pas 487650ab51 * -XP<prefix> support пре 22 година
import.pas 60978ba89c * aktprocdef renamed to current_procdef пре 22 година
link.pas f7418d3286 * fixed external smartlinking пре 22 година
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 d42f4af064 * give warning that DWORD is used as size in delphi mode when no пре 21 година
msgtxt.inc 6e1d153194 * another fix to flag handling пре 21 година
nadd.pas 465aa5851b * several fixes to compile x86-64 system пре 21 година
nbas.pas 5290787578 * don't put types that need init/fini in register temps пре 21 година
ncal.pas ee569d7817 * make extcycle is working again пре 21 година
ncgadd.pas 8012731ede *** empty log message *** пре 21 година
ncgbas.pas 0b1069b6ab + some more usage of register temps пре 21 година
ncgcal.pas 7b04fdec2e * fix compilation without GDB пре 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 a8450c695d * fixed regvars пре 21 година
ncgmat.pas d7786f6246 * fixed generic shl/shr operations пре 21 година
ncgmem.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
ncgopt.pas 1422985ca0 * Change several $ifdef i386 to x86 пре 21 година
ncgset.pas 9843118433 * fixed for regvars + simplification пре 21 година
ncgutil.pas a8450c695d * fixed regvars пре 21 година
ncnv.pas 465aa5851b * several fixes to compile x86-64 system пре 21 година
ncon.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
nflw.pas 465aa5851b * several fixes to compile x86-64 system пре 21 година
ninl.pas 0b1069b6ab + some more usage of register temps пре 21 година
nld.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
nmat.pas d735071838 * Rtti generation moved to ncgutil пре 21 година
nmem.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
nobj.pas b4bbc5c383 * web bug #2942 fixed: reintroduce isn't necessary in methods of child classes of course пре 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 ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 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 0874e96a94 + FPC_PREFETCH defined пре 21 година
owar.pas 06ebac4e27 * readded missing revisions пре 23 година
owbase.pas 4285e99853 * internal linker пре 23 година
paramgr.pas abc41f1c3c * several fixes to parameter handling on arm пре 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 607b41f22e * except is also an end of block token пре 21 година
pdecl.pas ee569d7817 * make extcycle is working again пре 21 година
pdecobj.pas 5090185909 * global property support for fpc modes пре 22 година
pdecsub.pas 20469d47a0 * Tvarsym.highvarsym removed пре 21 година
pdecvar.pas ee569d7817 * make extcycle is working again пре 21 година
pexports.pas 67486c96c3 * fixes for Delphi 6 compilation пре 23 година
pexpr.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 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 1c7e6fc380 * sparc updates пре 22 година
pstatmnt.pas ecfbbeffc3 * renamed xNNbittype to xNNinttype пре 21 година
psub.pas 3056a64bf0 * fixed regvars support. Needs -doldregvars to activate. Only tested with пре 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 49d1c79f5e * fixed compilation for non-x86 пре 22 година
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 80abe98cf0 * havelinuxrtl10 fixes пре 22 година
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 75e2de9f2c + reintroduce implemented пре 21 година
symdef.pas ee569d7817 * make extcycle is working again пре 21 година
symnot.pas fcabdbbf35 * fixed unitsym-globalsymtable relation so the uses of a unit пре 22 година
symsym.pas 7b04fdec2e * fix compilation without GDB пре 21 година
symtable.pas 7b04fdec2e * fix compilation without GDB пре 21 година
symtype.pas 7b04fdec2e * fix compilation without GDB пре 21 година
symutil.pas 62394e45d7 * moved count_locals from pstatmnt to symutils пре 22 година
systems.pas 35b8e93073 * fixed more alignment issues пре 21 година
tgobj.pas 47f08937e4 * use localalign info for alignment for locals and temps пре 21 година
tokens.pas bbf7300a0c * Florian's culmutative nr. 1; contains: пре 22 година
tpexcept.pas 051778da12 * don't use the local longjmp for 1.9.x пре 21 година
verbose.pas f187323816 * -P to -ap пре 22 година
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