fpc/compiler
2003-11-15 19:00:10 +00:00
..
alpha
arm * assembler readers OOPed 2003-11-12 16:05:39 +00:00
html
i386 * fixed XSTORE instruction info 2003-11-13 18:54:22 +00:00
ia64
m68k * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
msg * assembler readers OOPed 2003-11-12 16:05:39 +00:00
new
powerpc * fixed ppc assembler reader 2003-11-15 19:00:10 +00:00
sparc * assembler readers OOPed 2003-11-12 16:05:39 +00:00
systems * define UNIX and HASUNIX 2003-11-11 21:48:10 +00:00
utils * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
vis
x86 * fixed XSTORE instruction info 2003-11-13 18:54:22 +00:00
x86_64 * assembler readers OOPed 2003-11-12 16:05:39 +00:00
aasmbase.pas * remove some unit dependencies 2003-05-23 14:27:35 +00:00
aasmtai.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
aggas.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
assemble.pas * havelinuxrtl10 fixes 2003-11-10 17:22:28 +00:00
browcol.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
browlog.pas
bsdcompile
catch.pas * havelinuxrtl10 fixes 2003-11-10 17:22:28 +00:00
cclasses.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
cg64f32.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
cg64f64.pas * cg.a_load_* get a from and to size specifier 2003-06-03 21:11:09 +00:00
cgbase.pas * fix for referencecounted temps 2003-11-04 15:35:13 +00:00
cgobj.pas * elesize of g_copyvaluepara_openarray changed 2003-11-05 23:05:13 +00:00
charset.pas
checkmem.pas
cmsgs.pas * vmtpointer_offset must be adjusted in after_pass1 as well 2003-05-10 23:57:23 +00:00
comphook.pas
compiler.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
compinnr.inc
comprsrc.pas * fixed resource compiler search if no utilty directory was given 2003-10-08 17:54:23 +00:00
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas
cresstr.pas * renamed mangeldname_prefix to make_mangledname and made it more 2003-10-29 19:48:50 +00:00
cstreams.pas
cutils.pas * USEINLINE directive added (not enabled yet) 2003-10-31 15:51:11 +00:00
defcmp.pas * procvar default value support 2003-11-10 19:09:29 +00:00
defutil.pas + is_single added 2003-11-10 18:05:16 +00:00
depend
dmisc.pas
export.pas
finput.pas
fmodule.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
fpcdefs.inc * USEINLINE directive added (not enabled yet) 2003-10-31 15:51:11 +00:00
fppu.pas * cycle detection patch from peter 2003-11-03 12:32:48 +00:00
gdb.pas * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
gendef.pas
globals.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
globtype.pas * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
htypechk.pas * fix set_varstate in for loops 2003-11-12 15:48:27 +00:00
impdef.pas * -XP<prefix> support 2003-10-03 14:16:48 +00:00
import.pas
link.pas * don't check exepath when linking on target 2003-09-14 21:33:11 +00:00
make_old.cmd
Makefile * regenerated 2003-10-28 16:44:35 +00:00
Makefile.fpc * package versions upgrade 2003-11-01 22:56:05 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc + add more dirs in include path 2003-11-07 09:12:23 +00:00
msgidx.inc * assembler readers OOPed 2003-11-12 16:05:39 +00:00
msgtxt.inc * assembler readers OOPed 2003-11-12 16:05:39 +00:00
nadd.pas * compare longint-cardinal also makes types wider 2003-10-28 15:35:18 +00:00
nbas.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
ncal.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
ncgadd.pas * compilation of the powerpc compiler fixed 2003-10-17 01:22:08 +00:00
ncgbas.pas * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
ncgcal.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
ncgcnv.pas + type cast variant<->enum 2003-11-04 22:30:15 +00:00
ncgcon.pas * fixed web bug #2128 2003-10-26 13:37:22 +00:00
ncgflw.pas * 64k registers supported 2003-10-17 14:38:32 +00:00
ncginl.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
ncgld.pas * renamed mangeldname_prefix to make_mangledname and made it more 2003-10-29 19:48:50 +00:00
ncgmat.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
ncgmem.pas * fix for referencecounted temps 2003-11-04 15:35:13 +00:00
ncgopt.pas * old trgobj moved to x86/rgcpu and renamed to trgx86fpu 2003-10-10 17:48:13 +00:00
ncgset.pas * fixed range compare when the last value was an equal 2003-11-10 19:10:31 +00:00
ncgutil.pas * remove temporary stdcall hack 2003-11-11 21:10:12 +00:00
ncnv.pas + type cast variant<->enum 2003-11-04 22:30:15 +00:00
ncon.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +00:00
nflw.pas * fix set_varstate in for loops 2003-11-12 15:48:27 +00:00
ninl.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
nld.pas * absolute to object field supported, fixes tb0458 2003-10-28 15:36:01 +00:00
nmat.pas * set_varstate cleanup 2003-10-08 19:19:45 +00:00
nmem.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
nobj.pas * don't search for overloads in parents for constructors 2003-10-30 16:23:13 +00:00
node.pas * fix set_varstate in for loops 2003-11-12 15:48:27 +00:00
nopt.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
nset.pas * check for enumdef.maxval<255 instead of enumdef.savesize 2003-11-10 19:10:57 +00:00
nstate.pas
nutils.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmap.pas
options.pas * define REGCALL when pocall_default=pocall_register 2003-11-11 21:10:34 +00:00
owar.pas
owbase.pas
paramgr.pas + support for fpu temp parameters 2003-10-29 21:24:14 +00:00
parser.pas * set ms_compiled after the program/unit is parsed 2003-10-29 21:02:51 +00:00
pass_1.pas * procinfo unit contains tprocinfo 2003-10-01 20:34:48 +00:00
pass_2.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
pbase.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
pdecl.pas * don't give redefinition warning for forward classes 2003-11-12 15:48:48 +00:00
pdecobj.pas + published single properties can have a default value now 2003-11-10 18:06:25 +00:00
pdecsub.pas * virtual conflicts with override 2003-11-12 15:49:06 +00:00
pdecvar.pas * absolute to object field supported, fixes tb0458 2003-10-28 15:36:01 +00:00
pexports.pas
pexpr.pas * check paralength instead of assigned(left) 2003-11-10 19:11:39 +00:00
pinline.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
pmodules.pas * renamed mangeldname_prefix to make_mangledname and made it more 2003-10-29 19:48:50 +00:00
pp.pas + support of NaN and Inf in the compiler as values of real constants 2003-09-06 16:47:24 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
procinfo.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
pstatmnt.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
psub.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
psystem.pas + added basic olevariant support 2003-10-06 22:23:41 +00:00
ptconst.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
ptype.pas * IncompatibleTypes() added that will include unit names when 2003-10-21 18:16:13 +00:00
raatt.pas * fixed ppc assembler reader 2003-11-15 19:00:10 +00:00
rabase.pas * fixed wrong initialization 2003-11-12 16:58:42 +00:00
rasm.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
rautils.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
README * updated to help compiling the compiler 2003-06-17 04:34:04 +00:00
regvars.pas * 64k registers supported 2003-10-17 14:38:32 +00:00
rgbase.pas * fixed ppc assembler reader 2003-11-15 19:00:10 +00:00
rgobj.pas * fixed alias/colouring > 255 2003-11-10 19:05:50 +00:00
scandir.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
scanner.pas * do nothing for macro's in tempcloseinput,tempopeninput 2003-11-12 16:57:59 +00:00
script.pas * havelinuxrtl10 fixes 2003-11-10 17:22:28 +00:00
switches.pas
symbase.pas * locals and paras are allocated in the code generation 2003-09-23 17:56:05 +00:00
symconst.pas * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
symdef.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
symnot.pas * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
symppu.pas * absolute to object field supported, fixes tb0458 2003-10-28 15:36:01 +00:00
symsym.pas * don't search for overloads in parents for constructors 2003-10-30 16:23:13 +00:00
symtable.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
symtype.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
symutil.pas
systems.pas * assembler readers OOPed 2003-11-12 16:05:39 +00:00
tgobj.pas * fixes for temp type patch 2003-11-04 19:03:50 +00:00
tokens.pas * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
tpexcept.pas
verbose.pas * -P to -ap 2003-10-08 19:17:43 +00:00
version.pas * 1.9.1 2003-11-06 15:58:27 +00:00
widestr.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
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