2
0
florian b077b506d3 * another update by Ido 21 жил өмнө
..
alpha e417e34496 * truncate log 21 жил өмнө
arm ec959955bd * fixed generic jumps optimizer and enabled it for ppc (the label table 21 жил өмнө
html fa0d3d79e0 no message 23 жил өмнө
i386 33ec5d49c5 * USECMOV fixed 21 жил өмнө
ia64 e417e34496 * truncate log 21 жил өмнө
m68k e417e34496 * truncate log 21 жил өмнө
mips 409eec37c3 * small compilation fix 21 жил өмнө
msg b077b506d3 * another update by Ido 21 жил өмнө
powerpc bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 21 жил өмнө
sparc ec959955bd * fixed generic jumps optimizer and enabled it for ppc (the label table 21 жил өмнө
systems a5c94ddccd * removed some unused variables 21 жил өмнө
utils bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 21 жил өмнө
vis e417e34496 * truncate log 21 жил өмнө
x86 0cd81efba7 + storing non-extended floats to memory generates now a fwait to get exceptions at the correct place 21 жил өмнө
x86_64 20ad7813c2 * fix empty varargs codegeneration for x86_64 21 жил өмнө
COPYING d4b8a224a1 + Added license to this library 21 жил өмнө
MPWMake f60d0b98b7 * Bugfix 21 жил өмнө
Makefile b1900cc269 * 1.9.9 21 жил өмнө
Makefile.fpc b1900cc269 * 1.9.9 21 жил өмнө
README 012af1131e * updated to help compiling the compiler 22 жил өмнө
aasmbase.pas e417e34496 * truncate log 21 жил өмнө
aasmtai.pas 6c38093871 * fixed spilling for several ppc instructions which only read registers 21 жил өмнө
aggas.pas e417e34496 * truncate log 21 жил өмнө
aopt.pas ec959955bd * fixed generic jumps optimizer and enabled it for ppc (the label table 21 жил өмнө
aoptbase.pas e417e34496 * truncate log 21 жил өмнө
aoptcs.pas e417e34496 * truncate log 21 жил өмнө
aoptda.pas e417e34496 * truncate log 21 жил өмнө
aoptobj.pas ec959955bd * fixed generic jumps optimizer and enabled it for ppc (the label table 21 жил өмнө
assemble.pas e417e34496 * truncate log 21 жил өмнө
browcol.pas e417e34496 * truncate log 21 жил өмнө
browlog.pas e417e34496 * truncate log 21 жил өмнө
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 26 жил өмнө
catch.pas 2ec108a9c7 * Handle Control-C exception more cleanly 21 жил өмнө
cclasses.pas 6578fb25bb - removed unused variables 21 жил өмнө
cg64f32.pas dd0664156d * fix passing of 64bit values when using -Or 21 жил өмнө
cgbase.pas e417e34496 * truncate log 21 жил өмнө
cgobj.pas e417e34496 * truncate log 21 жил өмнө
cgutils.pas e417e34496 * truncate log 21 жил өмнө
charset.pas e417e34496 * truncate log 21 жил өмнө
cmsgs.pas e417e34496 * truncate log 21 жил өмнө
comphook.pas daf59fbd7e * getFPCheapstatus (no, FPC HEAP, not FP CHEAP!) 21 жил өмнө
compiler.pas a5c94ddccd * removed some unused variables 21 жил өмнө
compinnr.inc e417e34496 * truncate log 21 жил өмнө
comprsrc.pas baa6032362 * maybequoted for windres args 21 жил өмнө
cp437.pas effb0aae89 - remove compilation warnings 23 жил өмнө
cp850.pas effb0aae89 - remove compilation warnings 23 жил өмнө
cp8859_1.pas effb0aae89 - remove compilation warnings 23 жил өмнө
crc.pas e417e34496 * truncate log 21 жил өмнө
cresstr.pas e417e34496 * truncate log 21 жил өмнө
cstreams.pas e417e34496 * truncate log 21 жил өмнө
cutils.pas 55e76063df * Fix methodpointer copy from callnode to loadnode 21 жил өмнө
defcmp.pas 218930cf11 * support open array to pointer 21 жил өмнө
defutil.pas e417e34496 * truncate log 21 жил өмнө
dwarf.pas a5c94ddccd * removed some unused variables 21 жил өмнө
export.pas e417e34496 * truncate log 21 жил өмнө
finput.pas e417e34496 * truncate log 21 жил өмнө
fmodule.pas e417e34496 * truncate log 21 жил өмнө
fpcdefs.inc 1323b56132 * USECMOV activated 21 жил өмнө
fppu.pas 878c56bad6 * Cleaned up handling of source file extension. 21 жил өмнө
gdb.pas e417e34496 * truncate log 21 жил өмнө
gendef.pas e417e34496 * truncate log 21 жил өмнө
globals.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 21 жил өмнө
globtype.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 21 жил өмнө
htypechk.pas 88681a14c7 support string[index] for const/var assignment 21 жил өмнө
impdef.pas e417e34496 * truncate log 21 жил өмнө
import.pas e417e34496 * truncate log 21 жил өмнө
link.pas e417e34496 * truncate log 21 жил өмнө
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd 25 жил өмнө
mdppc386.bat 1f4bac4fd0 * delphi fixes 24 жил өмнө
mppc386.bat 07ad807864 * added -FE. to put the PPU's in the compiler dir 25 жил өмнө
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit 28 жил өмнө
mppcsparc 72556ae39f * fix compile problem 21 жил өмнө
msgidx.inc 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 21 жил өмнө
msgtxt.inc 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 21 жил өмнө
nadd.pas 3e54552235 + * fix constant folding for string+char (from Peter) 21 жил өмнө
nbas.pas 252fa84c62 + compiler support for reading/writing of vararrays 21 жил өмнө
ncal.pas 55e76063df * Fix methodpointer copy from callnode to loadnode 21 жил өмнө
ncgadd.pas 43c5b3fd29 * fixed web bug #3533 21 жил өмнө
ncgbas.pas e417e34496 * truncate log 21 жил өмнө
ncgcal.pas 50bbe3c205 * support typecasting a ordinal const to 8 byte record. a_param_loc 21 жил өмнө
ncgcnv.pas 6cc3dbae94 * fixed web bug #3694 21 жил өмнө
ncgcon.pas e417e34496 * truncate log 21 жил өмнө
ncgflw.pas e417e34496 * truncate log 21 жил өмнө
ncginl.pas 494e190694 * fix register allocation in second_assert 21 жил өмнө
ncgld.pas 1b41aad3a0 remove multiple pass2 calls. It is not supported anymore by all nodes (ttempcreatenode) 21 жил өмнө
ncgmat.pas e417e34496 * truncate log 21 жил өмнө
ncgmem.pas e33bf907d8 * fixed previous commit 21 жил өмнө
ncgopt.pas e417e34496 * truncate log 21 жил өмнө
ncgset.pas e417e34496 * truncate log 21 жил өмнө
ncgutil.pas 12283206d1 named sections for intf wrappers 21 жил өмнө
ncnv.pas 68ac3b0ab2 remove forcing of non-regvar for left node when converting to non-regvar 21 жил өмнө
ncon.pas e417e34496 * truncate log 21 жил өмнө
nflw.pas 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 21 жил өмнө
ninl.pas 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 21 жил өмнө
nld.pas a680ccb389 + variants are now assigned using fpc_variant_copy 21 жил өмнө
nmat.pas 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 21 жил өмнө
nmem.pas e33bf907d8 * fixed previous commit 21 жил өмнө
nobj.pas efbc08d4b2 + Patch from peter to fix overload directive cheking in delphi mode 21 жил өмнө
node.pas 6578fb25bb - removed unused variables 21 жил өмнө
nopt.pas e417e34496 * truncate log 21 жил өмнө
nset.pas 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 21 жил өмнө
nstate.pas e417e34496 * truncate log 21 жил өмнө
nutils.pas 55e76063df * Fix methodpointer copy from callnode to loadnode 21 жил өмнө
ogbase.pas e417e34496 * truncate log 21 жил өмнө
ogcoff.pas e417e34496 * truncate log 21 жил өмнө
ogelf.pas e417e34496 * truncate log 21 жил өмнө
oglx.pas e417e34496 * truncate log 21 жил өмнө
ogmap.pas e417e34496 * truncate log 21 жил өмнө
options.pas 878c56bad6 * Cleaned up handling of source file extension. 21 жил өмнө
owar.pas e417e34496 * truncate log 21 жил өмнө
owbase.pas e417e34496 * truncate log 21 жил өмнө
parabase.pas 5edffaf371 * remove is_single_reference 21 жил өмнө
paramgr.pas e417e34496 * truncate log 21 жил өмнө
parser.pas e417e34496 * truncate log 21 жил өмнө
pass_1.pas e417e34496 * truncate log 21 жил өмнө
pass_2.pas 1b41aad3a0 remove multiple pass2 calls. It is not supported anymore by all nodes (ttempcreatenode) 21 жил өмнө
pbase.pas e417e34496 * truncate log 21 жил өмнө
pdecl.pas e417e34496 * truncate log 21 жил өмнө
pdecobj.pas e250290e57 * allow property in objects in all modes except tp 21 жил өмнө
pdecsub.pas e33bf907d8 * fixed previous commit 21 жил өмнө
pdecvar.pas d24397b6e6 support external <dllname>; also for variables 21 жил өмнө
pexports.pas e417e34496 * truncate log 21 жил өмнө
pexpr.pas 55e76063df * Fix methodpointer copy from callnode to loadnode 21 жил өмнө
pinline.pas 252fa84c62 + compiler support for reading/writing of vararrays 21 жил өмнө
pmodules.pas a5c94ddccd * removed some unused variables 21 жил өмнө
pp.lpi 581b52422c - remove $IFDEF DELPHI and related code 21 жил өмнө
pp.pas e417e34496 * truncate log 21 жил өмнө
ppc.cfg 9465a13e71 + Delphi 6 configuration file 23 жил өмнө
ppc.conf add30a428e * Kylix fixes, mostly case names of units 25 жил өмнө
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation 23 жил өмнө
ppc.dpr 67486c96c3 * fixes for Delphi 6 compilation 23 жил өмнө
ppheap.pas e417e34496 * truncate log 21 жил өмнө
ppu.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 21 жил өмнө
procinfo.pas e417e34496 * truncate log 21 жил өмнө
pstatmnt.pas 3f9d6ab32f * add hint when passing an uninitialized variable to a var parameter 21 жил өмнө
psub.pas e417e34496 * truncate log 21 жил өмнө
psystem.pas e417e34496 * truncate log 21 жил өмнө
ptconst.pas e417e34496 * truncate log 21 жил өмнө
ptype.pas 0ae80eea41 * allow enum arithmetics inside an enum def, compatible with delphi 21 жил өмнө
raatt.pas e417e34496 * truncate log 21 жил өмнө
rabase.pas e417e34496 * truncate log 21 жил өмнө
rasm.pas e417e34496 * truncate log 21 жил өмнө
rautils.pas e417e34496 * truncate log 21 жил өмнө
regvars.pas e417e34496 * truncate log 21 жил өмнө
rgbase.pas e417e34496 * truncate log 21 жил өмнө
rgobj.pas 41c253b65d * during spilling only add deallocs to live_registers that belong 21 жил өмнө
scandir.pas e417e34496 * truncate log 21 жил өмнө
scanner.pas afdcfb08ce * Disabled warning for undefined compile time var in mode macpas, since it did not work. 21 жил өмнө
script.pas e417e34496 * truncate log 21 жил өмнө
switches.pas e417e34496 * truncate log 21 жил өмнө
symbase.pas e417e34496 * truncate log 21 жил өмнө
symconst.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 21 жил өмнө
symdef.pas c5c6df8237 * class ref. properties can be published now 21 жил өмнө
symnot.pas e417e34496 * truncate log 21 жил өмнө
symsym.pas aee4b7bcf7 * also set intsize for paralocs written to ppu 21 жил өмнө
symtable.pas b068bfbfc4 + reset in InitSymtable some global vars to avoid trouble with the ide 21 жил өмнө
symtype.pas 100a47e6af * fix protected checking 21 жил өмнө
symutil.pas e417e34496 * truncate log 21 жил өмнө
systems.pas 878c56bad6 * Cleaned up handling of source file extension. 21 жил өмнө
tgobj.pas e417e34496 * truncate log 21 жил өмнө
tokens.pas bfa2301575 * const record parameters > 8 bytes are now passed by reference for non 21 жил өмнө
verbose.pas 562201e27b * made macos compile 21 жил өмнө
version.pas b1900cc269 * 1.9.9 21 жил өмнө
widestr.pas e417e34496 * truncate log 21 жил өмнө

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