peter 916041c81c * symlist typeconv for absolute fixed před 21 roky
..
alpha c95a859f0a * generic tlocation před 21 roky
arm e5feec37cb * fixed handling of stack parameters on the arm před 21 roky
html fa0d3d79e0 no message před 23 roky
i386 c95a859f0a * generic tlocation před 21 roky
ia64 8a9758c5e2 * logs truncated před 21 roky
m68k c95a859f0a * generic tlocation před 21 roky
msg bc59556a41 * $fpctarget expands to <cpu>-<os> před 21 roky
new c95a859f0a * generic tlocation před 21 roky
powerpc c95a859f0a * generic tlocation před 21 roky
sparc c95a859f0a * generic tlocation před 21 roky
systems e7459f5466 * heap and heapsize removed před 21 roky
utils d97d37ca78 * new unit dir před 21 roky
vis c95a859f0a * generic tlocation před 21 roky
x86 882cc700fb * fixed uninited var in a_load_reg_ref před 21 roky
x86_64 705868e816 * remove saveregister calling convention před 21 roky
Makefile 86f78c7300 * units are now created in separate directory units/cpu-os/ před 21 roky
Makefile.fpc 86f78c7300 * units are now created in separate directory units/cpu-os/ před 21 roky
README 012af1131e * updated to help compiling the compiler před 22 roky
aasmbase.pas c95a859f0a * generic tlocation před 21 roky
aasmtai.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
aggas.pas fcde2cab80 * support rodata like data when writing ordinal cosnts před 21 roky
aopt.pas c95a859f0a * generic tlocation před 21 roky
aoptbase.pas c95a859f0a * generic tlocation před 21 roky
aoptcs.pas 8a9758c5e2 * logs truncated před 21 roky
aoptda.pas e04b172854 * fixed generic optimizer před 21 roky
aoptobj.pas c95a859f0a * generic tlocation před 21 roky
assemble.pas c95a859f0a * generic tlocation před 21 roky
browcol.pas 8a0fb3becf * use SysUtils unit instead of Dos Unit před 21 roky
browlog.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build před 25 roky
catch.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
cclasses.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
cg64f32.pas c95a859f0a * generic tlocation před 21 roky
cg64f64.pas c95a859f0a * generic tlocation před 21 roky
cgbase.pas c95a859f0a * generic tlocation před 21 roky
cgobj.pas c95a859f0a * generic tlocation před 21 roky
cgutils.pas c95a859f0a * generic tlocation před 21 roky
charset.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
cmsgs.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
comphook.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
compiler.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
compinnr.inc ff36adb056 + macpas style: exit, cycle, leave před 21 roky
comprsrc.pas e90d8a42e3 * USE_SYSUTILS merged successfully : cycles with and without defines před 21 roky
cp437.pas effb0aae89 - remove compilation warnings před 23 roky
cp850.pas effb0aae89 - remove compilation warnings před 23 roky
cp8859_1.pas effb0aae89 - remove compilation warnings před 23 roky
crc.pas 8a9758c5e2 * logs truncated před 21 roky
cresstr.pas b3e3030e6f * remove maxlen field from ansistring/widestrings před 21 roky
cstreams.pas 8a9758c5e2 * logs truncated před 21 roky
cutils.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
defcmp.pas 91a00b5344 * procvar arguments need to be at least equal před 21 roky
defutil.pas c95a859f0a * generic tlocation před 21 roky
depend e525797c51 * updated copyright to 2000 před 26 roky
dwarf.pas c95a859f0a * generic tlocation před 21 roky
export.pas 8a9758c5e2 * logs truncated před 21 roky
finput.pas e90d8a42e3 * USE_SYSUTILS merged successfully : cycles with and without defines před 21 roky
fmodule.pas e90d8a42e3 * USE_SYSUTILS merged successfully : cycles with and without defines před 21 roky
fpcdefs.inc bc59556a41 * $fpctarget expands to <cpu>-<os> před 21 roky
fppu.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
gdb.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
gendef.pas 8a9758c5e2 * logs truncated před 21 roky
globals.pas c95a859f0a * generic tlocation před 21 roky
globtype.pas c95a859f0a * generic tlocation před 21 roky
htypechk.pas adb6f59eef * small regvar fixes před 21 roky
impdef.pas 4e2e51c4b1 * use SysUtils unit instead of Dos Unit před 21 roky
import.pas 8a9758c5e2 * logs truncated před 21 roky
link.pas cdd920623b * Merge is complete for this file, cycles ! před 21 roky
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd před 24 roky
mdppc386.bat 1f4bac4fd0 * delphi fixes před 24 roky
mppc386.bat 07ad807864 * added -FE. to put the PPU's in the compiler dir před 25 roky
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit před 27 roky
mppcsparc 72556ae39f * fix compile problem před 21 roky
msgidx.inc bc59556a41 * $fpctarget expands to <cpu>-<os> před 21 roky
msgtxt.inc bc59556a41 * $fpctarget expands to <cpu>-<os> před 21 roky
nadd.pas 33a834821f * paraloc branch merged před 21 roky
nbas.pas c95a859f0a * generic tlocation před 21 roky
ncal.pas c95a859f0a * generic tlocation před 21 roky
ncgadd.pas c95a859f0a * generic tlocation před 21 roky
ncgbas.pas c95a859f0a * generic tlocation před 21 roky
ncgcal.pas c95a859f0a * generic tlocation před 21 roky
ncgcnv.pas c95a859f0a * generic tlocation před 21 roky
ncgcon.pas c95a859f0a * generic tlocation před 21 roky
ncgflw.pas adb6f59eef * small regvar fixes před 21 roky
ncginl.pas c95a859f0a * generic tlocation před 21 roky
ncgld.pas c95a859f0a * generic tlocation před 21 roky
ncgmat.pas c95a859f0a * generic tlocation před 21 roky
ncgmem.pas e7459f5466 * heap and heapsize removed před 21 roky
ncgopt.pas c95a859f0a * generic tlocation před 21 roky
ncgset.pas c95a859f0a * generic tlocation před 21 roky
ncgutil.pas c95a859f0a * generic tlocation před 21 roky
ncnv.pas adb6f59eef * small regvar fixes před 21 roky
ncon.pas 8a9758c5e2 * logs truncated před 21 roky
nflw.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
ninl.pas c95a859f0a * generic tlocation před 21 roky
nld.pas c95a859f0a * generic tlocation před 21 roky
nmat.pas 8a9758c5e2 * logs truncated před 21 roky
nmem.pas 8fb3536f6e * simple regvar support, not yet finished před 21 roky
nobj.pas 3eebc18aab * fixed writing of methodtable před 21 roky
node.pas c95a859f0a * generic tlocation před 21 roky
nopt.pas 8a9758c5e2 * logs truncated před 21 roky
nset.pas 8a9758c5e2 * logs truncated před 21 roky
nstate.pas 8a9758c5e2 * logs truncated před 21 roky
nutils.pas 5906d4a967 * fix possible wrong typecast před 21 roky
ogbase.pas 169f43ca6a * Dos and cpubase units in uses clause are not needed před 21 roky
ogcoff.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
ogelf.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
oglx.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
ogmap.pas 8a9758c5e2 * logs truncated před 21 roky
options.pas 7d745c0483 * default paths fixed před 21 roky
owar.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
owbase.pas 8a9758c5e2 * logs truncated před 21 roky
parabase.pas c95a859f0a * generic tlocation před 21 roky
paramgr.pas c95a859f0a * generic tlocation před 21 roky
parser.pas e7459f5466 * heap and heapsize removed před 21 roky
pass_1.pas 8a9758c5e2 * logs truncated před 21 roky
pass_2.pas 8a9758c5e2 * logs truncated před 21 roky
pbase.pas fe54af8f82 * finally is an "endtoken" as well před 21 roky
pdecl.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
pdecobj.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
pdecsub.pas bc59556a41 * $fpctarget expands to <cpu>-<os> před 21 roky
pdecvar.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
pexports.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
pexpr.pas 916041c81c * symlist typeconv for absolute fixed před 21 roky
pinline.pas a66a2c855e * temp for dynarray copy needs to be typed před 21 roky
pmodules.pas f8c9ad629c + All sections get names in macos před 21 roky
pp.lpi 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
pp.pas 8a9758c5e2 * logs truncated před 21 roky
ppc.cfg 9465a13e71 + Delphi 6 configuration file před 23 roky
ppc.conf add30a428e * Kylix fixes, mostly case names of units před 24 roky
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation před 23 roky
ppc.dpr 67486c96c3 * fixes for Delphi 6 compilation před 23 roky
ppheap.pas f0723c54f0 * fixed compile error před 21 roky
ppu.pas 33a834821f * paraloc branch merged před 21 roky
procinfo.pas c95a859f0a * generic tlocation před 21 roky
pstatmnt.pas 3c79b466b7 * remove non needed parathesys as in 1.140 před 21 roky
psub.pas bc59556a41 * $fpctarget expands to <cpu>-<os> před 21 roky
psystem.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
ptconst.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
ptype.pas 8a9758c5e2 * logs truncated před 21 roky
raatt.pas 8a9758c5e2 * logs truncated před 21 roky
rabase.pas 8a9758c5e2 * logs truncated před 21 roky
rasm.pas 8a9758c5e2 * logs truncated před 21 roky
rautils.pas c95a859f0a * generic tlocation před 21 roky
regvars.pas 6792b5ab16 * uppdated in accordance to varregable for OLDREGVARS před 21 roky
rgbase.pas 8a9758c5e2 * logs truncated před 21 roky
rgobj.pas dc71fc8290 * make sure live_start/end is never a tai_regalloc, as those can be před 21 roky
scandir.pas 759c010f6a * -Ch for heapsize added again před 21 roky
scanner.pas c95a859f0a * generic tlocation před 21 roky
script.pas ef89703097 * minor fix for macos před 21 roky
switches.pas d763f9e142 browser disabled před 21 roky
symbase.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
symconst.pas 916041c81c * symlist typeconv for absolute fixed před 21 roky
symdef.pas c95a859f0a * generic tlocation před 21 roky
symnot.pas 8a9758c5e2 * logs truncated před 21 roky
symsym.pas c95a859f0a * generic tlocation před 21 roky
symtable.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
symtype.pas 6ffca1688e * fixed visibility for procsyms před 21 roky
symutil.pas c95a859f0a * generic tlocation před 21 roky
systems.pas 7d745c0483 * default paths fixed před 21 roky
tgobj.pas c95a859f0a * generic tlocation před 21 roky
tokens.pas 705868e816 * remove saveregister calling convention před 21 roky
tpexcept.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
verbose.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky
version.pas 8a9758c5e2 * logs truncated před 21 roky
widestr.pas 581b52422c - remove $IFDEF DELPHI and related code před 21 roky

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