Jonas Maebe 6171499d15 * fixed creating shared libraries under Darwin/Mac OS X il y a 20 ans
..
alpha 4ace790492 * remove $Log il y a 20 ans
arm c15f720867 * fixed passing of floats for cdecl procedures/functions il y a 20 ans
html fa0d3d79e0 no message il y a 23 ans
i386 03c02cdb42 * support Type[index] typecasting il y a 20 ans
ia64 790a4fe2d3 * log and id tags removed il y a 20 ans
m68k 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
mips 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
msg 438f229f52 * changed unknown align/enum warings into errors and also improved them il y a 20 ans
powerpc 6171499d15 * fixed creating shared libraries under Darwin/Mac OS X il y a 20 ans
sparc 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
systems 6171499d15 * fixed creating shared libraries under Darwin/Mac OS X il y a 20 ans
utils 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
vis 790a4fe2d3 * log and id tags removed il y a 20 ans
x86 338d4fbe99 * Fix two issues with internal assembler il y a 20 ans
x86_64 c1b2e1aac5 * check function/procedure type when adding a proc definition il y a 20 ans
COPYING d4b8a224a1 + Added license to this library il y a 21 ans
MPWMake f60d0b98b7 * Bugfix il y a 20 ans
Makefile c8dccad8d3 * create dirs before compiling msg2inc il y a 20 ans
Makefile.fpc c8dccad8d3 * create dirs before compiling msg2inc il y a 20 ans
README 012af1131e * updated to help compiling the compiler il y a 22 ans
aasmbase.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
aasmtai.pas 45bcc5b07a * Add support for jmp $0011:$22334455 to Intel asm reader, request from il y a 20 ans
aggas.pas 6171499d15 * fixed creating shared libraries under Darwin/Mac OS X il y a 20 ans
aopt.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
aoptbase.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
aoptcs.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
aoptda.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
aoptobj.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
assemble.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
browcol.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
browlog.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build il y a 25 ans
catch.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
cclasses.pas 7449f99d5f + Removed all compatibility defines from compiler il y a 20 ans
cg64f32.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
cgbase.pas 7449f99d5f + Removed all compatibility defines from compiler il y a 20 ans
cgobj.pas 227b2c392a + cpumm for cpus having a mm register set il y a 20 ans
cgutils.pas ebcb69478f * fixed a lot of stuff for fpu/mm register variables il y a 20 ans
charset.pas edffc31139 * fixed crash with empty codepage il y a 20 ans
cmsgs.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
comphook.pas 6a8eddb6ce * fixed compilation with -dUSE_SYSUTILS il y a 20 ans
compiler.pas 6a8eddb6ce * fixed compilation with -dUSE_SYSUTILS il y a 20 ans
compinnr.inc 4ace790492 * remove $Log il y a 20 ans
comprsrc.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
cp437.pas effb0aae89 - remove compilation warnings il y a 23 ans
cp850.pas effb0aae89 - remove compilation warnings il y a 23 ans
cp8859_1.pas effb0aae89 - remove compilation warnings il y a 23 ans
crc.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
cresstr.pas 1d9407f2f3 * disable saving of fpu/mm for i386 until optimizer is fixed il y a 20 ans
cstreams.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
cutils.pas 7449f99d5f + Removed all compatibility defines from compiler il y a 20 ans
defcmp.pas a24dc41f36 * don't prefer int const to pointer il y a 20 ans
defutil.pas f3cefd7a07 * check precision of floats for determining overload to call, il y a 20 ans
dwarf.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
export.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
finput.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
fmodule.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
fpcdefs.inc 227b2c392a + cpumm for cpus having a mm register set il y a 20 ans
fppu.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
gdb.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
gendef.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
globals.pas 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
globtype.pas aa66f735ca * increased significant id len to 127 because there are unicode character constant names longer than 64 char il y a 20 ans
htypechk.pas f3cefd7a07 * check precision of floats for determining overload to call, il y a 20 ans
impdef.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
import.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
link.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd il y a 24 ans
mdppc386.bat 1f4bac4fd0 * delphi fixes il y a 24 ans
mppc386.bat 07ad807864 * added -FE. to put the PPU's in the compiler dir il y a 25 ans
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit il y a 27 ans
mppcsparc 72556ae39f * fix compile problem il y a 21 ans
msgidx.inc 438f229f52 * changed unknown align/enum warings into errors and also improved them il y a 20 ans
msgtxt.inc 438f229f52 * changed unknown align/enum warings into errors and also improved them il y a 20 ans
nadd.pas 534109351b * another cardinal-cardinal fix il y a 20 ans
nbas.pas 255855b5d9 * more informative printnode* output for temp-related nodes il y a 20 ans
ncal.pas 20e1ac4640 * fixed inlining of method calls with a methodpointer in a temp il y a 20 ans
ncgadd.pas dac1050c11 + mmx support revived, fixes bug #4106 il y a 20 ans
ncgbas.pas 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
ncgcal.pas c15f720867 * fixed passing of floats for cdecl procedures/functions il y a 20 ans
ncgcnv.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
ncgcon.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
ncgflw.pas b7d874635c * fixed some small problems in loop unrolling il y a 20 ans
ncginl.pas 355aaa69c8 + before calling a helper procedure, all register classes are now saved, this patch is subject to being merged back il y a 20 ans
ncgld.pas 6171499d15 * fixed creating shared libraries under Darwin/Mac OS X il y a 20 ans
ncgmat.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
ncgmem.pas 1f8d6aa678 * psizeint($1234)^ for generic cg fixed il y a 20 ans
ncgopt.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
ncgset.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
ncgutil.pas 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
ncnv.pas 376865d041 * mark variables used in set creation il y a 20 ans
ncon.pas 9cda65c4b0 * support for widestrings in tconstsym il y a 20 ans
nflw.pas e64cc2fbbd * tp procvar support for ifn,whilerepeatn il y a 20 ans
ninl.pas f2f968f48a * fix overflow checking for inc(cardinal,x) and inc(pointer,x) il y a 20 ans
nld.pas 6171499d15 * fixed creating shared libraries under Darwin/Mac OS X il y a 20 ans
nmat.pas e920b10d7a + nmat refactored to have simplify il y a 20 ans
nmem.pas 05c241072e * allow widechar for indexing arrays, fixes 4115 il y a 20 ans
nobj.pas 8efe880649 * require "override;" as well in macpas mode to override methods il y a 20 ans
node.pas dac1050c11 + mmx support revived, fixes bug #4106 il y a 20 ans
nopt.pas 7cd67ea3f0 * node optimizer branch merged il y a 20 ans
nset.pas 7cd67ea3f0 * node optimizer branch merged il y a 20 ans
nstate.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
nutils.pas c6ad403a04 * better error recovering il y a 20 ans
ogbase.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
ogcoff.pas 83c6b3aca2 * from Yury Sidorov: il y a 20 ans
ogelf.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
oglx.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
ogmap.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
optcse.pas b7d874635c * fixed some small problems in loop unrolling il y a 20 ans
options.pas 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
optunrol.pas b7d874635c * fixed some small problems in loop unrolling il y a 20 ans
owar.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
owbase.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
parabase.pas 6cc6711cc2 * fix range error in paracompare il y a 20 ans
paramgr.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
parser.pas 4e14322037 * increase errorcount if an unknown exception occurred. This il y a 20 ans
pass_1.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
pass_2.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
pbase.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
pdecl.pas 9cda65c4b0 * support for widestrings in tconstsym il y a 20 ans
pdecobj.pas abbc85bb78 + strict protected and strict private support il y a 20 ans
pdecsub.pas 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
pdecvar.pas 83c6b3aca2 * from Yury Sidorov: il y a 20 ans
pexports.pas 83c6b3aca2 * from Yury Sidorov: il y a 20 ans
pexpr.pas 9cda65c4b0 * support for widestrings in tconstsym il y a 20 ans
pinline.pas a71e25ffe0 + Mac Object Pascal support il y a 20 ans
pmodules.pas 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
pp.lpi 708cb4fb7a fixed compilation by lazarus il y a 20 ans
pp.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
ppc.cfg 9465a13e71 + Delphi 6 configuration file il y a 23 ans
ppc.conf add30a428e * Kylix fixes, mostly case names of units il y a 24 ans
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation il y a 23 ans
ppc.dpr 4ace790492 * remove $Log il y a 20 ans
ppheap.pas 7449f99d5f + Removed all compatibility defines from compiler il y a 20 ans
ppu.pas 9cda65c4b0 * support for widestrings in tconstsym il y a 20 ans
procinfo.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
pstatmnt.pas 7cd67ea3f0 * node optimizer branch merged il y a 20 ans
psub.pas 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
psystem.pas 21ae782854 * fixed more xmm stuff il y a 20 ans
ptconst.pas 7449f99d5f + Removed all compatibility defines from compiler il y a 20 ans
ptype.pas b9b9ce059d * compilation errors fixed il y a 20 ans
raatt.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
rabase.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
rasm.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
rautils.pas 03c02cdb42 * support Type[index] typecasting il y a 20 ans
regvars.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
rgbase.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
rgobj.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
scandir.pas 438f229f52 * changed unknown align/enum warings into errors and also improved them il y a 20 ans
scanner.pas 3051c91530 * fix max macro length check il y a 20 ans
script.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
switches.pas 08f0419e3e + $A similiar to $align on/off added il y a 20 ans
symbase.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
symconst.pas 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
symdef.pas 8bc4e0a32f * inline and compilerproc are now procoptions instead of proccall types il y a 20 ans
symnot.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
symsym.pas 9cda65c4b0 * support for widestrings in tconstsym il y a 20 ans
symtable.pas bdc8b7d061 * not ignoring private/protected anymore, fixes bug #3969 il y a 20 ans
symtype.pas 3eba03f77b * support sl_absolutetype in deref il y a 20 ans
symutil.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
systems.pas 83c6b3aca2 * from Yury Sidorov: il y a 20 ans
tgobj.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
tokens.pas abbc85bb78 + strict protected and strict private support il y a 20 ans
verbose.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
version.pas 790a4fe2d3 * log and id tags removed il y a 20 ans
widestr.pas 9c717f2a35 * some warning about uninitialized vars fixed by using out instead of var il y a 20 ans

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