florian c6fbf26b6a * first arm fixes for new paraloc handling пре 21 година
..
alpha 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to пре 21 година
arm c6fbf26b6a * first arm fixes for new paraloc handling пре 21 година
html fa0d3d79e0 no message пре 23 година
i386 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ia64 8a9758c5e2 * logs truncated пре 21 година
m68k 66df745917 * small regvar for para fixes пре 21 година
msg 5df0c00360 * better PathExists, fix for too long command line, correction of message пре 21 година
new 8a9758c5e2 * logs truncated пре 21 година
powerpc 513b687ce7 + support for nostackframe directive пре 21 година
sparc 39805b678a * fixed currency to float conversion пре 21 година
systems ad191865e3 - remove $IFDEF DELPHI and related code пре 21 година
utils 5d088845d3 + added -h option to show help пре 21 година
vis 8a9758c5e2 * logs truncated пре 21 година
x86 ad191865e3 - remove $IFDEF DELPHI and related code пре 21 година
x86_64 60c73cc0e5 * -Or fixes for open array пре 21 година
Makefile 458e3c3780 * makefiles regenerated пре 21 година
Makefile.fpc 151478584c * fpcfan copy paste error (ifdef x86_64 should be arm) пре 21 година
README 012af1131e * updated to help compiling the compiler пре 22 година
aasmbase.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
aasmtai.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
aggas.pas a8bf3670d5 * Merge is complete for this file, cycles ! пре 21 година
aopt.pas 8a9758c5e2 * logs truncated пре 21 година
aoptbase.pas 8a9758c5e2 * logs truncated пре 21 година
aoptcs.pas 8a9758c5e2 * logs truncated пре 21 година
aoptda.pas 8a9758c5e2 * logs truncated пре 21 година
aoptobj.pas 8a9758c5e2 * logs truncated пре 21 година
assemble.pas 7321a78e1c * Merge is complete for this file, cycles ! пре 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 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
cg64f64.pas 8a9758c5e2 * logs truncated пре 21 година
cgbase.pas 9e879f3931 * fix clearing of superregset (from Peter) пре 21 година
cgobj.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
cgutils.pas fabb9c33ac * top_symbol killed пре 22 година
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 b3e3030e6f * remove maxlen field from ansistring/widestrings пре 21 година
cstreams.pas 8a9758c5e2 * logs truncated пре 21 година
cutils.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
defcmp.pas e1278ec66f * prefer pchar-string over pchar-pointer пре 21 година
defutil.pas 1eb575fa22 * fixed longbool(<int64>) on sparc пре 21 година
depend e525797c51 * updated copyright to 2000 пре 26 година
dwarf.pas 8a9758c5e2 * logs truncated пре 21 година
export.pas 8a9758c5e2 * logs truncated пре 21 година
finput.pas e90d8a42e3 * USE_SYSUTILS merged successfully : cycles with and without defines пре 21 година
fmodule.pas e90d8a42e3 * USE_SYSUTILS merged successfully : cycles with and without defines пре 21 година
fpcdefs.inc 498fce2317 * disable USE_SYSUTILS when compiled with 1.9.4 or 1.0.x пре 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 ee8e998b61 * Fixed printing of filedates пре 21 година
globtype.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
htypechk.pas 6ffca1688e * fixed visibility for procsyms пре 21 година
impdef.pas 4e2e51c4b1 * use SysUtils unit instead of Dos Unit пре 21 година
import.pas 8a9758c5e2 * logs truncated пре 21 година
link.pas cdd920623b * Merge is complete for this file, cycles ! пре 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 пре 28 година
mppcsparc 72556ae39f * fix compile problem пре 21 година
msgidx.inc 5df0c00360 * better PathExists, fix for too long command line, correction of message пре 21 година
msgtxt.inc 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
nadd.pas 33a834821f * paraloc branch merged пре 21 година
nbas.pas 560a790a57 * gen high tree makes copy in temp when there is a calln пре 21 година
ncal.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ncgadd.pas 15d3388449 * fixed more sparc overflow stuff пре 21 година
ncgbas.pas 8fb3536f6e * simple regvar support, not yet finished пре 21 година
ncgcal.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ncgcnv.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to пре 21 година
ncgcon.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ncgflw.pas 8fb3536f6e * simple regvar support, not yet finished пре 21 година
ncginl.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to пре 21 година
ncgld.pas 0573c742e4 * passing a var parameter to var parameter is now also allowed пре 21 година
ncgmat.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to пре 21 година
ncgmem.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to пре 21 година
ncgopt.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to пре 21 година
ncgset.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to пре 21 година
ncgutil.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ncnv.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ncon.pas 8a9758c5e2 * logs truncated пре 21 година
nflw.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ninl.pas 4978a7635a * another fix for reading of subranges пре 21 година
nld.pas b5d1220bef * fixed crash when current_procinfo was not yet available пре 21 година
nmat.pas 8a9758c5e2 * logs truncated пре 21 година
nmem.pas 8fb3536f6e * simple regvar support, not yet finished пре 21 година
nobj.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
node.pas 8a9758c5e2 * logs truncated пре 21 година
nopt.pas 8a9758c5e2 * logs truncated пре 21 година
nset.pas 8a9758c5e2 * logs truncated пре 21 година
nstate.pas 8a9758c5e2 * logs truncated пре 21 година
nutils.pas 5906d4a967 * fix possible wrong typecast пре 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 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
owar.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
owbase.pas 8a9758c5e2 * logs truncated пре 21 година
parabase.pas b0c25b50a0 * symtable allocation rewritten пре 21 година
paramgr.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to пре 21 година
parser.pas 581b52422c - remove $IFDEF DELPHI and related code пре 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 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pdecvar.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pexports.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pexpr.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pinline.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
pmodules.pas 581b52422c - remove $IFDEF DELPHI and related code пре 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 пре 25 година
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 8a9758c5e2 * logs truncated пре 21 година
pstatmnt.pas 3c79b466b7 * remove non needed parathesys as in 1.140 пре 21 година
psub.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
psystem.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ptconst.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
ptype.pas 8a9758c5e2 * logs truncated пре 21 година
raatt.pas 8a9758c5e2 * logs truncated пре 21 година
rabase.pas 8a9758c5e2 * logs truncated пре 21 година
rasm.pas 8a9758c5e2 * logs truncated пре 21 година
rautils.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
regvars.pas 6792b5ab16 * uppdated in accordance to varregable for OLDREGVARS пре 21 година
rgbase.pas 8a9758c5e2 * logs truncated пре 21 година
rgobj.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
scandir.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
scanner.pas 581b52422c - remove $IFDEF DELPHI and related code пре 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 63cf4464d3 * tvarsym.varregable added, split vo_regable from varoptions пре 21 година
symdef.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
symnot.pas 8a9758c5e2 * logs truncated пре 21 година
symsym.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
symtable.pas 581b52422c - remove $IFDEF DELPHI and related code пре 21 година
symtype.pas 6ffca1688e * fixed visibility for procsyms пре 21 година
symutil.pas 8a9758c5e2 * logs truncated пре 21 година
systems.pas 354004d803 * target netwlibc added (libc is preferred for newer netware versions) пре 21 година
tgobj.pas 33a834821f * paraloc branch merged пре 21 година
tokens.pas 98df0978e1 + adding operators "|" and "&" for macpas пре 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