peter d9e0521b8d * use UNIXHier hace 21 años
..
alpha 4fecc1a56f * big transformation of Tai_[const_]Symbol.Create[data]name* hace 22 años
arm c68ea95074 + syscall directive support for MorphOS added hace 21 años
html fa0d3d79e0 no message hace 23 años
i386 7dd6b85e01 * fix shl/shr with value > 63 hace 21 años
ia64 a835405a27 * fixed a compilation bug accmulator-->accumulator, in definition of return_result_reg hace 23 años
m68k b5bf8cefad + <pointer> - <pointer> result is divided by the pointer element size now hace 21 años
msg 9a0a2ccd81 * give error when goto jumps to label outside current proc scope hace 21 años
new dcd9e0107c * old logs removed and tabs fixed hace 23 años
powerpc 7f889b8529 * fixed web bug #3103: the fpu conversion code couldn't deal with offsets hace 21 años
sparc c68ea95074 + syscall directive support for MorphOS added hace 21 años
systems f9141c8d5e * fix for IE hace 21 años
utils 423fde7ac6 * regenerated hace 21 años
vis 86bcea6ef5 * Code generator converted to new register notation hace 23 años
x86 5358278ca1 tai_regalloc.allocation changed to ratype to notify rgobj of register size changes hace 21 años
x86_64 c68ea95074 + syscall directive support for MorphOS added hace 21 años
Makefile d9e0521b8d * use UNIXHier hace 21 años
Makefile.fpc d9e0521b8d * use UNIXHier hace 21 años
README 012af1131e * updated to help compiling the compiler hace 22 años
aasmbase.pas 2b7ad259b9 + added type similarity check in newasmsymbol hace 22 años
aasmtai.pas d2bed9e608 * ignore marker block when checking for empty list hace 21 años
aggas.pas 5358278ca1 tai_regalloc.allocation changed to ratype to notify rgobj of register size changes hace 21 años
aopt.pas 4285e99853 * internal linker hace 23 años
aoptbase.pas 07783d2a0d * powerpc target fixed, very simple units can be compiled hace 23 años
aoptcs.pas c4ddcc78a8 * generic constructor working for i386 hace 23 años
aoptda.pas 1422985ca0 * Change several $ifdef i386 to x86 hace 22 años
aoptobj.pas 1422985ca0 * Change several $ifdef i386 to x86 hace 22 años
assemble.pas 3c8d4c8f11 * set correct n_line type when starting new .o file by passing hace 21 años
browcol.pas e46cdcea48 * constants ordinals now always have a type assigned hace 22 años
browlog.pas b9168c3cf0 * fixed compile with -CR hace 22 años
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build hace 26 años
catch.pas 80abe98cf0 * havelinuxrtl10 fixes hace 22 años
cclasses.pas 0ce74fb1bc * count fixes for tlinkedlist hace 21 años
cg64f32.pas 3ab069324a * op_const_reg_reg with OP_SAR fixed hace 22 años
cg64f64.pas f936718fa1 * x86-64 compilation fixed hace 22 años
cgbase.pas fabb9c33ac * top_symbol killed hace 22 años
cgobj.pas 5358278ca1 tai_regalloc.allocation changed to ratype to notify rgobj of register size changes hace 21 años
cgutils.pas fabb9c33ac * top_symbol killed hace 22 años
charset.pas 9ed2ce8c12 * removed some notes/hints hace 22 años
cmsgs.pas 4e89e4be76 * Message system uses open arrays internally hace 22 años
comphook.pas fd278ee582 * print lineinfo for internalerror hace 22 años
compiler.pas 85bed883ce * another bunch of x86-64 fixes mainly calling convention and hace 22 años
compinnr.inc e35b683e4d + added prefetch(const mem) support hace 22 años
comprsrc.pas 0210c33f15 * fixed resource compiler search if no utilty directory was given hace 22 años
cp437.pas effb0aae89 - remove compilation warnings hace 23 años
cp850.pas effb0aae89 - remove compilation warnings hace 23 años
cp8859_1.pas effb0aae89 - remove compilation warnings hace 23 años
crc.pas 06ebac4e27 * readded missing revisions hace 23 años
cresstr.pas c96ba04d84 * fixed qword(longint) that removed sign from the number hace 21 años
cstreams.pas 68ce5a00e5 * cg64 patch hace 23 años
cutils.pas fac96dd2ed fix range check error when array size > maxlongint hace 21 años
defcmp.pas 73867aa44c * voidpointer can be converted to dynarray hace 21 años
defutil.pas e8098f6b71 + added lib support for Amiga/MorphOS syscalls hace 21 años
depend e525797c51 * updated copyright to 2000 hace 26 años
dmisc.pas 67486c96c3 * fixes for Delphi 6 compilation hace 23 años
export.pas eb2ca8d10f * rewrote the system handling hace 23 años
finput.pas 3677577d9f * check with fileexists() before opening a file hace 22 años
fmodule.pas abbd54f334 * stabs updates to write stabs for def for all implictly used hace 22 años
fpcdefs.inc 74501ae73f * some alignment issues resolved hace 22 años
fppu.pas b0b02f0d09 * bugfix in [read|write]asmsymbols for data and address labels hace 22 años
gdb.pas abbd54f334 * stabs updates to write stabs for def for all implictly used hace 22 años
gendef.pas 8e7124f9f8 + emx target added hace 23 años
globals.pas e5625e3af4 * changed $mode mac to $mode macpas hace 21 años
globtype.pas 72365ec95b * implicit_finally flag must be set in pass1 hace 21 años
htypechk.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
impdef.pas 88419cd6b0 * compilation fixes + *w tools renamed to * hace 22 años
import.pas 60978ba89c * aktprocdef renamed to current_procdef hace 22 años
link.pas f11951edf2 * increased maxsize of link.res file name hace 22 años
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd hace 25 años
mdppc386.bat 1f4bac4fd0 * delphi fixes hace 24 años
mppc386.bat 07ad807864 * added -FE. to put the PPU's in the compiler dir hace 25 años
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit hace 27 años
mppcsparc 7b3bf8898a + add debug info to produced programs hace 22 años
msgidx.inc 9a0a2ccd81 * give error when goto jumps to label outside current proc scope hace 21 años
msgtxt.inc 9a0a2ccd81 * give error when goto jumps to label outside current proc scope hace 21 años
nadd.pas d6b865167c + added set of widechar support (limited to 256 chars, is delphi compatible) hace 21 años
nbas.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
ncal.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
ncgadd.pas c9ae483263 * use op_ordinal for dynarr compares hace 22 años
ncgbas.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
ncgcal.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
ncgcnv.pas b721e5872c * Prepare compiler infrastructure for multiple ansistring types hace 21 años
ncgcon.pas b721e5872c * Prepare compiler infrastructure for multiple ansistring types hace 21 años
ncgflw.pas 207e3b1231 * cleaner temp get/unget for exceptions hace 22 años
ncginl.pas 5358278ca1 tai_regalloc.allocation changed to ratype to notify rgobj of register size changes hace 21 años
ncgld.pas 5358278ca1 tai_regalloc.allocation changed to ratype to notify rgobj of register size changes hace 21 años
ncgmat.pas d7786f6246 * fixed generic shl/shr operations hace 22 años
ncgmem.pas b721e5872c * Prepare compiler infrastructure for multiple ansistring types hace 21 años
ncgopt.pas 5358278ca1 tai_regalloc.allocation changed to ratype to notify rgobj of register size changes hace 21 años
ncgset.pas fabb9c33ac * top_symbol killed hace 22 años
ncgutil.pas c96ba04d84 * fixed qword(longint) that removed sign from the number hace 21 años
ncnv.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
ncon.pas b721e5872c * Prepare compiler infrastructure for multiple ansistring types hace 21 años
nflw.pas f2306a7ded * remvoe writeln hace 21 años
ninl.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
nld.pas b721e5872c * Prepare compiler infrastructure for multiple ansistring types hace 21 años
nmat.pas c25228226d * don't change sign for unsigned shl/shr operations hace 21 años
nmem.pas b721e5872c * Prepare compiler infrastructure for multiple ansistring types hace 21 años
nobj.pas b7d006777c * vtbls are now properly aligned hace 22 años
node.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
nopt.pas 2258e941af + inlined procedures inherit procinfo flags hace 22 años
nset.pas 6b96b70118 * fixed operator overload allowing for pointer-string hace 22 años
nstate.pas dcd9e0107c * old logs removed and tabs fixed hace 23 años
nutils.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
ogbase.pas 9ed2ce8c12 * removed some notes/hints hace 22 años
ogcoff.pas 29a382388e * fix range check error after previous commit hace 22 años
ogelf.pas 9ed2ce8c12 * removed some notes/hints hace 22 años
oglx.pas dcd9e0107c * old logs removed and tabs fixed hace 23 años
ogmap.pas 9ed2ce8c12 * removed some notes/hints hace 22 años
options.pas 5168141540 * m68k compiler compilation fixed hace 21 años
owar.pas ab9f272431 strip path from filenames of members, because win32 changes .\ to ./ for long filenames hace 21 años
owbase.pas 4285e99853 * internal linker hace 23 años
paramgr.pas a7478ee97f + location support for arguments, currently PowerPC/MorphOS only hace 21 años
parser.pas 3175dd4c6b * few small changes to add syscall support to M68k/Amiga target hace 21 años
pass_1.pas 72365ec95b * implicit_finally flag must be set in pass1 hace 21 años
pass_2.pas 72365ec95b * implicit_finally flag must be set in pass1 hace 21 años
pbase.pas ce11762359 - Comment out unused tokenstring function hace 22 años
pdecl.pas e46cdcea48 * constants ordinals now always have a type assigned hace 22 años
pdecobj.pas f8679b77ef * fix crash when method is not declared in object declaration hace 22 años
pdecsub.pas 6bac8ebcfd * fixed 3114 hace 21 años
pdecvar.pas 51452c1e1b * fix calling convention problem when parsing default value before hace 21 años
pexports.pas f6a28d1513 index number generation for mixed index-nonindexed fixed, patch by Pavel V. Ozerski hace 21 años
pexpr.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
pinline.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
pmodules.pas a3c4abf4a7 * initialize errorsym/errortype.def.owner to prevent crashes hace 21 años
pp.lpi 4a0a19d733 + added to use Lazarus debugging compiler hace 22 años
pp.pas 331cdcf3be * checkmem remvoed hace 21 años
ppc.cfg 9465a13e71 + Delphi 6 configuration file hace 23 años
ppc.conf add30a428e * Kylix fixes, mostly case names of units hace 24 años
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation hace 23 años
ppc.dpr 67486c96c3 * fixes for Delphi 6 compilation hace 23 años
ppheap.pas 3390a23c26 * fix compilation failure hace 23 años
ppu.pas c553f6b320 * add DEBUGINFO symbol to reference the .o file that includes the hace 21 años
procinfo.pas 61f15e4ec4 * make cycle fixed hace 22 años
pstatmnt.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
psub.pas b86f2c6a25 * methodpointer is loaded into a temp when it was a calln hace 21 años
psystem.pas b721e5872c * Prepare compiler infrastructure for multiple ansistring types hace 21 años
ptconst.pas c96ba04d84 * fixed qword(longint) that removed sign from the number hace 21 años
ptype.pas e661df03ee * fixes to previous constant integer commit hace 22 años
raatt.pas 4fecc1a56f * big transformation of Tai_[const_]Symbol.Create[data]name* hace 22 años
rabase.pas 35b8e93073 * fixed more alignment issues hace 22 años
rasm.pas 1af574ceca * assembler readers OOPed hace 22 años
rautils.pas 5168141540 * m68k compiler compilation fixed hace 21 años
regvars.pas 9495f77117 - removed taicpu.is_reg_move because it's not used anymore hace 22 años
rgbase.pas 3b743d766b * fixed ppc assembler reader hace 22 años
rgobj.pas 5358278ca1 tai_regalloc.allocation changed to ratype to notify rgobj of register size changes hace 21 años
scandir.pas 06448271ff * $message directive compatible with delphi hace 21 años
scanner.pas fed62c2f70 * Patch from Christian Iversen to support sizeof() in preprocessor hace 21 años
script.pas d8bb302b0f + Status checks in scripts hace 22 años
switches.pas bd07b65cfd * don't turn off debuginfo when line info is requested hace 22 años
symbase.pas 61f15e4ec4 * make cycle fixed hace 22 años
symconst.pas b6e86be8de * tprocinfoflag moved to globtype hace 21 años
symdef.pas 74e8ba82da * removed unused voidprocdef hace 21 años
symnot.pas fcabdbbf35 * fixed unitsym-globalsymtable relation so the uses of a unit hace 22 años
symsym.pas b151676e8a quote all low ascii chars in stabs hace 21 años
symtable.pas 6245066670 * don't generate incompatible types when there is an errordef hace 21 años
symtype.pas c96ba04d84 * fixed qword(longint) that removed sign from the number hace 21 años
symutil.pas e46cdcea48 * constants ordinals now always have a type assigned hace 22 años
systems.pas b5bf8cefad + <pointer> - <pointer> result is divided by the pointer element size now hace 21 años
tgobj.pas 47f08937e4 * use localalign info for alignment for locals and temps hace 22 años
tokens.pas 758c940518 + added language constructs UNIV, C, ... for mode mac hace 21 años
tpexcept.pas 051778da12 * don't use the local longjmp for 1.9.x hace 22 años
verbose.pas 308fb06407 * fix crashes with 1.0.x hace 22 años
version.pas fc60443584 * version changed to 1.9.3 hace 22 años
widestr.pas 12efb6d19e * strlenint is replaced with sizeint hace 21 años

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