florian f9235938b4 * storing/restoring of settings when doing a specialization hace 19 años
..
alpha 658c46b903 * remove tdictionary and tindexarray hace 19 años
arm 4cbb67aa00 * some fpu emulation code from arm to generic code generator moved hace 19 años
html fa0d3d79e0 no message hace 23 años
i386 658c46b903 * remove tdictionary and tindexarray hace 19 años
ia64 32098ceea9 * first iA-64 register stuff hace 19 años
m68k 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
mips b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from hace 19 años
msg 43ba7cfe6f * correct name of set packing directive is PACKSET hace 19 años
powerpc 6d36b04c6a * create common aasmcpu (currently ppc32 version, will commit hace 19 años
powerpc64 6d36b04c6a * create common aasmcpu (currently ppc32 version, will commit hace 19 años
ppcgen cdded5a3e0 * merged ppc32/ppc64 versions of aasmcpu hace 19 años
sparc 658c46b903 * remove tdictionary and tindexarray hace 19 años
systems 5f484a0f14 * section "fpc" was renamed to ".fpc". hace 19 años
utils 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
vis b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from hace 19 años
x86 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
x86_64 658c46b903 * remove tdictionary and tindexarray hace 19 años
COPYING d4b8a224a1 + Added license to this library hace 21 años
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests hace 19 años
Makefile 705033284e + regenerated makefiles to support powerpc-amiga target hace 19 años
Makefile.fpc 979094d0a2 * use echoredir for creating revision.inc hace 19 años
README 012af1131e * updated to help compiling the compiler hace 22 años
aasmbase.pas 05183ac829 * AsmSymbolDict changed to FPHashObjectList hace 19 años
aasmdata.pas 5cd8775d38 * show only totals for memdebug hace 19 años
aasmtai.pas cb246eb781 * Remove dos,strings units, use SysUtils instead hace 19 años
aggas.pas a9980bf951 * fixed darwin compilation hace 19 años
aopt.pas 85d63d9fa9 * settings refactored hace 19 años
aoptbase.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
aoptcs.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from hace 19 años
aoptda.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
aoptobj.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
assemble.pas 959a1379cf * fixed building of smart linked units hace 19 años
browcol.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build hace 25 años
catch.pas 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests hace 19 años
cclasses.pas 99662d0bff * fixed insertlistcopy to not reverse the list hace 19 años
cfidwarf.pas 870be04a3f * use dwarf_reg() hace 19 años
cfileutils.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
cg64f32.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
cgbase.pas f2a25e845d * refactor gen_alloc_symtable so it depends on varsym type and not hace 19 años
cgobj.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
cgutils.pas 2e131baa4c * code generator support for subsetreferences (memory locations which hace 19 años
charset.pas edffc31139 * fixed crash with empty codepage hace 20 años
cmsgs.pas cb246eb781 * Remove dos,strings units, use SysUtils instead hace 19 años
comphook.pas 5c96c98aa2 * use fileage for retrieving file timestamps hace 19 años
compiler.pas 5cd8775d38 * show only totals for memdebug hace 19 años
compinnr.inc cd5b9245f9 + support for bitsizeof() function hace 19 años
comprsrc.pas 7a2e0da7bd * extra parameter for file searching functions hace 19 años
cp437.pas d704af7216 fix compilation for {$T+} linux/win hace 19 años
cp850.pas d704af7216 fix compilation for {$T+} linux/win hace 19 años
cp8859_1.pas d704af7216 fix compilation for {$T+} linux/win hace 19 años
cresstr.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
cstreams.pas 785550d7e3 Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from hace 19 años
cutils.pas 31fcd93a1c * replace can now also insert strings > 255 chars in ansistrings hace 19 años
dbgbase.pas e17b424e28 * refactor procsym procdef list hace 19 años
dbgdwarf.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
dbgstabs.pas 5f484a0f14 * section "fpc" was renamed to ".fpc". hace 19 años
defcmp.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
defutil.pas 7781e842fc * varset support fixed hace 19 años
export.pas cb246eb781 * Remove dos,strings units, use SysUtils instead hace 19 años
finput.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
fmodule.pas 5cd8775d38 * show only totals for memdebug hace 19 años
fpccrc.pas c0b4678873 * Rename unit crc to fpccrc to avoid name conflict in packages hace 20 años
fpcdefs.inc f5d653a1fd - disabled PACKSET for big endian systems since it breaks make cycle hace 19 años
fppu.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
gendef.pas cb246eb781 * Remove dos,strings units, use SysUtils instead hace 19 años
globals.pas caf501d499 * shell needs an ansistring parameter to avoid cutting of hace 19 años
globtype.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
htypechk.pas 7781e842fc * varset support fixed hace 19 años
impdef.pas cb246eb781 * Remove dos,strings units, use SysUtils instead hace 19 años
import.pas bf1c390027 * refactor import library generation hace 19 años
link.pas 81fd4e865e * pass 2kb of parameters to ar at a time (instead of 200 bytes) hace 19 años
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd hace 24 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 72556ae39f * fix compile problem hace 21 años
msgidx.inc 43ba7cfe6f * correct name of set packing directive is PACKSET hace 19 años
msgtxt.inc 43ba7cfe6f * correct name of set packing directive is PACKSET hace 19 años
nadd.pas 7781e842fc * varset support fixed hace 19 años
nbas.pas 7781e842fc * varset support fixed hace 19 años
ncal.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
ncgadd.pas 7781e842fc * varset support fixed hace 19 años
ncgbas.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ncgcal.pas 95518d7ecf * pushparavalue shouldn't care about emulation settings hace 19 años
ncgcnv.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ncgcon.pas b56368edce * fix x64 compile hace 19 años
ncgflw.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ncginl.pas b8c3fecd1d * fixed overflow checking for inc/dec on non-x86 hace 19 años
ncgld.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
ncgmat.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ncgmem.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ncgopt.pas 3078a1927f * remove ttype hace 19 años
ncgrtti.pas 25bef10b97 * mssing call to procvardef_rtti hace 19 años
ncgset.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ncgutil.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
ncnv.pas a13d358f1e * first partially working implementation of variant com invoking hace 19 años
ncon.pas c947295cb8 + ttertiarynode hace 19 años
nflw.pas c947295cb8 + ttertiarynode hace 19 años
ninl.pas b8c3fecd1d * fixed overflow checking for inc/dec on non-x86 hace 19 años
nld.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
nmat.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
nmem.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
nobj.pas 3cae449fda * moved rtti to ncgrtti hace 19 años
node.pas c947295cb8 + ttertiarynode hace 19 años
nopt.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
nset.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
nstate.pas 790a4fe2d3 * log and id tags removed hace 20 años
nutils.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
ogbase.pas 5f484a0f14 * section "fpc" was renamed to ".fpc". hace 19 años
ogcoff.pas 5f484a0f14 * section "fpc" was renamed to ".fpc". hace 19 años
ogelf.pas cb246eb781 * Remove dos,strings units, use SysUtils instead hace 19 años
oglx.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
ogmap.pas cb246eb781 * Remove dos,strings units, use SysUtils instead hace 19 años
optcse.pas 3078a1927f * remove ttype hace 19 años
options.pas 43ba7cfe6f * correct name of set packing directive is PACKSET hace 19 años
opttail.pas 3078a1927f * remove ttype hace 19 años
optunrol.pas 85d63d9fa9 * settings refactored hace 19 años
owar.pas cb246eb781 * Remove dos,strings units, use SysUtils instead hace 19 años
owbase.pas cb246eb781 * Remove dos,strings units, use SysUtils instead hace 19 años
parabase.pas 38c0ae73da Merged revisions 2775,2788-2789 via svnmerge from hace 19 años
paramgr.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
parser.pas 3cae449fda * moved rtti to ncgrtti hace 19 años
pass_1.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) hace 19 años
pass_2.pas e17b424e28 * refactor procsym procdef list hace 19 años
pbase.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
pdecl.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
pdecobj.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
pdecsub.pas 534048e286 * fixed parameter name change message hace 19 años
pdecvar.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
pexports.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
pexpr.pas 80876932aa + parsing of type casts with nested types hace 19 años
pinline.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
pmodules.pas 5f484a0f14 * section "fpc" was renamed to ".fpc". hace 19 años
pp.lpi 34a361e4b5 * windowism removed hace 19 años
pp.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) hace 19 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 4ace790492 * remove $Log hace 20 años
ppheap.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) hace 19 años
ppu.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
procinfo.pas 85d63d9fa9 * settings refactored hace 19 años
pstatmnt.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
psub.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
psystem.pas 3cae449fda * moved rtti to ncgrtti hace 19 años
ptconst.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
ptype.pas b0104f2ec8 * fixed parsing of spezialitions taking more than one argument hace 19 años
raatt.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from hace 19 años
rasm.pas 1684a6fc32 * replaced tdictionary with tfphashlist hace 19 años
rautils.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
regvars.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
rgbase.pas 790a4fe2d3 * log and id tags removed hace 20 años
rgobj.pas 60069ce3d2 * fix IE with -sr and EXTDEBUG hace 19 años
scandir.pas 55f9758c25 * only add resext if no extension was specified hace 19 años
scanner.pas f9235938b4 * storing/restoring of settings when doing a specialization hace 19 años
script.pas ad7d549965 + implement pascal inline asm start/halt code for linux/i386 hace 19 años
switches.pas 658c46b903 * remove tdictionary and tindexarray hace 19 años
symbase.pas 0c8796c210 * fix hiding of symbols hace 19 años
symconst.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
symdef.pas 13f359aa80 * resultname changed to pshortstring hace 19 años
symnot.pas 790a4fe2d3 * log and id tags removed hace 20 años
symsym.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
symtable.pas 0557ddc342 * removed typed const, it is now handled by staticvarsym hace 19 años
symtype.pas 3cae449fda * moved rtti to ncgrtti hace 19 años
symutil.pas 3cae449fda * moved rtti to ncgrtti hace 19 años
systems.pas 6e2187c606 + windows uses now sysinit units as well hace 19 años
tgobj.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) hace 19 años
tokens.pas 058e1877ba + store compiler switch changes in generic token streams hace 19 años
verbose.pas ef7bd58c54 * germanism removed (aktfilepos -> current_filepos) hace 19 años
version.pas 7db8bc6498 * Revert version change hace 19 años
widestr.pas 85d63d9fa9 * settings refactored hace 19 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