florian 239db4ba9d * marked o* registers as volatile пре 21 година
..
alpha c95a859f0a * generic tlocation пре 21 година
arm 42e14b6825 + additional extdebug check for wrong add_reg_instructions added пре 21 година
html fa0d3d79e0 no message пре 23 година
i386 f80f3fc0fa * shortstr compare with empty string fixed пре 21 година
ia64 8a9758c5e2 * logs truncated пре 21 година
m68k c95a859f0a * generic tlocation пре 21 година
msg bc59556a41 * $fpctarget expands to <cpu>-<os> пре 21 година
new c95a859f0a * generic tlocation пре 21 година
powerpc c95a859f0a * generic tlocation пре 21 година
sparc 239db4ba9d * marked o* registers as volatile пре 21 година
systems 7e778c5d78 * fixed dyn. linker handling пре 21 година
utils 135be09271 * fixed possible problem with null termination пре 21 година
vis c95a859f0a * generic tlocation пре 21 година
x86 33494a7775 * fix possible range error пре 21 година
x86_64 b8eb638978 * cg64f64 isn't used anymore пре 21 година
Makefile 86f78c7300 * units are now created in separate directory units/cpu-os/ пре 21 година
Makefile.fpc 86f78c7300 * units are now created in separate directory units/cpu-os/ пре 21 година
README 012af1131e * updated to help compiling the compiler пре 22 година
aasmbase.pas 9b00c7832e * support > 32bit accesses for x86_64 пре 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 c95a859f0a * generic tlocation пре 21 година
browcol.pas 8a0fb3becf * use SysUtils unit instead of Dos Unit пре 21 година
browlog.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build пре 26 година
catch.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
cclasses.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
cg64f32.pas c95a859f0a * generic tlocation пре 21 година
cgbase.pas c95a859f0a * generic tlocation пре 21 година
cgobj.pas 143b4a8cb1 * <signed type> to qword range check for 64 bit targets fixed пре 21 година
cgutils.pas 73c30d6579 * fixed arm compilation with cgutils пре 21 година
charset.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
cmsgs.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
comphook.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
compiler.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
compinnr.inc ff36adb056 + macpas style: exit, cycle, leave пре 21 година
comprsrc.pas e90d8a42e3 * USE_SYSUTILS merged successfully : cycles with and without defines пре 21 година
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 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
defcmp.pas 91a00b5344 * procvar arguments need to be at least equal пре 21 година
defutil.pas 9b00c7832e * support > 32bit accesses for x86_64 пре 21 година
depend e525797c51 * updated copyright to 2000 пре 26 година
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 088892de9b use filepos of main when generating the module stabs пре 21 година
fpcdefs.inc bc59556a41 * $fpctarget expands to <cpu>-<os> пре 21 година
fppu.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
gdb.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
gendef.pas 8a9758c5e2 * logs truncated пре 21 година
globals.pas caa87a23ec * fixed arm compilation пре 21 година
globtype.pas c95a859f0a * generic tlocation пре 21 година
htypechk.pas 6a0aa09b20 * give IE instead of crash when no procsym is passed for calln пре 21 година
impdef.pas 4e2e51c4b1 * use SysUtils unit instead of Dos Unit пре 21 година
import.pas 8a9758c5e2 * logs truncated пре 21 година
link.pas 589dd8c10e First check outputunitdir/outputexedir for .o file пре 21 година
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd пре 25 година
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 bc59556a41 * $fpctarget expands to <cpu>-<os> пре 21 година
msgtxt.inc bc59556a41 * $fpctarget expands to <cpu>-<os> пре 21 година
nadd.pas 2e161c5e9e * nf_internal flag for internal inserted typeconvs. This will пре 21 година
nbas.pas c95a859f0a * generic tlocation пре 21 година
ncal.pas 2e161c5e9e * nf_internal flag for internal inserted typeconvs. This will пре 21 година
ncgadd.pas 73c30d6579 * fixed arm compilation with cgutils пре 21 година
ncgbas.pas c95a859f0a * generic tlocation пре 21 година
ncgcal.pas 73c30d6579 * fixed arm compilation with cgutils пре 21 година
ncgcnv.pas 73c30d6579 * fixed arm compilation with cgutils пре 21 година
ncgcon.pas c95a859f0a * generic tlocation пре 21 година
ncgflw.pas adb6f59eef * small regvar fixes пре 21 година
ncginl.pas c95a859f0a * generic tlocation пре 21 година
ncgld.pas f02ebed09e * support @labelsym пре 21 година
ncgmat.pas c95a859f0a * generic tlocation пре 21 година
ncgmem.pas 9b00c7832e * support > 32bit accesses for x86_64 пре 21 година
ncgopt.pas c95a859f0a * generic tlocation пре 21 година
ncgset.pas c95a859f0a * generic tlocation пре 21 година
ncgutil.pas 79e754cb8c forgot if cs_debuginfo пре 21 година
ncnv.pas 14197fb830 * copy totype field in ttypeconvnode.getcopy() пре 21 година
ncon.pas 8a9758c5e2 * logs truncated пре 21 година
nflw.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ninl.pas 2e161c5e9e * nf_internal flag for internal inserted typeconvs. This will пре 21 година
nld.pas 2e161c5e9e * nf_internal flag for internal inserted typeconvs. This will пре 21 година
nmat.pas 8a9758c5e2 * logs truncated пре 21 година
nmem.pas 2e161c5e9e * nf_internal flag for internal inserted typeconvs. This will пре 21 година
nobj.pas 3eebc18aab * fixed writing of methodtable пре 21 година
node.pas 2e161c5e9e * nf_internal flag for internal inserted typeconvs. This will пре 21 година
nopt.pas 8a9758c5e2 * logs truncated пре 21 година
nset.pas 8a9758c5e2 * logs truncated пре 21 година
nstate.pas 8a9758c5e2 * logs truncated пре 21 година
nutils.pas 2e161c5e9e * nf_internal flag for internal inserted typeconvs. This will пре 21 година
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 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
oglx.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ogmap.pas 8a9758c5e2 * logs truncated пре 21 година
options.pas f80f3fc0fa * shortstr compare with empty string fixed пре 21 година
owar.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
owbase.pas 8a9758c5e2 * logs truncated пре 21 година
parabase.pas c95a859f0a * generic tlocation пре 21 година
paramgr.pas c95a859f0a * generic tlocation пре 21 година
parser.pas e7459f5466 * heap and heapsize removed пре 21 година
pass_1.pas 8a9758c5e2 * logs truncated пре 21 година
pass_2.pas 8a9758c5e2 * logs truncated пре 21 година
pbase.pas fe54af8f82 * finally is an "endtoken" as well пре 21 година
pdecl.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pdecobj.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pdecsub.pas ad89ee8150 * rename duplicate symbols and insert with unique name in the пре 21 година
pdecvar.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pexports.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pexpr.pas d804452dcc added checking for token=_ID after _POINT is parsed пре 21 година
pinline.pas 4be6ea3b4a * dyn. array dimensions are now stored as sinttype so it's target register size dependend пре 21 година
pmodules.pas fa2f619598 * THREADVARLIST is now aligned пре 21 година
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 33a834821f * paraloc branch merged пре 21 година
procinfo.pas c95a859f0a * generic tlocation пре 21 година
pstatmnt.pas 3c79b466b7 * remove non needed parathesys as in 1.140 пре 21 година
psub.pas 2e161c5e9e * nf_internal flag for internal inserted typeconvs. This will пре 21 година
psystem.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ptconst.pas 9b00c7832e * support > 32bit accesses for x86_64 пре 21 година
ptype.pas 9b00c7832e * support > 32bit accesses for x86_64 пре 21 година
raatt.pas 8a9758c5e2 * logs truncated пре 21 година
rabase.pas 8a9758c5e2 * logs truncated пре 21 година
rasm.pas 8a9758c5e2 * logs truncated пре 21 година
rautils.pas c95a859f0a * generic tlocation пре 21 година
regvars.pas 6792b5ab16 * uppdated in accordance to varregable for OLDREGVARS пре 21 година
rgbase.pas 8a9758c5e2 * logs truncated пре 21 година
rgobj.pas 8ffe3c6a9e * debug writeln removed пре 21 година
scandir.pas e009b39d8b * check extension of library if it needs to be linked static пре 21 година
scanner.pas c95a859f0a * generic tlocation пре 21 година
script.pas ef89703097 * minor fix for macos пре 21 година
switches.pas d763f9e142 browser disabled пре 21 година
symbase.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
symconst.pas 916041c81c * symlist typeconv for absolute fixed пре 21 година
symdef.pas 42e14b6825 + additional extdebug check for wrong add_reg_instructions added пре 21 година
symnot.pas 8a9758c5e2 * logs truncated пре 21 година
symsym.pas f4a7c3d444 fixed debuginfo for variables in staticsymtable пре 21 година
symtable.pas ad89ee8150 * rename duplicate symbols and insert with unique name in the пре 21 година
symtype.pas 9b00c7832e * support > 32bit accesses for x86_64 пре 21 година
symutil.pas c95a859f0a * generic tlocation пре 21 година
systems.pas 6bdfe21f79 * default target for x86_64 is linux пре 21 година
tgobj.pas c95a859f0a * generic tlocation пре 21 година
tokens.pas 705868e816 * remove saveregister calling convention пре 21 година
tpexcept.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
verbose.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
version.pas 8a9758c5e2 * logs truncated пре 21 година
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