tg74 634338dcd2 merge with trunk 10 år sedan
..
aarch64 634338dcd2 merge with trunk 10 år sedan
alpha 634338dcd2 merge with trunk 10 år sedan
arm 634338dcd2 merge with trunk 10 år sedan
avr 634338dcd2 merge with trunk 10 år sedan
generic 634338dcd2 merge with trunk 10 år sedan
html fa0d3d79e0 no message 23 år sedan
i386 634338dcd2 merge with trunk 10 år sedan
i8086 634338dcd2 merge with trunk 10 år sedan
ia64 634338dcd2 merge with trunk 10 år sedan
jvm 634338dcd2 merge with trunk 10 år sedan
m68k 634338dcd2 merge with trunk 10 år sedan
mips 634338dcd2 merge with trunk 10 år sedan
msg 634338dcd2 merge with trunk 10 år sedan
powerpc 634338dcd2 merge with trunk 10 år sedan
powerpc64 634338dcd2 merge with trunk 10 år sedan
ppcgen 634338dcd2 merge with trunk 10 år sedan
sparc 634338dcd2 merge with trunk 10 år sedan
systems 634338dcd2 merge with trunk 10 år sedan
utils 634338dcd2 merge with trunk 10 år sedan
vis 634338dcd2 merge with trunk 10 år sedan
x86 634338dcd2 merge with trunk 10 år sedan
x86_64 634338dcd2 merge with trunk 10 år sedan
COPYING.txt 1e167a5fd3 * updated address of FSF (mantis #24646, patch by Alexey Svistunov) 12 år sedan
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 år sedan
Makefile 634338dcd2 merge with trunk 10 år sedan
Makefile.fpc 634338dcd2 merge with trunk 10 år sedan
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 år sedan
aasmbase.pas 634338dcd2 merge with trunk 10 år sedan
aasmdata.pas 634338dcd2 merge with trunk 10 år sedan
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 år sedan
aasmtai.pas 634338dcd2 merge with trunk 10 år sedan
aggas.pas 634338dcd2 merge with trunk 10 år sedan
agjasmin.pas 634338dcd2 merge with trunk 10 år sedan
aopt.pas 3b09397e34 merge with trunk 11 år sedan
aoptbase.pas 3b09397e34 merge with trunk 11 år sedan
aoptcs.pas 2f5ce095ce * RefsHaveIndexReg -> cpurefshaveindexreg 13 år sedan
aoptda.pas 1f6ec379de * moved field definitions before method/property definitions (see mantis 16 år sedan
aoptobj.pas 634338dcd2 merge with trunk 10 år sedan
asmutils.pas afd34cf9d5 * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations. 12 år sedan
assemble.pas 634338dcd2 merge with trunk 10 år sedan
blockutl.pas 634338dcd2 merge with trunk 10 år sedan
browcol.pas 3b09397e34 merge with trunk 11 år sedan
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 år sedan
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 år sedan
ccharset.pas e379daaf9c compiler, rtl: move cpXXXX.pas files from compiler to RTL\charmaps directory and cleanup them, enable charmaps building for the majority of targets 12 år sedan
cclasses.pas 3b09397e34 merge with trunk 11 år sedan
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 år sedan
cfileutl.pas 634338dcd2 merge with trunk 10 år sedan
cg64f32.pas 3b09397e34 merge with trunk 11 år sedan
cgbase.pas 634338dcd2 merge with trunk 10 år sedan
cghlcpu.pas 634338dcd2 merge with trunk 10 år sedan
cgobj.pas 634338dcd2 merge with trunk 10 år sedan
cgutils.pas 634338dcd2 merge with trunk 10 år sedan
cmsgs.pas aba10cd184 compiler: 13 år sedan
comphook.pas 6d8b1e03d7 Increase status.errorcount only inside GenerateError procedure, to simplify debugging 12 år sedan
compiler.pas 634338dcd2 merge with trunk 10 år sedan
compinnr.inc 634338dcd2 merge with trunk 10 år sedan
comprsrc.pas 634338dcd2 merge with trunk 10 år sedan
constexp.pas 3b09397e34 merge with trunk 11 år sedan
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 år sedan
crefs.pas 3b09397e34 merge with trunk 11 år sedan
cresstr.pas 3b09397e34 merge with trunk 11 år sedan
cstreams.pas 3b09397e34 merge with trunk 11 år sedan
cutils.pas 949210e808 + added min and max functions for Tconstexprint 12 år sedan
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 14 år sedan
dbgbase.pas 3b09397e34 merge with trunk 11 år sedan
dbgdwarf.pas 634338dcd2 merge with trunk 10 år sedan
dbgstabs.pas 634338dcd2 merge with trunk 10 år sedan
dbgstabx.pas 3b09397e34 merge with trunk 11 år sedan
defcmp.pas 634338dcd2 merge with trunk 10 år sedan
defutil.pas 634338dcd2 merge with trunk 10 år sedan
dirparse.pas 3b09397e34 merge with trunk 11 år sedan
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 år sedan
export.pas 6f3bace0f3 + support for exporting Objective-C classes from dynamic libraries. It works 16 år sedan
expunix.pas 634338dcd2 merge with trunk 10 år sedan
finput.pas 634338dcd2 merge with trunk 10 år sedan
fmodule.pas 3b09397e34 merge with trunk 11 år sedan
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 år sedan
fpcdefs.inc 634338dcd2 merge with trunk 10 år sedan
fppu.pas 634338dcd2 merge with trunk 10 år sedan
gendef.pas aee5380ae0 * merged trunk up to r20882 13 år sedan
globals.pas 634338dcd2 merge with trunk 10 år sedan
globstat.pas 88af293155 Fix for Mantis #22160 13 år sedan
globtype.pas 634338dcd2 merge with trunk 10 år sedan
hlcg2ll.pas 634338dcd2 merge with trunk 10 år sedan
hlcgobj.pas 634338dcd2 merge with trunk 10 år sedan
htypechk.pas 634338dcd2 merge with trunk 10 år sedan
impdef.pas 634338dcd2 merge with trunk 10 år sedan
import.pas bf1c390027 * refactor import library generation 19 år sedan
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 år sedan
link.pas 634338dcd2 merge with trunk 10 år sedan
macho.pas 814658847e * fixed comments for some comments, they were offset by one line (patch by 14 år sedan
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 år sedan
msgidx.inc 634338dcd2 merge with trunk 10 år sedan
msgtxt.inc 634338dcd2 merge with trunk 10 år sedan
nadd.pas 634338dcd2 merge with trunk 10 år sedan
nbas.pas 634338dcd2 merge with trunk 10 år sedan
ncal.pas 634338dcd2 merge with trunk 10 år sedan
ncgadd.pas 3b09397e34 merge with trunk 11 år sedan
ncgbas.pas 3b09397e34 merge with trunk 11 år sedan
ncgcal.pas 634338dcd2 merge with trunk 10 år sedan
ncgcnv.pas 634338dcd2 merge with trunk 10 år sedan
ncgcon.pas 3b09397e34 merge with trunk 11 år sedan
ncgflw.pas 3b09397e34 merge with trunk 11 år sedan
ncginl.pas 634338dcd2 merge with trunk 10 år sedan
ncgld.pas 634338dcd2 merge with trunk 10 år sedan
ncgmat.pas 634338dcd2 merge with trunk 10 år sedan
ncgmem.pas 634338dcd2 merge with trunk 10 år sedan
ncgnstld.pas 4dee36b64b * copy the implicit pointer rather than the contents of var/out/constref 13 år sedan
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 år sedan
ncgobjc.pas 4cf5e36ce7 compiler: 14 år sedan
ncgopt.pas 3b09397e34 merge with trunk 11 år sedan
ncgrtti.pas 634338dcd2 merge with trunk 10 år sedan
ncgset.pas 3b09397e34 merge with trunk 11 år sedan
ncgutil.pas 634338dcd2 merge with trunk 10 år sedan
ncgvmt.pas 3b09397e34 merge with trunk 11 år sedan
ncnv.pas 634338dcd2 merge with trunk 10 år sedan
ncon.pas 3b09397e34 merge with trunk 11 år sedan
nflw.pas 634338dcd2 merge with trunk 10 år sedan
ngenutil.pas 634338dcd2 merge with trunk 10 år sedan
ngtcon.pas 634338dcd2 merge with trunk 10 år sedan
ninl.pas 634338dcd2 merge with trunk 10 år sedan
nld.pas 634338dcd2 merge with trunk 10 år sedan
nmat.pas 634338dcd2 merge with trunk 10 år sedan
nmem.pas 634338dcd2 merge with trunk 10 år sedan
nobj.pas 3b09397e34 merge with trunk 11 år sedan
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 år sedan
node.pas 3b09397e34 merge with trunk 11 år sedan
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 år sedan
nset.pas 3b09397e34 merge with trunk 11 år sedan
nstate.pas 790a4fe2d3 * log and id tags removed 20 år sedan
nutils.pas 634338dcd2 merge with trunk 10 år sedan
objcdef.pas 634338dcd2 merge with trunk 10 år sedan
objcgutl.pas 634338dcd2 merge with trunk 10 år sedan
objcutil.pas 634338dcd2 merge with trunk 10 år sedan
ogbase.pas 634338dcd2 merge with trunk 10 år sedan
ogcoff.pas 634338dcd2 merge with trunk 10 år sedan
ogelf.pas 634338dcd2 merge with trunk 10 år sedan
oglx.pas 658c46b903 * remove tdictionary and tindexarray 19 år sedan
ogmacho.pas ac43eb9b70 + generic implementation of ReplaceForbiddenAsmSymbolChars() instead 13 år sedan
ogmap.pas 1f8a67f552 + Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil. 12 år sedan
ognlm.pas 1fea5a82c1 * Replaced oso_disabled flag by TExeSection.Disabled boolean property. Makes code a bit nicer to read. 12 år sedan
optbase.pas 3b09397e34 merge with trunk 11 år sedan
optconstprop.pas 3b09397e34 merge with trunk 11 år sedan
optcse.pas 3b09397e34 merge with trunk 11 år sedan
optdead.pas 3b09397e34 merge with trunk 11 år sedan
optdeadstore.pas 3b09397e34 merge with trunk 11 år sedan
optdfa.pas 634338dcd2 merge with trunk 10 år sedan
options.pas 634338dcd2 merge with trunk 10 år sedan
optloop.pas 634338dcd2 merge with trunk 10 år sedan
opttail.pas 3b09397e34 merge with trunk 11 år sedan
optutils.pas 3b09397e34 merge with trunk 11 år sedan
optvirt.pas 3b09397e34 merge with trunk 11 år sedan
owar.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 år sedan
owbase.pas e5ee1c9f67 * Don't access tcfilestream.size 3 times in sequence, as each access costs two seeks (syscalls). 13 år sedan
parabase.pas 7566ddcc8f * add a tdef to each parameter location and set it for all target 12 år sedan
paramgr.pas 634338dcd2 merge with trunk 10 år sedan
parser.pas 634338dcd2 merge with trunk 10 år sedan
pass_1.pas 3b09397e34 merge with trunk 11 år sedan
pass_2.pas aee5380ae0 * merged trunk up to r20882 13 år sedan
pbase.pas 634338dcd2 merge with trunk 10 år sedan
pdecl.pas 634338dcd2 merge with trunk 10 år sedan
pdecobj.pas 634338dcd2 merge with trunk 10 år sedan
pdecsub.pas 634338dcd2 merge with trunk 10 år sedan
pdecvar.pas 3b09397e34 merge with trunk 11 år sedan
pexports.pas 9672f0537a * handle exports with a name consisting of a single character correctly 13 år sedan
pexpr.pas 634338dcd2 merge with trunk 10 år sedan
pgenutil.pas 634338dcd2 merge with trunk 10 år sedan
pinline.pas 634338dcd2 merge with trunk 10 år sedan
pmodules.pas 634338dcd2 merge with trunk 10 år sedan
pp.lpi 3b09397e34 merge with trunk 11 år sedan
pp.pas 44ffc298d5 cpu_i8086 and system_i8086_msdos added to the systems.inc enums 12 år sedan
pparautl.pas 634338dcd2 merge with trunk 10 år sedan
ppc68k.lpi 9ebf2aa984 * project file updates 13 år sedan
ppc8086.lpi 3b09397e34 merge with trunk 11 år sedan
ppcaarch64.lpi e4b0c1b284 + lazarus compiler project for aarch64 12 år sedan
ppcarm.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcavr.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 år sedan
ppcmips.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcppc.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcppc64.lpi 9ebf2aa984 * project file updates 13 år sedan
ppcsparc.lpi 9ebf2aa984 * project file updates 13 år sedan
ppheap.pas 0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager) 13 år sedan
ppu.pas 634338dcd2 merge with trunk 10 år sedan
procinfo.pas 3b09397e34 merge with trunk 11 år sedan
pstatmnt.pas 634338dcd2 merge with trunk 10 år sedan
psub.pas 634338dcd2 merge with trunk 10 år sedan
psystem.pas 634338dcd2 merge with trunk 10 år sedan
ptconst.pas 634338dcd2 merge with trunk 10 år sedan
ptype.pas 634338dcd2 merge with trunk 10 år sedan
raatt.pas 634338dcd2 merge with trunk 10 år sedan
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 år sedan
rasm.pas 3b09397e34 merge with trunk 11 år sedan
rautils.pas 634338dcd2 merge with trunk 10 år sedan
regvars.pas 1c01d52ea6 * Improvements of tprocinfo class: 14 år sedan
rescmn.pas 09e742f243 * add a -dfpc define to the resource compiler commandlines, which allows to make FPC specific exceptions in resource scripts. Mantis #24044 12 år sedan
rgbase.pas e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10] 12 år sedan
rgobj.pas 3b09397e34 merge with trunk 11 år sedan
scandir.pas 3b09397e34 merge with trunk 11 år sedan
scanner.pas 634338dcd2 merge with trunk 10 år sedan
script.pas 3b09397e34 merge with trunk 11 år sedan
switches.pas 3b09397e34 merge with trunk 11 år sedan
symbase.pas 634338dcd2 merge with trunk 10 år sedan
symconst.pas 634338dcd2 merge with trunk 10 år sedan
symcreat.pas 634338dcd2 merge with trunk 10 år sedan
symdef.pas 634338dcd2 merge with trunk 10 år sedan
symnot.pas 790a4fe2d3 * log and id tags removed 20 år sedan
symsym.pas 634338dcd2 merge with trunk 10 år sedan
symtable.pas 634338dcd2 merge with trunk 10 år sedan
symtype.pas 3b09397e34 merge with trunk 11 år sedan
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 år sedan
systems.inc 634338dcd2 merge with trunk 10 år sedan
systems.pas 634338dcd2 merge with trunk 10 år sedan
tgobj.pas 634338dcd2 merge with trunk 10 år sedan
tokens.pas 634338dcd2 merge with trunk 10 år sedan
verbose.pas 3b09397e34 merge with trunk 11 år sedan
version.pas 634338dcd2 merge with trunk 10 år sedan
widestr.pas 3b09397e34 merge with trunk 11 år sedan
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from 16 år sedan
wpobase.pas 3b09397e34 merge with trunk 11 år sedan
wpoinfo.pas 3b09397e34 merge with trunk 11 år sedan

README.txt

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 haiku
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
cpu64bitaddr The targets use a 64-bit address space (pointers and
the default integer type are 64 bit)
cpu64bitalu The target cpu has 64-bit registers available (unless
cpu64bitaddr is also defined, pointers and default
integer type remain 32 bit, but the cpu can perform
64 bit calculations directly without needing helpers)
-----------------------------------------------------------------

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