fpc/compiler
J. Gareth "Curious Kit" Moreton d5c6286852 * x86: Bug fix in OptPass1MOV long-range optimisations where
the wrong register was checked to see if had changed.
2024-10-20 12:43:52 +00:00
..
aarch64 + apply OptPass1FData on FRINT* 2024-08-31 21:51:15 +01:00
arm * armv7 should a synonyme for arm7a 2024-08-28 20:27:09 +01:00
armgen * arm / a64: New optimisation for removing the number of necessary S/UXTB/H instructions 2024-08-27 18:32:14 +00:00
avr + avrsim6 controller type 2024-09-14 16:00:35 +02:00
generic
html
i386 + Zen4 for i386 2024-09-22 10:43:26 +02:00
i8086 * more change information updates 2024-07-02 22:21:24 +02:00
jvm * few types fixed 2024-04-26 22:54:27 +02:00
llvm * fix building of llvm compiler after node flag refactoring 2024-03-05 22:23:39 +01:00
loongarch64
m68k * handle adress registers properly in tcg64f68k.a_op64_reg_ref 2024-07-19 20:00:21 +02:00
mips * MIPS64: make use of DMTC1 instruction 2024-10-18 21:53:26 +02:00
msg * PS1 target name in help screen changed to PlayStation 1 2024-10-06 04:54:29 +03:00
powerpc
powerpc64
ppcgen
riscv * RiscV64: fix abs(<longint>) 2024-10-14 21:10:10 +02:00
riscv32 * Risc-V: make use of sext.h instruction if available 2024-08-15 21:53:04 +02:00
riscv64 * RiscV64: fix abs(<longint>) 2024-10-14 21:10:10 +02:00
sparc + cs_opt_consts for sparc 2024-05-08 23:13:05 +02:00
sparc64 + cs_opt_consts for sparc64 2024-05-11 23:41:33 +02:00
sparcgen * unified g_concatcopy_move 2024-05-15 22:52:24 +02:00
systems + PS1: show linking message 2024-10-04 22:09:50 +03:00
utils First compiler Build 2024-09-29 16:56:18 +03:00
wasm32 + include unit aoptcpu in wasm32/cputarg.pas 2024-09-21 15:41:26 +03:00
x86 * x86: Bug fix in OptPass1MOV long-range optimisations where 2024-10-20 12:43:52 +00:00
x86_64 Use IndexQWord_SSE41 directly if -Cp RTL compiled with supports SSE 4.1. 2024-07-21 08:40:12 +00:00
xtensa Initial support for esp32-c6-s2-s3. Support for idf versions 5.0.6 and 5.2.1 2024-07-18 20:16:04 +00:00
z80
.gitignore git ignore msg2inc binary 2023-07-07 11:17:33 +02:00
aasmbase.pas
aasmcfi.pas + support for generating Dwarf CFI using .cfi_* directives 2019-03-03 17:15:03 +00:00
aasmcnst.pas + emit a size directive for the internal dynarray const label. This fixes 2024-09-01 22:29:34 +03:00
aasmdata.pas
aasmdef.pas
aasmsym.pas * fix case completeness and unreachable code warnings in compiler that would 2019-05-12 14:29:03 +00:00
aasmtai.pas * create a TWasmGlobalAsmSymbol instead of TAsmSymbol when generating debug info 2024-09-11 01:12:33 +03:00
aggas.pas * WebAssembly: refactored tai_local, so that it is a single directive, 2024-09-15 00:49:05 +03:00
aopt.pas * do not remove register deallocations/allocation pairs if the register is written 2021-04-06 19:16:17 +00:00
aoptbase.pas * patch by lag programming: Code cleanup at function TAOptBase.RegInInstruction, resolves #40952 2024-10-15 22:51:39 +02:00
aoptda.pas * removed unused units 2017-05-09 19:53:14 +00:00
aoptobj.pas + add optimizer units (empty for now) for the WebAssembly target 2024-09-21 14:50:16 +03:00
aoptutils.pas
assemble.pas Handle floatx80 records with gaps also in InternalAssembler 2024-09-18 18:54:44 +00:00
blockutl.pas
browcol.pas * Remove loaded_from in tmodule. The same unit can be loaded from different places 2024-03-05 07:56:14 +00:00
catch.pas - disabled installation of SIGINT signal handler for Darwin, because 2009-02-28 18:07:21 +00:00
ccharset.pas
cclasses.pas * patch by Rika: Use Index* for pointer lists, resolves #40218 2023-03-25 21:32:29 +01:00
cepiktimer.pas * do not include fpcdefs in the cepiktimer unit 2020-11-28 16:02:49 +00:00
cfidwarf.pas
cfileutl.pas * Allow to disable 8.3 filename search 2023-11-12 09:55:30 +01:00
cg64f32.pas
cgbase.pas + introduced cgbase.topcg2str and topcmp2str for converting TOpCg and TOpCmp to strings (useful for debug logging, etc) 2024-04-07 22:10:41 +03:00
cgexcept.pas
cghlcpu.pas * synchronized with privatetrunk till r30095 2015-03-05 20:32:15 +00:00
cgobj.pas * unified g_concatcopy_move 2024-05-15 22:52:24 +02:00
cgutils.pas + function needs_check_for_fpu_exceptions to unify fpu exception handling 2024-02-13 17:42:21 +01:00
cmsgs.pas + implemented support for codepage aware compiler messages. It can be enabled 2017-06-08 16:11:33 +00:00
comphook.pas * oc_blue properly named as noted by Don Siders 2024-05-20 20:43:14 +02:00
compiler.pas * (hopefully) more consistent message when the compiler is stopped during showing the help screen, resolves #39455 2024-04-25 22:12:31 +02:00
compinnr.pas * Added support for 64-bit min/max intrinsics 2024-03-26 14:18:31 +00:00
comprsrc.pas
comptty.pas + enable colored output on darwin, resolves #38693 2021-04-01 16:32:52 +00:00
constexp.pas
COPYING.txt * updated FSF address (mantis #30198, patch by Paul Gevers) 2016-10-02 12:56:59 +00:00
cprofile.pas
crefs.pas
cresstr.pas
cscript.pas Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 2021-04-17 22:17:46 +00:00
cstreams.pas * patch by Rika to pass some strings by reference, resolves #39338 2021-11-09 22:41:52 +01:00
ctask.pas * Fix access violation: module can be reset while loading dependent units. Fixes issue #40705 2024-03-26 16:06:27 +01:00
cutils.pas * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 2023-03-24 22:50:19 +01:00
dbgbase.pas Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 2023-09-09 06:54:30 +00:00
dbgcodeview.pas * Fixed value of the LF_PAD13 enum element. 2021-01-24 14:29:39 +00:00
dbgdwarf.pas * WebAssembly debug info: make wasmtime happy by not emitting line info end 2024-09-15 11:15:17 +03:00
dbgdwarfconst.pas * spelling fixed 2023-03-26 15:55:37 +02:00
dbgstabs.pas * spelling fixes 2022-08-04 23:01:35 +02:00
dbgstabx.pas
defcmp.pas * protect against comparisons of nested types of generics and specializations 2024-02-09 17:14:29 +01:00
defutil.pas * Added support for 64-bit min/max intrinsics 2024-03-26 14:18:31 +00:00
dirparse.pas - disallow enabling regvars for WebAssembly, because it's not supported, yet 2024-08-25 19:58:05 +03:00
dwarfbase.pas * improve dwarf cfi on avr 2022-09-28 22:47:06 +02:00
elfbase.pas
entfile.pas Fix compilation with -dDEBUG_PPU 2024-08-16 15:08:19 +00:00
export.pas + support 'promising last' exports 2023-06-16 11:00:19 +03:00
expunix.pas
finput.pas
fmodule.pas * Do not free used units during reset, they can be in use during load cycle. Fixes issue #40852 2024-07-15 14:09:49 +02:00
fpcdefs.inc + define cpufpemu for MIPS in order to enable (optionally) FPU emulation 2024-09-29 20:25:32 +03:00
fpchash.pas * make UpdateFnv64 closer to the original algorithm as proposed by Gareth 2024-09-15 21:49:02 +02:00
fpcp.pas * search using the real package name instead of the uppercased one so that an as-is cased package will be found as well 2024-01-07 18:09:50 +01:00
fpkg.pas Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 2016-04-15 14:42:24 +00:00
fppu.pas Rename conditional: INTFPPU => DEBUG_GENERATE_INTERFACE_PPU 2024-08-16 15:33:12 +00:00
gendef.pas * partial fix #40934: don't remove the DEF file if cs_link_deffile is set (thus if the user explicitly wants the file) 2024-10-11 16:20:28 +02:00
globals.pas + WebAssembly: allow specifying heapsize and maxheapsize larger than 2GiB 2024-08-24 14:09:43 +03:00
globstat.pas * Restore messages state 2024-03-05 07:56:14 +00:00
globtype.pas + enable strength reduction for -O3, probably an oversight for years that it was not included in -O3 2024-10-19 11:00:24 +02:00
hlcg2ll.pas * MIPS64: make use of DMTC1 instruction 2024-10-18 21:53:26 +02:00
hlcgobj.pas Omit FPC_INIT_FUNC_TABLE generation if no unit initialization is registered for current project. 2024-09-09 20:00:44 +00:00
htypechk.pas * don't throw an internal error if a procedure is passed to a const formal parameter, resolves #40817 2024-06-13 22:32:54 +02:00
impdef.pas 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. 2014-08-17 18:18:07 +00:00
import.pas * removed unused units 2017-05-09 19:53:14 +00:00
ldscript.pas * SetString needs correctly typed argument 2023-07-25 16:06:53 +02:00
link.pas Try to compute correct page size for wlib call 2024-01-02 14:17:23 +01:00
macho.pas Systematically include fpcdefs.inc at sart of all units used by compiler 2019-07-03 13:35:05 +00:00
machoutils.pas
Makefile First compiler Build 2024-09-29 16:56:18 +03:00
Makefile.fpc First compiler Build 2024-09-29 16:56:18 +03:00
MPWMake Remove unused, obsolete -dBROWSERLOG option 2021-04-22 15:26:15 +00:00
nadd.pas Force shortcut boolean evaluation when rewriting length(Windows widestring) = 0. 2024-10-17 02:23:49 +03:00
nbas.pas * "no_exit_statement_in_block" replaced with "not has_child_of_type(..., [exitn])" 2024-10-18 18:26:48 +00:00
ncal.pas + add printing of all fields of tcallnode in TCallNode.XMLPrintNodeData as well 2024-10-20 11:23:11 +02:00
ncgadd.pas * generic second_addordinal can handle swapped nodes 2024-08-18 22:03:22 +02:00
ncgbas.pas * Flags specific to TAsmNode have been moved to their own field 2024-03-02 21:31:21 +01:00
ncgcal.pas
ncgcnv.pas
ncgcon.pas
ncgflw.pas
ncghlmat.pas
ncginl.pas * second_abs: don't supply a separate 64 bit code path for high level cpu targets 2024-04-07 22:49:18 +02:00
ncgld.pas * revert check for boolean type when handling LOC_FLAG in tcgassignmentnode.pass_generate_code. This makes pas boolean the default, 2024-09-16 22:48:18 +02:00
ncgmat.pas
ncgmem.pas
ncgnstfl.pas
ncgnstld.pas
ncgnstmm.pas * Do not use the LOC_VOID location to indicate unused parameters. 2020-05-21 09:36:40 +00:00
ncgobjc.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgopt.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgrtti.pas * Do not include class and array properties in RTTI 2024-07-27 08:21:44 +02:00
ncgset.pas * fixed bug that caused 'c in ['a'..'z']' to fail on the WebAssembly target, when code is compiled with {$packset 1} 2024-01-10 03:11:13 +02:00
ncgutil.pas * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 2024-03-24 18:14:49 +00:00
ncgvmt.pas * use proper value for Fnv64 initialization 2024-09-14 13:54:54 +02:00
ncnv.pas
ncon.pas * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 2024-02-13 19:44:36 +01:00
nflw.pas * "checkcontinue" replaced with "has_child_of_type(..., [continuen])" 2024-10-18 18:26:48 +00:00
ngenutil.pas * fix #40259: global managed records with Initialize operator need to be initialized no matter if they are referenced in the current unit or not. 2024-10-18 17:51:49 +02:00
ngtcon.pas Fixing bug where in const init no typecheck for symbol was performed 2024-10-09 19:48:53 +00:00
ninl.pas * ensure that Default() symbols that use management operators are properly initalized/finalized 2024-10-11 18:00:01 +02:00
nld.pas * formatting 2024-03-02 21:31:21 +01:00
nmat.pas + get_int_value 2024-04-16 23:11:16 +02:00
nmem.pas * Added missing "override" directive for XML node dump routine on TDerefNode 2024-03-26 13:25:46 +00:00
nobj.pas * avoid range check error in TVMTBuilder.intf_optimize_vtbls by early bailing out if a class has no interfaces 2024-04-21 19:26:01 +02:00
nobjc.pas * broken compilation after r39347 fixed 2018-06-30 12:30:25 +00:00
node.pas * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 2024-03-24 18:14:49 +00:00
nopt.pas * Flags specific to TArrayConstructorNode have been moved to their own field 2024-03-02 21:31:21 +01:00
nset.pas + in on an empty set is always false, resolves #40745 2024-04-19 23:43:35 +02:00
nutils.pas * properly process all child nodes of call nodes in foreachnode, resolves #40957 2024-10-19 23:41:46 +02:00
objcasm.pas
objcdef.pas objcdef: remove duplicate variant start check 2022-06-06 23:12:53 +02:00
objcgutl.pas
objcutil.pas objc: use compile-time macOS version checks 2022-09-16 11:21:05 +02:00
ogbase.pas Immediately set the capacity 2024-07-08 20:17:11 +00:00
ogcoff.pas Handle cross-endian case inside TCoffObjData.writereloc method 2024-09-16 18:58:40 +00:00
ogelf.pas Immediately set the capacity 2024-07-08 20:17:11 +00:00
oglx.pas * refactored the internal linker ar object reader object creation to allow using 2015-08-14 13:52:45 +00:00
ogmacho.pas + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 2020-04-25 12:59:25 +00:00
ogmap.pas * SetString needs correctly typed argument 2023-07-25 16:06:53 +02:00
ognlm.pas
ogomf.pas * use NtoLE instead of LEtoN in OMF DoRelocationFixup when converting from native to little endian. No functional changes, just better readability. 2023-11-02 14:28:48 +02:00
ogrel.pas + support for .debug_loc and .debuc_loclist sections 2024-01-16 23:24:37 +01:00
ogwasm.pas * WebAssembly internal linker: only generate the tag name subsection if there 2024-09-21 09:43:21 +03:00
omfbase.pas + support for .debug_loc and .debuc_loclist sections 2024-01-16 23:24:37 +01:00
optbase.pas
optconstprop.pas * do_optconstpropagate and do_optdeadstoreelim now set their 2024-09-22 12:13:14 +00:00
optcse.pas + do do_consttovar on RiscV 2024-05-25 20:09:02 +02:00
optdead.pas * removed unused units 2017-05-09 19:53:14 +00:00
optdeadstore.pas * do_optconstpropagate and do_optdeadstoreelim now set their 2024-09-22 12:13:14 +00:00
optdfa.pas * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 2024-03-24 18:14:49 +00:00
options.pas * ignore the -gl parameter (and print a warning) on the embedded targets 2024-10-16 15:46:34 +03:00
optloadmodifystore.pas * Before r35961 (back in 2017) some simple assignment optimizations, such as "x:=x+y" to "inc(x,y)", were performed when -O2 in tassignmentnode.simplify. In r35961 these optimizations were moved to a separate pass which is enabled only when -O3 by cs_opt_use_load_modify_store. This separate pass can benefit from other optimization. But worse code is generated with -O2 since then. 2021-08-13 13:53:40 +03:00
optloop.pas * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 2024-03-24 18:14:49 +00:00
opttail.pas * disable tail recursion optimisation if there is a copy-back parameter 2020-07-21 17:57:50 +00:00
optutils.pas * patch by Rika: Use Index* for pointer lists, resolves #40218 2023-03-25 21:32:29 +01:00
optvirt.pas WPO: handle classes defined in localsymtables 2024-02-19 21:26:42 +01:00
owar.pas * return the correct size for files in ar archive. This is required by the REL 2020-06-01 22:25:31 +00:00
owbase.pas
owomflib.pas
parabase.pas
paramgr.pas * cleanup of VER3_0 defines 2021-11-17 22:19:57 +01:00
parser.pas Rename function to reset_all_default_types 2024-10-09 19:46:49 +00:00
pass_1.pas * compilation with -dEXTDEBUG fixed 2024-03-28 15:07:35 +01:00
pass_2.pas * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 2024-03-24 18:14:49 +00:00
pbase.pas * Properly handle finish state 2024-03-05 07:56:14 +00:00
pcp.pas
pdecl.pas * give better error message for #40821 2024-06-16 10:51:45 +02:00
pdecobj.pas * Inherit extended RTTI settings from parent object 2024-07-19 16:05:14 +02:00
pdecsub.pas * fix #40764: declare procsyms of a class/object also as sp_generic_dummysym if a symbol in a parent class has it set so that the parser will treat it as a potential generic 2024-05-06 23:39:18 +02:00
pdecvar.pas * fix #40721: correctly set up the generic defs when parsing fields, especially important when dealing with anonymous fields 2024-04-12 17:34:58 +02:00
pexports.pas * add procsyms from exports also to deffile if user explicitly asked for one 2024-10-11 16:20:28 +02:00
pexpr.pas * handle except blocks as normal code block with regard to specialization of generics, resolves #40890 2024-09-17 23:02:25 +02:00
pgentype.pas * handle except blocks as normal code block with regard to specialization of generics, resolves #40890 2024-09-17 23:02:25 +02:00
pgenutil.pas * properly unlink unused type symbols from their defs to avoid 2024-09-20 22:49:08 +02:00
pinline.pas
pkgutil.pas * patch by Marģers to unify internal error numbers, resolves #37888 2020-10-13 19:59:01 +00:00
pmodules.pas * make warning on unsupported esp-idf version a warning string so it can be translated 2024-07-18 22:40:05 +02:00
pp.lpi
pp.pas * fix alphabetical sorting of targets in comment 2024-09-29 17:39:41 +03:00
pparautl.pas * throw an error if varargs is used without appropriate calling conventions, resolves #40342 2024-05-14 22:44:12 +02:00
ppc68k.lpi
ppc8086.lpi * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ppcaarch64.lpi * update project file 2024-07-11 22:12:38 +02:00
ppcarm.lpi
ppcavr.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcjvm.lpi
ppcloongarch64.lpi
ppcmips64el.lpi
ppcmips.lpi
ppcmipsel.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcppc64.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcppc64le.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcppc.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcriscv32.lpi
ppcriscv64.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcsparc64.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcsparc.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcwasm32.lpi + add optimizer units (empty for now) for the WebAssembly target 2024-09-21 14:50:16 +03:00
ppcx64.lpi
ppcx64llvm.lpi
ppcxtensa.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppcz80.lpi * project files updated 2023-03-15 23:01:44 +01:00
ppheap.pas Always write filename, truncate directory part if needed 2016-08-21 22:24:07 +00:00
ppu.pas * make UpdateFnv64 closer to the original algorithm as proposed by Gareth 2024-09-15 21:49:02 +02:00
procdefutil.pas Immediately set the capacity 2024-07-08 20:17:11 +00:00
procinfo.pas
psabiehpi.pas * fix LLVM after r48828 2021-02-27 22:07:58 +00:00
pstatmnt.pas * Block nodes are now marked as strippable when created from "begin" statements 2024-05-03 21:13:43 +00:00
psub.pas * do_optconstpropagate and do_optdeadstoreelim now set their 2024-09-22 12:13:14 +00:00
psystem.pas * Define char as AnsiChar 2023-07-22 08:26:22 +00:00
ptconst.pas * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed 2019-11-21 21:44:16 +00:00
ptype.pas * extend read_anon_type() so that it can take a genericdef as well 2024-04-12 17:34:58 +02:00
raatt.pas
rabase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
rasm.pas
rautils.pas * fixed the WebAssembly inline asm call instruction with the internal assembler writer 2024-07-20 21:53:24 +03:00
README.txt
rescmn.pas + initial compiler support for WebAssembly resources. Requires WebAssembly 2024-06-25 03:07:55 +03:00
rgbase.pas + added the Z80 individual flag bits as subregisters 2020-05-11 19:17:31 +00:00
rgobj.pas
scandir.pas + WebAssembly: allow specifying heapsize and maxheapsize larger than 2GiB 2024-08-24 14:09:43 +03:00
scanner.pas * mark symbols used in conditional compiling expressions using sizeof, resolves #40955 2024-10-20 14:37:09 +02:00
switches.pas * fix #40655: apply changes to packrecords, packenum and setalloc using the recordpending*() functions so that they are applied correctly in case of them being used directly after a {$POP}{$PUSH} sequence 2024-02-20 23:52:52 +01:00
symbase.pas * Replace object with record where possible 2024-05-04 16:44:32 +02:00
symconst.pas * Fix creating thunk class when inherited interfaces are used 2024-05-04 16:44:32 +02:00
symcreat.pas * Generate correct type name for procedural type arguments in thunk class 2024-10-15 15:59:09 +02:00
symdef.pas Rename function to reset_all_default_types 2024-10-09 19:46:49 +00:00
symsym.pas Immediately set the capacity 2024-07-08 20:17:11 +00:00
symtable.pas Fix 2nd compilation in Textmode IDE 2024-09-24 16:28:07 +00:00
symtype.pas * properly unlink unused type symbols from their defs to avoid 2024-09-20 22:49:08 +02:00
symutil.pas JVM: add typesym for anonymous record typed constants 2023-02-05 10:58:59 +01:00
syscinfo.pas
systems.inc First compiler Build 2024-09-29 16:56:18 +03:00
systems.pas psy-q-sdk lib duplicate named *.o files excluded from link 2024-09-29 16:59:02 +03:00
tgobj.pas
tokens.pas + also allow declaring an external as 'suspending first' 2023-06-13 09:56:44 +03:00
triplet.pas Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
verbose.pas Add -vj option in options unit to set V_Parallel 2023-09-09 07:49:22 +00:00
version.pas Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
versioncmp.pas Missing file from b26703feaa 2022-09-16 15:22:05 +02:00
wasmbase.pas + added extra values to TWasmNameSubsectionType from the extended name section 2024-09-19 06:35:49 +03:00
widestr.pas * some cleanup 2019-12-23 21:52:06 +00:00
wpo.pas 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 2008-12-11 17:40:18 +00:00
wpobase.pas WPO: fix dead code detection, and handle procvars 2023-03-24 21:22:18 +01:00
wpoinfo.pas

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