Jonas Maebe 00d97d54ca * don't overwrite the curroffset field while adding bytes for bitpacked fields 9 år sedan
..
aarch64 fa3b0ca312 * support marking defs created via the getreusable*() class methods as 9 år sedan
arm 9aa3c23b18 Added a bunch of new and fixed embedded controller units. From Michael Ring. 9 år sedan
avr 5ec4d38231 Add support for ram-less AVR chips and simultanously optimize flash/ram size the initfinal calling sequence. 9 år sedan
generic 3cb9be73bc Moved tcontrollerdatatype out into cpuinfo. 10 år sedan
html fa0d3d79e0 no message 23 år sedan
i386 a78250a78b * x87 FBSTP and FBLD instructions cannot have size suffix in ATT syntax. Mantis #29095. 9 år sedan
i8086 1e33924f73 + support procvardefs (address only) in i8086's hlcgcpu.getaddressregister; this 9 år sedan
jvm 6735def16f * fixed jvm compilation after r32517 9 år sedan
llvm 8df979e5e8 * take into account the fact that bitpacked ordinal fields are all encoded 9 år sedan
m68k fa3b0ca312 * support marking defs created via the getreusable*() class methods as 9 år sedan
mips fa3b0ca312 * support marking defs created via the getreusable*() class methods as 9 år sedan
msg 3675fc75cb VLink Support: 9 år sedan
powerpc fa3b0ca312 * support marking defs created via the getreusable*() class methods as 9 år sedan
powerpc64 fa3b0ca312 * support marking defs created via the getreusable*() class methods as 9 år sedan
ppcgen a32605bd38 * don't force setelementn's into a 32 bit modifiable register if they were 9 år sedan
sparc fa3b0ca312 * support marking defs created via the getreusable*() class methods as 9 år sedan
systems 4b1eb0e4f3 Applied patch from Michael Ring fixing the startup code for Freescale microcontrollers. 9 år sedan
utils fa3b0ca312 * support marking defs created via the getreusable*() class methods as 9 år sedan
x86 1b965e6766 * x86: Don't save/restore integer registers that are volatile per calling convention of current procedure. It implies that nothing will be saved for procedures with OLDFPCCALL, FAR16 and PASCAL and calling conventions. OLDFPCCALL restores behavior that was in effect before r25224. 9 år sedan
x86_64 a27927e658 * disable parameter struct padding for llvm, as llvm does that it by itself 9 å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 2e3cb70489 * regenerated makefiles after adding the win16 target 10 år sedan
Makefile.fpc 2e3cb70489 * regenerated makefiles after adding the win16 target 10 år sedan
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 år sedan
aasmbase.pas be2f63aa97 + tasmlabel.createstatic() constructor for creating static data labels 10 år sedan
aasmcnst.pas ac743195b6 * fixup for r32534: don't define external symbols, only reference them 9 år sedan
aasmdata.pas 6dd06a1aae * put the code for pure assembler routines in a separate asmlist, so 10 år sedan
aasmsym.pas a23fa2e81e * moved (unfinished) routines related to writing taicpu's to ppu files 18 år sedan
aasmtai.pas 995ca4fb12 + implemented the 'SEG @DATA' inline assembler directive for i8086 9 år sedan
aggas.pas d303e15eae * support custom section names for Darwin platforms 9 år sedan
aopt.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 år sedan
aoptbase.pas 3c7ad95f7d * simplified RegInInstruction() and fixed range errors 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 5771073e0b * Fixed general peephole optimization of conditional jumps after r30446. It has been broken, since r30446 had added some IsJumpToLabel() checks, which tests for unconditional jump, but the optimization code expects also conditional jumps. 9 år sedan
assemble.pas 995ca4fb12 + implemented the 'SEG @DATA' inline assembler directive for i8086 9 år sedan
blockutl.pas 0ac12f0eaf Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed. 9 år sedan
browcol.pas 2370669f86 Avoid infinite recursion on generic classes for IDE browser 11 å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 231039b224 * since T(Tag)HashSet always forces the size to a power of 2, use "and" 9 år sedan
cfidwarf.pas 23ff1e0681 * fix error in cfidwarf rev 16062 for non-windows systems 15 år sedan
cfileutl.pas 2578514853 * first dragonfly patch (existing most). Mantis #27091 10 år sedan
cg64f32.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 9 år sedan
cgbase.pas 0fdc62e0f7 + initialize DS with the current unit's data segment in the function entry code 10 år sedan
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 år sedan
cgobj.pas 3f736f6114 * handle the loading of VMT entries at the node level, so it's done in a 10 år sedan
cgutils.pas 5595651816 * define avr => cpu8bitalu 10 år sedan
cmsgs.pas aba10cd184 compiler: 13 år sedan
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 år sedan
compiler.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 år sedan
compinnr.inc ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time 10 år sedan
comprsrc.pas 7bc66a5142 + ELF/ppc64le resource support 10 år sedan
constexp.pas a0f0d0de40 * make use of the noreturn directive for internalerror 11 år sedan
cpid.pas 091627883f merge r14347 from cpstrnew branch by florian: 14 år sedan
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 år sedan
cresstr.pas 17358aa3ed * Removed unused local vars. 9 år sedan
cstreams.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 år sedan
cutils.pas 432248cbf1 * Removed lot of unused vars. 10 å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 145e9c1aae * don't generate debug info for class fields in generic types 11 år sedan
dbgdwarf.pas 6d0c5b234b Avoid unsupported .uleb128 with diff of two sympbols for native solaris assembler 9 år sedan
dbgstabs.pas 64dafdb1de * stabn writing code simplified 11 år sedan
dbgstabx.pas 0d3bccaa1b Do not consider ansi/wide/unicode strings as taggable for stabs 11 år sedan
defcmp.pas 8087389f63 * support assigning static methods to regular procvars in (obj)fpc mode 9 år sedan
defutil.pas 75a6ba4113 - removed symcpu dependencies 10 år sedan
dirparse.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 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 67b8aceaee * synchronized with privatetrunk till r30095 10 år sedan
finput.pas 3e2248f41a + implemented exporting of functions for the win16 target 10 år sedan
fmodule.pas 79866f9824 * free a bunch of extra data after a unit is compiled, as it is no longer 9 år sedan
fpccrc.pas 793fd8fc09 * Add -Xg to help pages 17 år sedan
fpcdefs.inc 885b0034c5 Allow use of stabs for 64-bit systems with -dUSE_STABS_64 9 år sedan
fppu.pas 2cea723a0d * only write the parts of the unit localsymtables that are actually needed: 9 år sedan
gendef.pas aee5380ae0 * merged trunk up to r20882 13 år sedan
globals.pas 70b8789262 o basic extended pascal support: 9 år sedan
globstat.pas 88af293155 Fix for Mantis #22160 13 år sedan
globtype.pas bfa96171e0 * changed the asizeint and asizeuint to 32-bit on CPUs with 16-bit address 9 år sedan
hlcg2ll.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 år sedan
hlcgobj.pas 4f4d4d9456 * also support non-pointerdefs as first argument for g_ptrtypecast_ref() 9 år sedan
htypechk.pas 529677cc79 ncal.pas: 10 år sedan
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 å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 b26fa07f1a * Fixed notes "var is assigned but not used". 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 bc51cc1151 regenerated msgidx.inc and msgtxt.inc afer r32324 9 år sedan
msgtxt.inc bc51cc1151 regenerated msgidx.inc and msgtxt.inc afer r32324 9 år sedan
nadd.pas a159ebdbad * fixed comparison of two procvars in the i8086 compact and medium memory models 9 år sedan
nbas.pas 4f5fc66298 + new parser-only node class to handle Delphi-mode inline specializations 10 år sedan
ncal.pas 6fda08705b * moved the generation of th ehidden self parameter from pass_1 to 9 år sedan
ncgadd.pas 432248cbf1 * Removed lot of unused vars. 10 år sedan
ncgbas.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 år sedan
ncgcal.pas ea0c8e6f38 - reverted accidentally committed code with r32463 9 år sedan
ncgcnv.pas d6fb458129 * made second_proc_to_procvar type safe 9 år sedan
ncgcon.pas ccf1c67665 * converted large set constant emission to high level typed const builder 9 år sedan
ncgflw.pas 118f3c8049 * fixed type of stored exception class instance in on-node 9 år sedan
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 år sedan
ncginl.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 år sedan
ncgld.pas 0c4edd2aa9 * fixed getting address of interface methods after r32414: interfaces are not 9 år sedan
ncgmat.pas 8ff5371a6c + support mmregisters in the generic unaryminus code for floats 10 år sedan
ncgmem.pas d0f97a6441 * converted open array range checking to the high level code generator 9 år sedan
ncgnstld.pas 95927665ce - removed variable notification support, it's not used and superceded by 10 å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 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 år sedan
ncgrtti.pas 94a6ef3103 * use codeptruinttype/codeptrsinttype when emiting ordinal constants that 9 år sedan
ncgset.pas 2ad8bc3b27 * fixed operation size of comparison with maximum legal value in 9 år sedan
ncgutil.pas 14020b044c Fix bug in gen_load_cgpara_loc for 64bit registers on 8bit architectures. 9 år sedan
ncgvmt.pas 7b89072d88 * fixed external wrapper generation on llvm 9 år sedan
ncnv.pas ea0c8e6f38 - reverted accidentally committed code with r32463 9 år sedan
ncon.pas 495b7181a8 + write the value of a pointer constant node in printnodedata 10 år sedan
nflw.pas 95927665ce - removed variable notification support, it's not used and superceded by 10 år sedan
ngenutil.pas 17358aa3ed * Removed unused local vars. 9 år sedan
ngtcon.pas 8f57609ef2 * fixed types for classrefdef typed constants 9 år sedan
ninl.pas 74c79803f7 Extend tlocalvarsym with the ability to not register it if needed. 9 år sedan
nld.pas 9914f02faa * always set the resultdef for variant array constructors correctly, so we 9 år sedan
nmat.pas 432248cbf1 * Removed lot of unused vars. 10 år sedan
nmem.pas 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 9 år sedan
nobj.pas 39016c032e Fix for Mantis #28442. Do not generate the VMT record definition for generic classes. It isn't used anyway. 10 år sedan
nobjc.pas 0dcedf3799 * do not crash but give a fatal error when using Objective-Pascal code 15 år sedan
node.pas 4f5fc66298 + new parser-only node class to handle Delphi-mode inline specializations 10 år sedan
nopt.pas 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to 12 år sedan
nset.pas ee87d3bba9 * fixed "case <string> of" with multiple labels for a single statement after 10 år sedan
nstate.pas 790a4fe2d3 * log and id tags removed 20 år sedan
nutils.pas 9ea38f4577 * support static fields in nested types in records, by always including 9 år sedan
objcdef.pas bd09b88a5b + support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension) 11 år sedan
objcgutl.pas 9ffadf2941 * write nil instead of a reference to _objc_empty_vtable for iOS and the 9 år sedan
objcutil.pas f402b0d7df * changed getpointerdef() into a tpointerdef.getreusable() class method 10 år sedan
ogbase.pas 0d48e5f6c7 + added support to the omf/i8086-msdos internal linker for omf relocation with 9 år sedan
ogcoff.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 år sedan
ogelf.pas 11a9ff4a43 * Removed unused vars for mipsel compiler. 10 år sedan
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
ogmacho.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 år sedan
ogmap.pas ba1c494cd6 * the code for displaying a symbol address in the linker map file moved to a 10 år sedan
ognlm.pas 991e1f49bd * store a pointer to the used tasminfo record in every assembler writer, so 10 år sedan
ogomf.pas b9ca24d4df + added property to the omf object reader, specifying whether symbol names 9 år sedan
omfbase.pas 4edbd27774 * support writing omf libraries with size greater than 251 blocks 9 år sedan
optbase.pas 99eadb91b3 * run CheckAndWarn to get proper locations for warnings about uninitialized variables 11 år sedan
optconstprop.pas f393c3ff37 * propagate constants into the header of a for loop 11 år sedan
optcse.pas af2c7bf00f * don't perform CSE on typeconversion nodes inserted for absolute 10 år sedan
optdead.pas 1e227f78fe * factored out the check for whether we have to generate dotted function 10 år sedan
optdeadstore.pas 27ac68cdc7 * be more careful when removing dead stores 11 år sedan
optdfa.pas b26fa07f1a * Fixed notes "var is assigned but not used". 10 år sedan
options.pas 3675fc75cb VLink Support: 9 år sedan
optloop.pas f813703cf3 * fixes several issues with loop unrolling 10 år sedan
opttail.pas b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 år sedan
optutils.pas b1ee6f282c * set successor node for load nodes as well, they can be generated when inlining 11 år sedan
optvirt.pas 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 år sedan
owar.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
owbase.pas 368ba47d6e * support writing more than 1024 zeros in tobjectwriter.writezeros 10 år sedan
owomflib.pas 4edbd27774 * support writing omf libraries with size greater than 251 blocks 9 år sedan
parabase.pas 02ca215272 * reworked and fixed llvm procdef handling (except for variadic C functions): 11 år sedan
paramgr.pas fa3b0ca312 * support marking defs created via the getreusable*() class methods as 9 år sedan
parser.pas 7e348a40a3 Use general_e_exception_raised if Compiler generates an uncaught exception 10 år sedan
pass_1.pas 9fdd64e94c * indention and new line fixes 11 år sedan
pass_2.pas 1181eb0ddb * fixed compilation of the compiler with -dEXTDEBUG after r31588 10 år sedan
pbase.pas 5a344ee263 Rework the way how "specialize" is handled. Instead of initializing the specialization of a full type declaration (including unit name and parent types) it is now considered part of the specialized type itself. This means that for example the following code: 10 år sedan
pdecl.pas 1142fdeccd * initialize variables to avoid warnings 9 år sedan
pdecobj.pas d3660fec31 Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 9 år sedan
pdecsub.pas 2eeb59591a pdecsub.pas, parse_proc_head: 9 år sedan
pdecvar.pas 1142fdeccd * initialize variables to avoid warnings 9 år sedan
pexports.pas 0ff87336aa Convert the Boolean parameters accept_equal, typeonly and hadspecialize of comp_expr(), sub_expr() and factor() to a set parameter and adjust all calls. 9 år sedan
pexpr.pas 9ea38f4577 * support static fields in nested types in records, by always including 9 år sedan
pgentype.pas c81eda7a42 Fully enable generic functions, procedures and methods by allowing inline specializations in procedure bodies as well. 9 år sedan
pgenutil.pas 0ff87336aa Convert the Boolean parameters accept_equal, typeonly and hadspecialize of comp_expr(), sub_expr() and factor() to a set parameter and adjust all calls. 9 år sedan
pinline.pas 70b8789262 o basic extended pascal support: 9 år sedan
pmodules.pas ba92fdafcc * free the calleeside paraloc information after a unit has been compiled 9 år sedan
pp.lpi b57c95043f + support overriding tdef/tsym methods with target-specific functionality: 11 år sedan
pp.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 år sedan
pparautl.pas 74c79803f7 Extend tlocalvarsym with the ability to not register it if needed. 9 år sedan
ppc68k.lpi 9ebf2aa984 * project file updates 13 år sedan
ppc8086.lpi 839ab714cc + started implementing a win16 target :) 10 å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 f4a62c4c60 * fixed (harmless) range errors in getasizeint() after r32444 9 år sedan
ppx86_64.lpi e96dc4204e * version update 13 år sedan
procinfo.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 år sedan
pstatmnt.pas 74c79803f7 Extend tlocalvarsym with the ability to not register it if needed. 9 år sedan
psub.pas 17358aa3ed * Removed unused local vars. 9 år sedan
psystem.pas 2504a0ce6c + codeptruinttype/codeptrsinttype that has the same size as 9 år sedan
ptconst.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 år sedan
ptype.pas d3660fec31 Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 9 år sedan
raatt.pas 8445381929 * merged ait_set and ait_thumb_set into a single tai class 10 år sedan
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 år sedan
rasm.pas 5c48804240 * Moved local label infrastructure into tasmreader, reduces number of global vars. Functionality is not changed. 11 år sedan
rautils.pas 2e0fea94b8 * set operand size information when accessing fields in assembly 9 å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 199b1861d6 * fix wrong comparisons in trgobj.conservative to enable better coalescing, 10 år sedan
scandir.pas 3a4afab681 * fixed a bug in the $targetswitch directive, which prevented target switches 10 år sedan
scanner.pas 70b8789262 o basic extended pascal support: 9 år sedan
script.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 år sedan
switches.pas b26e10d53c + generate proper win16 prologue/epilogue for exported routines (we don't yet 10 år sedan
symbase.pas a5bef2a2b9 * prevent new definitions being added to a global unit symtable after compilation of the implementation part started 10 år sedan
symconst.pas 96b529072a * factored out generating the start and end of a vectorized dead strippable 9 år sedan
symcreat.pas d3660fec31 Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 9 år sedan
symdef.pas bfa96171e0 * changed the asizeint and asizeuint to 32-bit on CPUs with 16-bit address 9 år sedan
symsym.pas 74c79803f7 Extend tlocalvarsym with the ability to not register it if needed. 9 år sedan
symtable.pas 00d97d54ca * don't overwrite the curroffset field while adding bytes for bitpacked fields 9 år sedan
symtype.pas 9a0cb50a08 * converted the result of fullownerhierarchyname to tsymstr so it (and 9 år sedan
symutil.pas 9adb202a92 * Rework the constexprint to allow operations from low(int64) to high(qword). 18 år sedan
systems.inc 90ff332b49 Add -Aas-sol to use native Solaris assembler 9 år sedan
systems.pas 9437d0e4d8 * Linux/AArch64 must also copy value parameters passed by reference on the 9 år sedan
tgobj.pas a0a77f3105 * suppress (harmless) range error 10 år sedan
tokens.pas 70b8789262 o basic extended pascal support: 9 år sedan
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 år sedan
version.pas 3f9f498e0d - removed leftover alpha, ia64 and vis code 10 år sedan
widestr.pas c8839d487b * fixed accidentally committed (harmless) typo in r32202 9 å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 5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr, 11 år sedan
wpoinfo.pas 4ff597afae * call "message" rather than "cgmessage" when throwing fatal errors, because 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