fpc/compiler
2004-01-22 16:44:35 +00:00
..
alpha
arm * op_const_reg_reg with OP_SAR fixed 2004-01-22 02:22:47 +00:00
html
i386 * fixed crashes when procdef.funcretsym is not valid 2004-01-22 16:14:17 +00:00
ia64
m68k * m68k register tables 2003-12-10 02:39:33 +00:00
msg * give warning that DWORD is used as size in delphi mode when no 2004-01-22 16:29:11 +00:00
new
powerpc * fixed allocation of parameters passed by reference for powerpc in 2004-01-17 15:55:10 +00:00
sparc * use localalign info for alignment for locals and temps 2004-01-12 22:11:38 +00:00
systems * Copy and pasted some structures from Net- to OpenBSD (3.4+ ELF!) 2004-01-21 20:53:50 +00:00
utils + x86 instruction tables for x86-64 extended 2004-01-15 14:01:18 +00:00
vis
x86 * give warning that DWORD is used as size in delphi mode when no 2004-01-22 16:29:11 +00:00
x86_64 * common addnode code for x86-64 and i386 2004-01-20 12:59:36 +00:00
aasmbase.pas
aasmtai.pas * moved spilling code from taicpu to rg 2004-01-12 16:37:59 +00:00
aggas.pas * fixed symbol type writing for arm-linux 2004-01-20 21:02:54 +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 * Some minor stuff 2004-01-15 15:16:17 +00:00
cg64f32.pas * op_const_reg_reg with OP_SAR fixed 2004-01-22 02:22:47 +00:00
cg64f64.pas * x86-64 compilation fixed 2004-01-13 18:08:58 +00:00
cgbase.pas * use localalign info for alignment for locals and temps 2004-01-12 22:11:38 +00:00
cgobj.pas * decrrefcount resets temps to nil 2004-01-21 22:13:20 +00:00
charset.pas
checkmem.pas
cmsgs.pas
comphook.pas
compiler.pas * another bunch of x86-64 fixes mainly calling convention and 2004-01-14 23:39:05 +00:00
compinnr.inc * Initialize() added 2003-11-29 16:19:54 +00:00
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 * fixed error message, if a resource file can't be written 2003-12-29 19:31:20 +00:00
cstreams.pas
cutils.pas * Some minor stuff 2004-01-15 15:16:17 +00:00
defcmp.pas * give penalty in float-float conversion when precision is lost 2004-01-14 21:44:16 +00:00
defutil.pas + $fputype directive support 2003-12-25 01:07:09 +00:00
depend
dmisc.pas
export.pas
finput.pas * check with fileexists() before opening a file 2003-12-27 22:27:24 +00:00
fmodule.pas * don't allow duplicate uses 2003-12-08 22:33:43 +00:00
fpcdefs.inc * USEOPT to override NOOPT for 1.0.x 2003-12-14 22:41:46 +00:00
fppu.pas * deref implementation after implementation units are loaded and 2003-12-22 22:15:43 +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 * another bunch of x86-64 fixes mainly calling convention and 2004-01-14 23:39:05 +00:00
globtype.pas * register calling is now default for i386 2003-12-23 23:22:35 +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 * fixed external smartlinking 2003-12-11 17:53:03 +00:00
make_old.cmd
Makefile * regenerating the makefiles with some netbsd fixes + version upgrades 2004-01-05 23:34:21 +00:00
Makefile.fpc * fixed a few makefiles version numbers 2004-01-05 23:29:35 +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 * give warning that DWORD is used as size in delphi mode when no 2004-01-22 16:29:11 +00:00
msgtxt.inc * give warning that DWORD is used as size in delphi mode when no 2004-01-22 16:29:11 +00:00
nadd.pas * common addnode code for x86-64 and i386 2004-01-20 12:59:36 +00:00
nbas.pas * override tblocknode.destroy so all statements are freed sequentially 2003-12-10 20:31:40 +00:00
ncal.pas * Some minor stuff 2004-01-15 15:16:17 +00:00
ncgadd.pas * sparc updates, mostly float related 2004-01-12 16:39:40 +00:00
ncgbas.pas * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
ncgcal.pas * sparc updates, mostly float related 2004-01-12 16:39:40 +00:00
ncgcnv.pas + fpu<->mm register conversion 2003-12-26 00:32:21 +00:00
ncgcon.pas * sparc updates, mostly float related 2004-01-12 16:39:40 +00:00
ncgflw.pas * use localalign info for alignment for locals and temps 2004-01-12 22:11:38 +00:00
ncginl.pas * properly fixed assigned() mess (by handling it separately in ncginl) 2003-12-31 20:47:02 +00:00
ncgld.pas + $fputype directive support 2003-12-25 01:07:09 +00:00
ncgmat.pas * common addnode code for x86-64 and i386 2004-01-20 12:59:36 +00:00
ncgmem.pas * don't generate IMUL reg,1 2004-01-12 16:38:50 +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 and optimized in-node with constant smallset 2003-12-09 19:14:50 +00:00
ncgutil.pas * fixed stackchecking for register calling 2004-01-21 21:01:34 +00:00
ncnv.pas + fpu<->mm register conversion 2003-12-26 00:32:21 +00:00
ncon.pas * range check error 2004-01-12 16:35:40 +00:00
nflw.pas + except handling related nodes now include pi_do_call if necessary 2003-12-28 22:51:18 +00:00
ninl.pas * properly fixed assigned() mess (by handling it separately in ncginl) 2003-12-31 20:47:02 +00:00
nld.pas * fixed some crashes 2003-12-01 18:44:15 +00:00
nmat.pas + support for evaluating qword constant expressions (both arguments have 2003-12-09 21:17:04 +00:00
nmem.pas * don't give warnings for shortstring vecnodes 2003-12-12 15:42:53 +00:00
nobj.pas + reintroduce implemented 2004-01-21 14:22:00 +00:00
node.pas + fpu<->mm register conversion 2003-12-26 00:32:21 +00:00
nopt.pas + inlined procedures inherit procinfo flags 2003-12-16 21:29:24 +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 * decrrefcount resets temps to nil 2004-01-21 22:13:20 +00:00
owar.pas
owbase.pas
paramgr.pas + setting of bit 6 of cr for c var args on ppc implemented 2003-12-28 22:09:12 +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 * reg allocations for imaginary register are now inserted just 2003-12-15 21:25:48 +00:00
pdecobj.pas * global property support for fpc modes 2003-12-10 16:37:01 +00:00
pdecsub.pas + reintroduce implemented 2004-01-21 14:22:00 +00:00
pdecvar.pas * global property support for fpc modes 2003-12-10 16:37:01 +00:00
pexports.pas
pexpr.pas * integrated hack from 1.0.x so we can parse low(int64) as int64 instead 2003-12-29 17:19:35 +00:00
pinline.pas * fixed allocation of dimension buffer for setlength(dynarr) 2004-01-22 16:44:35 +00:00
pmodules.pas * Never generate a "main" symbol for PASCALMAIN for Darwin and classic 2004-01-04 21:08:09 +00:00
pp.pas * reverted Peter's alloctemp patch; hopefully properly 2003-12-06 01:15:22 +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 * sparc updates 2003-12-26 14:02:30 +00:00
pstatmnt.pas * removed asmmode_direct 2004-01-12 16:36:53 +00:00
psub.pas * fixed handling of max. distance of pc relative symbols 2004-01-21 19:01:03 +00:00
psystem.pas * common addnode code for x86-64 and i386 2004-01-20 12:59:36 +00:00
ptconst.pas + support for currency typed constants if currency=int64. Warning: does 2003-12-29 12:48:39 +00:00
ptype.pas * IncompatibleTypes() added that will include unit names when 2003-10-21 18:16:13 +00:00
raatt.pas * sparc assembler reader updates 2003-12-25 01:25:43 +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 * fixed compilation for non-x86 2003-11-30 10:15:42 +00:00
README
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 * moved spilling code from taicpu to rg 2004-01-12 16:37:59 +00:00
scandir.pas + $fputype directive support 2003-12-25 01:07:09 +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 * don't turn off debuginfo when line info is requested 2003-12-03 17:45:36 +00:00
symbase.pas * Some minor stuff 2004-01-15 15:16:17 +00:00
symconst.pas + reintroduce implemented 2004-01-21 14:22:00 +00:00
symdef.pas * enum value rtti is now in orginal case 2004-01-22 16:33:22 +00:00
symnot.pas * fixed unitsym-globalsymtable relation so the uses of a unit 2003-10-22 15:22:33 +00:00
symppu.pas * fix write pointerconst 2003-12-22 22:15:13 +00:00
symsym.pas * Applied Peters patch 2004-01-16 18:08:39 +00:00
symtable.pas * Some minor stuff 2004-01-15 15:16:17 +00:00
symtype.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
symutil.pas * moved count_locals from pstatmnt to symutils 2003-12-07 16:40:45 +00:00
systems.pas * Copy and pasted some structures from Net- to OpenBSD (3.4+ ELF!) 2004-01-21 20:53:50 +00:00
tgobj.pas * use localalign info for alignment for locals and temps 2004-01-12 22:11:38 +00:00
tokens.pas * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
tpexcept.pas * use oldfpccall 2003-11-23 17:03:05 +00:00
verbose.pas * -P to -ap 2003-10-08 19:17:43 +00:00
version.pas * version changed to 1.9.3 2004-01-11 20:59:41 +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