florian 7b658f56dc * compilation fixed after last cleanup 8 роки тому
..
aarch64 aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 роки тому
arm 2ae3ce79bb * ARM: Never use the "BLX label" instruction. Use "BL label" instead. 8 роки тому
avr 4a43d992f5 * unified usage of MatchOpType 8 роки тому
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 роки тому
html fa0d3d79e0 no message 23 роки тому
i386 b1dff29cbf * removed unused units 8 роки тому
i8086 4a43d992f5 * unified usage of MatchOpType 8 роки тому
jvm 82b2d22ed6 * keep track of allow_array_constructor as part of the array constructor node 8 роки тому
llvm c16238e8dd * fix for Mantis #31464: add an entry for the WebAssembly CPU (this is already the target name that LLVM uses) 8 роки тому
m68k 6d795df166 m68k: removed silly debug writeln accidentally left in r35671 8 роки тому
mips aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 роки тому
msg e7fd71db36 + write name of segment/group which is too large 9 роки тому
powerpc a018235811 * fixed powerpc compiler compilation with -dEXTDEBUG 8 роки тому
powerpc64 aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 роки тому
ppcgen 1342d0792f Fix powerpc cycle for AIX target 9 роки тому
sparc aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 роки тому
systems b1dff29cbf * removed unused units 8 роки тому
utils d6bf9e03ec Add missing management operator options to ppudump 8 роки тому
x86 7b658f56dc * compilation fixed after last cleanup 8 роки тому
x86_64 b1dff29cbf * removed unused units 8 роки тому
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 роки тому
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests 19 роки тому
Makefile 17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks 8 роки тому
Makefile.fpc dda85c3c49 Revert Makefile changes unrelated to last commit about powerpc-aix cycle fix 9 роки тому
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 17 роки тому
aasmbase.pas c1db48c8c6 * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 9 роки тому
aasmcnst.pas 822d96776b * extend tai_typedconstbuilder with the ability to add an indirect symbol to the same section as the one that's generated for the constant data (at least if it's also rodata) 9 роки тому
aasmdata.pas c6bfb0064f * keep track of the sections that are created in the asmlists 9 роки тому
aasmdef.pas c1db48c8c6 * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 9 роки тому
aasmsym.pas a25ebbba3e + added volatility information to all memory references 9 роки тому
aasmtai.pas c6bfb0064f * keep track of the sections that are created in the asmlists 9 роки тому
aggas.pas 6eee90ad3f Fix section alignment code for GNU assembler for smartlinked objects on aix system 8 роки тому
aopt.pas b1dff29cbf * removed unused units 8 роки тому
aoptbase.pas b1dff29cbf * removed unused units 8 роки тому
aoptda.pas b1dff29cbf * removed unused units 8 роки тому
aoptobj.pas b1dff29cbf * removed unused units 8 роки тому
aoptutils.pas 4a43d992f5 * unified usage of MatchOpType 8 роки тому
assemble.pas b1dff29cbf * removed unused units 8 роки тому
blockutl.pas b1dff29cbf * removed unused units 8 роки тому
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 12 роки тому
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 17 роки тому
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 13 роки тому
cclasses.pas b3063b7db2 Reset class fields FList and FHashList to nil after Destroy call 9 роки тому
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 роки тому
cfileutl.pas 4d3939ba7e Rectify display of shell command, do it if -vx option is used even without -vu 9 роки тому
cg64f32.pas 256dc546ac + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will 8 роки тому
cgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters 8 роки тому
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 роки тому
cgobj.pas b1dff29cbf * removed unused units 8 роки тому
cgutils.pas a25ebbba3e + added volatility information to all memory references 9 роки тому
cmsgs.pas aba10cd184 compiler: 14 роки тому
comphook.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 10 роки тому
compiler.pas b1dff29cbf * removed unused units 8 роки тому
compinnr.inc f514657e45 + implemented the sar/shl/shr/rol/ror inline modify-in-place nodes; the actual 8 роки тому
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 роки тому
constexp.pas d081d9fdc0 Fix cycle for x86_64-win64 target with -Cr option 10 роки тому
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 роки тому
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 12 роки тому
cresstr.pas b1dff29cbf * removed unused units 8 роки тому
cstreams.pas 1945bf64b4 Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 10 роки тому
cutils.pas 0897bd154a + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 8 роки тому
cwindirs.pp 0bdd15e0da + added cwindirs for the time being to the compiler dir till a release with windirs in the rtl is released 15 роки тому
dbgbase.pas b1dff29cbf * removed unused units 8 роки тому
dbgdwarf.pas 5bba79afb3 * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute 9 роки тому
dbgstabs.pas 3a9f8e88fd * don't write or reference debug information for a unit if it belongs to a/another package 9 роки тому
dbgstabx.pas aa1be3276f - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 9 роки тому
defcmp.pas bdef19fd79 * indeed allow the conversion of array constructors to dynamic arrays 8 роки тому
defutil.pas 876c0c5fd5 + added helper function are_equal_ints() 8 роки тому
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 9 роки тому
elfbase.pas 29c0266fb9 + Added values for DT_FLAGS and DT_FLAGS_1 dynamic tags. 12 роки тому
entfile.pas bfd95d6bef fix build with generic_cpu defined after r35497 8 роки тому
export.pas b1dff29cbf * removed unused units 8 роки тому
expunix.pas b1dff29cbf * removed unused units 8 роки тому
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 роки тому
fmodule.pas b1dff29cbf * removed unused units 8 роки тому
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 18 роки тому
fpcdefs.inc d7c8a081a1 + enable using the cg64 ops OP_SHR/OP_SHL/OP_SAR on i386 for implementing the 8 роки тому
fpcp.pas b1dff29cbf * removed unused units 8 роки тому
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 роки тому
fppu.pas 4e1f999b02 * write full path name when ppu crc checks fail/conflict (patch by 8 роки тому
gendef.pas aee5380ae0 * merged trunk up to r20882 13 роки тому
globals.pas 7b658f56dc * compilation fixed after last cleanup 8 роки тому
globstat.pas 88af293155 Fix for Mantis #22160 13 роки тому
globtype.pas 012153201a * moved the conversion of "x:=x op k" to inline nodes to a separate optimization 8 роки тому
hlcg2ll.pas b1dff29cbf * removed unused units 8 роки тому
hlcgobj.pas b1dff29cbf * removed unused units 8 роки тому
htypechk.pas b1dff29cbf * removed unused units 8 роки тому
impdef.pas 4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run. 11 роки тому
import.pas b1dff29cbf * removed unused units 8 роки тому
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 роки тому
link.pas b1dff29cbf * removed unused units 8 роки тому
macho.pas e243cc77ea macho.pas: 9 роки тому
machoutils.pas 111d05c68f o patch by Alexander Shishkin, resolves #20409 14 роки тому
msgidx.inc e7fd71db36 + write name of segment/group which is too large 9 роки тому
msgtxt.inc e7fd71db36 + write name of segment/group which is too large 9 роки тому
nadd.pas b1dff29cbf * removed unused units 8 роки тому
nbas.pas b1dff29cbf * removed unused units 8 роки тому
ncal.pas 9fc420b546 - remove unused variable 8 роки тому
ncgadd.pas b1dff29cbf * removed unused units 8 роки тому
ncgbas.pas b1dff29cbf * removed unused units 8 роки тому
ncgcal.pas b1dff29cbf * removed unused units 8 роки тому
ncgcnv.pas b1dff29cbf * removed unused units 8 роки тому
ncgcon.pas b1dff29cbf * removed unused units 8 роки тому
ncgflw.pas b1dff29cbf * removed unused units 8 роки тому
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 роки тому
ncginl.pas b1dff29cbf * removed unused units 8 роки тому
ncgld.pas b1dff29cbf * removed unused units 8 роки тому
ncgmat.pas b1dff29cbf * removed unused units 8 роки тому
ncgmem.pas b1dff29cbf * removed unused units 8 роки тому
ncgnstfl.pas 48ef33a8b3 * fixed interprocedural gotos for llvm 9 роки тому
ncgnstld.pas 96698994f3 * ensure that we don't firstpass a tcgnestloadnode twice, as it 10 роки тому
ncgnstmm.pas 39adb3dfae * fixed loading the nested framepointer when calling another nested 14 роки тому
ncgobjc.pas b1dff29cbf * removed unused units 8 роки тому
ncgopt.pas b1dff29cbf * removed unused units 8 роки тому
ncgrtti.pas b1dff29cbf * removed unused units 8 роки тому
ncgset.pas b1dff29cbf * removed unused units 8 роки тому
ncgutil.pas b1dff29cbf * removed unused units 8 роки тому
ncgvmt.pas b1dff29cbf * removed unused units 8 роки тому
ncnv.pas c7ba611bf9 * when explicitly casting a variable, it might be sufficient if it is const_regable 8 роки тому
ncon.pas b1dff29cbf * removed unused units 8 роки тому
nflw.pas b1dff29cbf * removed unused units 8 роки тому
ngenutil.pas b1dff29cbf * removed unused units 8 роки тому
ngtcon.pas b1dff29cbf * removed unused units 8 роки тому
ninl.pas b1dff29cbf * removed unused units 8 роки тому
nld.pas b1dff29cbf * removed unused units 8 роки тому
nmat.pas b1dff29cbf * removed unused units 8 роки тому
nmem.pas b1dff29cbf * removed unused units 8 роки тому
nobj.pas b1dff29cbf * removed unused units 8 роки тому
nobjc.pas b1dff29cbf * removed unused units 8 роки тому
node.pas 7911cc8437 - removed some dataconstn remenants 9 роки тому
nopt.pas 82b2d22ed6 * keep track of allow_array_constructor as part of the array constructor node 8 роки тому
nset.pas b1dff29cbf * removed unused units 8 роки тому
nutils.pas b1dff29cbf * removed unused units 8 роки тому
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 9 роки тому
objcdef.pas b1dff29cbf * removed unused units 8 роки тому
objcgutl.pas 88ba9269ca * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used 9 роки тому
objcutil.pas b1dff29cbf * removed unused units 8 роки тому
ogbase.pas b1dff29cbf * removed unused units 8 роки тому
ogcoff.pas b1dff29cbf * removed unused units 8 роки тому
ogelf.pas b1dff29cbf * removed unused units 8 роки тому
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 роки тому
ogmacho.pas 5ac99f62e9 + AT_METADATA symbol type for data that is unrelated to the program 9 роки тому
ogmap.pas b1dff29cbf * removed unused units 8 роки тому
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 роки тому
ogomf.pas e7fd71db36 + write name of segment/group which is too large 9 роки тому
omfbase.pas b1dff29cbf * removed unused units 8 роки тому
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 12 роки тому
optconstprop.pas b1dff29cbf * removed unused units 8 роки тому
optcse.pas 179c1ab328 * changed ttemp*node.tempinfo^.flags to a private field, and added setters 9 роки тому
optdead.pas b1dff29cbf * removed unused units 8 роки тому
optdeadstore.pas b1dff29cbf * removed unused units 8 роки тому
optdfa.pas b1dff29cbf * removed unused units 8 роки тому
options.pas 65fadcaa53 Disable threading and dynlibs features for msdos OS target by default 8 роки тому
optloadmodifystore.pas 012153201a * moved the conversion of "x:=x op k" to inline nodes to a separate optimization 8 роки тому
optloop.pas 4731ebeb50 * reset initcode after adding it to the statements list, so further iterations of loop optimization create a new one 9 роки тому
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 роки тому
optutils.pas 730a3c2666 + PrintNodeDFA writes also the defsum 9 роки тому
optvirt.pas b1dff29cbf * removed unused units 8 роки тому
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 роки тому
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 роки тому
owomflib.pas b1dff29cbf * removed unused units 8 роки тому
parabase.pas b1dff29cbf * removed unused units 8 роки тому
paramgr.pas b1dff29cbf * removed unused units 8 роки тому
parser.pas b1dff29cbf * removed unused units 8 роки тому
pass_1.pas b1dff29cbf * removed unused units 8 роки тому
pass_2.pas b1dff29cbf * removed unused units 8 роки тому
pbase.pas b1dff29cbf * removed unused units 8 роки тому
pcp.pas 7d8d0340b9 Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 9 роки тому
pdecl.pas b1dff29cbf * removed unused units 8 роки тому
pdecobj.pas b1dff29cbf * removed unused units 8 роки тому
pdecsub.pas b1dff29cbf * removed unused units 8 роки тому
pdecvar.pas b1dff29cbf * removed unused units 8 роки тому
pexports.pas 3b71841a84 Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 10 роки тому
pexpr.pas b1dff29cbf * removed unused units 8 роки тому
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 10 роки тому
pgenutil.pas b1dff29cbf * removed unused units 8 роки тому
pinline.pas b1dff29cbf * removed unused units 8 роки тому
pkgutil.pas b1dff29cbf * removed unused units 8 роки тому
pmodules.pas b1dff29cbf * removed unused units 8 роки тому
pp.lpi ed984e0c76 - removed missing file from project 8 роки тому
pp.pas e12e47c01a * set pe flag on win32 for the pp executable that it is "large aware" (tested by allocating 1.5 GB before real compilation starts, no regressions found), resolves #31517 8 роки тому
pparautl.pas 657685a8b6 * use sizesinttype instead of ptrsinttype for the index and high parameter of 9 роки тому
ppc68k.lpi 9ebf2aa984 * project file updates 13 роки тому
ppc8086.lpi 012153201a * moved the conversion of "x:=x op k" to inline nodes to a separate optimization 8 роки тому
ppcaarch64.lpi 6e56f5c191 * fixed exe output path 9 роки тому
ppcarm.lpi 9ebf2aa984 * project file updates 13 роки тому
ppcavr.lpi 9ebf2aa984 * project file updates 13 роки тому
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named 12 роки тому
ppcmips.lpi 9ebf2aa984 * project file updates 13 роки тому
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 роки тому
ppcppc.lpi 9ebf2aa984 * project file updates 13 роки тому
ppcppc64.lpi 9ebf2aa984 * project file updates 13 роки тому
ppcsparc.lpi 9ebf2aa984 * project file updates 13 роки тому
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 роки тому
ppu.pas b1dff29cbf * removed unused units 8 роки тому
ppx86_64.lpi e96dc4204e * version update 13 роки тому
procinfo.pas b1dff29cbf * removed unused units 8 роки тому
pstatmnt.pas b1dff29cbf * removed unused units 8 роки тому
psub.pas b1dff29cbf * removed unused units 8 роки тому
psystem.pas b1dff29cbf * removed unused units 8 роки тому
ptconst.pas b1dff29cbf * removed unused units 8 роки тому
ptype.pas b1dff29cbf * removed unused units 8 роки тому
raatt.pas aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 роки тому
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 20 роки тому
rasm.pas b1dff29cbf * removed unused units 8 роки тому
rautils.pas aa82e00615 * fixed check to determine whether a record parameter can be subscripted 8 роки тому
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 роки тому
rgbase.pas c8487c4150 + added individual bits of the x86 flags register as subregisters 8 роки тому
rgobj.pas b1dff29cbf * removed unused units 8 роки тому
scandir.pas 95274c1d7b atari: enable apptype directive, and change exe extension when compiling a GUI app 9 роки тому
scanner.pas 631d4a2d53 * Move global variable in_preproc_comp_expr into tscannerfile class. 8 роки тому
script.pas d2fe24ae20 * fix some more occured->occured 9 роки тому
switches.pas 86b9381673 Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target. 9 роки тому
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 11 роки тому
symconst.pas af8e0efe57 * Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits. 9 роки тому
symcreat.pas b1dff29cbf * removed unused units 8 роки тому
symdef.pas b1dff29cbf * removed unused units 8 роки тому
symsym.pas b1dff29cbf * removed unused units 8 роки тому
symtable.pas 631d4a2d53 * Move global variable in_preproc_comp_expr into tscannerfile class. 8 роки тому
symtype.pas b1dff29cbf * removed unused units 8 роки тому
symutil.pas b1dff29cbf * removed unused units 8 роки тому
syscinfo.pas b1dff29cbf * removed unused units 8 роки тому
systems.inc 319a397ae8 webassembly: reserve a system id and cpu id slot for the platform 8 роки тому
systems.pas b837f544de * only rtl needed fix. 8 роки тому
tgobj.pas b1dff29cbf * removed unused units 8 роки тому
tokens.pas 25db29d0a6 * symtable.pas: 9 роки тому
verbose.pas 72e1443081 + don't abuse status.currentsourcepath to pass on PPU names if the source is unavailable, causes side effects with other frontends (like the IDE). Improved solution for Mantis #27588 10 роки тому
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 роки тому
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 10 роки тому
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 17 роки тому
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 9 роки тому
wpoinfo.pas b1dff29cbf * removed unused units 8 роки тому

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