fpc/compiler
2007-08-25 13:33:46 +00:00
..
alpha
arm * Don't optimize (eliminate) arm fpu move instruction if it performs float type conversion. It fixes tb0519.pp on arm-linux. 2007-07-14 21:52:15 +00:00
html
i386 * fixed parsing of "rcl/rcr rm,imm" (mantis #9025) 2007-08-12 13:50:52 +00:00
ia64
m68k * Properly set location of float return value if it is passed as var parameter (it is always happens for safecall functions). It fixes bugs #8523 and #8977. 2007-06-18 23:23:46 +00:00
mips
msg * Escaped some TeX special characters in documentation 2007-08-25 13:33:46 +00:00
powerpc * now also disable use8byteconcatcopy by default 2007-07-29 19:09:12 +00:00
powerpc64 + added lwsync instruction to the compiler 2007-08-08 09:15:48 +00:00
ppcgen + jumptable support for darwin/ppc64 2007-08-14 17:32:24 +00:00
sparc * fixed sparc bootstrap 2007-08-08 09:48:37 +00:00
systems * also pass -arch parameter when creating bundles 2007-08-05 11:05:20 +00:00
utils * fixed dependency checking for source files in subdirectories relative 2007-08-22 07:04:23 +00:00
vis
x86 * fixed parsing of "rcl/rcr rm,imm" (mantis #9025) 2007-08-12 13:50:52 +00:00
x86_64 * fixed parsing of "rcl/rcr rm,imm" (mantis #9025) 2007-08-12 13:50:52 +00:00
aasmbase.pas + .fini section support 2007-07-28 08:40:10 +00:00
aasmdata.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
aasmsym.pas
aasmtai.pas * revert r8118 2007-07-22 19:59:00 +00:00
aggas.pas * removed rodata support for ppc64 again because it doesn't work on 2007-08-24 17:19:52 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
assemble.pas * make cycle OPT=-gwl -Co -Cr on x86-64 fixed 2007-07-07 19:16:49 +00:00
browcol.pas * Fix browcol. 2007-06-14 08:33:19 +00:00
bsdcompile
catch.pas
cclasses.pas - removed several ;; 2007-05-28 15:59:17 +00:00
cfidwarf.pas
cfileutl.pas - removed some unused variables 2007-07-17 13:57:15 +00:00
cg64f32.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
cgbase.pas * fixed sparc compilation after addr_lo/hi changes 2007-07-20 12:30:16 +00:00
cgobj.pas * Fixed another placed where chained paralocs where not being processed. 2007-06-29 06:33:12 +00:00
cgutils.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
charset.pas
cmsgs.pas - removed several ;; 2007-05-28 15:59:17 +00:00
comphook.pas * added status.currentmodulestate 2007-05-24 06:21:31 +00:00
compiler.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
compinnr.inc + support for ISO Extended Pascal ReadStr() and WriteStr() routines 2007-05-14 17:34:01 +00:00
comprsrc.pas * Implemented support for custom RC compiler and .RES linker 2007-07-25 12:06:57 +00:00
constexp.pas * revert r8118 2007-07-22 19:59:00 +00:00
COPYING
cp437.pas
cp850.pas
cp866.pas * added missing "reserved" field to new code page files to fix warnings 2007-05-31 15:07:48 +00:00
cp1251.pas - removed some unused variables 2007-07-17 13:57:15 +00:00
cp8859_1.pas
cp8859_5.pas * added missing "reserved" field to new code page files to fix warnings 2007-05-31 15:07:48 +00:00
crefs.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
cresstr.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
cstreams.pas * fixed bootstrapping with 2.0.4 2007-07-18 12:15:55 +00:00
cutils.pas * swapendian for 2.0.x 2007-07-22 16:13:43 +00:00
dbgbase.pas + added generation of debugging infos of parast and localst for methods 2007-03-30 21:34:55 +00:00
dbgdwarf.pas - removed some unused variables 2007-07-17 13:57:15 +00:00
dbgstabs.pas * revert r8118 2007-07-22 19:59:00 +00:00
defcmp.pas * Nil constants that are type converted to a method procvar are now 2007-07-07 20:57:05 +00:00
defutil.pas * revert r8118 2007-07-22 19:59:00 +00:00
export.pas
finput.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
fmodule.pas + support for {$linkframework x} to link to framework x (Darwin only) 2007-07-25 15:42:30 +00:00
fpccrc.pas
fpcdefs.inc * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
fppu.pas - removed some unused variables 2007-07-17 13:57:15 +00:00
gendef.pas * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351 2007-01-26 22:29:39 +00:00
globals.pas + support for {$linkframework x} to link to framework x (Darwin only) 2007-07-25 15:42:30 +00:00
globtype.pas * use app_type instead of RelocSection for creating bundles, as 2007-08-04 09:13:34 +00:00
htypechk.pas * make sure warnings/hints in set_varstate are always given at the 2007-08-12 13:18:39 +00:00
impdef.pas
import.pas
link.pas + support for {$linkframework x} to link to framework x (Darwin only) 2007-07-25 15:42:30 +00:00
make_old.cmd
Makefile * fixed dependency checking for source files in subdirectories relative 2007-08-22 07:04:23 +00:00
Makefile.fpc + eDSP instructions for arm 2007-02-11 15:10:27 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake
msgidx.inc + support for creating a bundle instead of a library on Darwin (-Wb) 2007-08-03 12:42:49 +00:00
msgtxt.inc + support for creating a bundle instead of a library on Darwin (-Wb) 2007-08-03 12:42:49 +00:00
nadd.pas * explicitly check for stringconstn next to stringdef in nadd, because 2007-08-12 11:31:19 +00:00
nbas.pas * changed boolean fields in ttempinfo to a set for easier 2007-07-29 19:37:06 +00:00
ncal.pas * fix passing string to open array of string 2007-07-22 19:44:56 +00:00
ncgadd.pas - removed/disabled all normalset code (except for bootstrapping), since 2007-05-20 11:19:36 +00:00
ncgbas.pas * changed boolean fields in ttempinfo to a set for easier 2007-07-29 19:37:06 +00:00
ncgcal.pas + support for refcounted records returned by functions in 2 registers 2007-05-03 15:05:44 +00:00
ncgcnv.pas + support for widestring manager based widechar conversions 2007-08-12 20:01:08 +00:00
ncgcon.pas * Completely fixed float constants in softfloat mode when compiler was compiled in hardfloat mode on arm-linux host. 2007-07-10 21:05:12 +00:00
ncgflw.pas * write also asmblocklabel for a connected labelsym 2007-07-23 21:01:32 +00:00
ncginl.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
ncgld.pas * changed boolean fields in ttempinfo to a set for easier 2007-07-29 19:37:06 +00:00
ncgmat.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
ncgmem.pas * fixed calculation of offset of constant indexing of bitpacked arrays of 2007-06-29 15:34:11 +00:00
ncgopt.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
ncgrtti.pas * Make elecount aword to handle u32bit typeconversions of array indexes. 2007-07-03 22:06:23 +00:00
ncgset.pas * also check for valid min/maxlabel range for jumptable in case 2007-08-14 13:58:56 +00:00
ncgutil.pas * fixed bug which caused SSA to be less effective for integer 2007-08-09 11:57:52 +00:00
ncnv.pas * disallow widechar sets (Delphi 7 compatible, and were handled wrongly 2007-08-14 14:27:59 +00:00
ncon.pas * Fix endian issue in ppuload/ppuwrite. 2007-07-02 06:18:38 +00:00
nflw.pas * write also asmblocklabel for a connected labelsym 2007-07-23 21:01:32 +00:00
ninl.pas * revert r8118 2007-07-22 19:59:00 +00:00
nld.pas * create init rtti for fpc_copy instead of full rtti 2007-06-17 15:31:06 +00:00
nmat.pas * keep signess of orginal variable in shl/shr operation 2007-07-22 22:56:35 +00:00
nmem.pas * fixed wrong range check warnings/errors for open strings 2007-07-04 08:09:45 +00:00
nobj.pas * create a new vmt entry also if return type differs 2007-07-22 19:47:55 +00:00
node.pas * backup commit of more dfa stuff 2007-05-06 10:59:09 +00:00
nopt.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
nset.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
nstate.pas
nutils.pas * also process all subnodes of try-except and try-finally in 2007-06-15 17:36:09 +00:00
ogbase.pas + .fini section support 2007-07-28 08:40:10 +00:00
ogcoff.pas + .fini section support 2007-07-28 08:40:10 +00:00
ogelf.pas + .fini section support 2007-07-28 08:40:10 +00:00
oglx.pas
ogmap.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
optbase.pas + first basically working (not all node types yet) dfa implementation determining life information 2007-05-06 21:33:39 +00:00
optcse.pas * some node optimizer stuff cleaned up 2007-04-15 14:41:00 +00:00
optdfa.pas * fixed dfa for raise nodes 2007-07-23 20:22:36 +00:00
options.pas * fixed sparc bootstrap 2007-08-08 09:48:37 +00:00
opttail.pas * write also asmblocklabel for a connected labelsym 2007-07-23 21:01:32 +00:00
optunrol.pas * write also asmblocklabel for a connected labelsym 2007-07-23 21:01:32 +00:00
optutils.pas + give more sophisticated warnings about uninitalized variables when life info is available 2007-06-03 17:35:48 +00:00
owar.pas
owbase.pas * do not use F field to get TObjectReader FileName as it is freed inside openfile method 2007-05-03 23:55:55 +00:00
parabase.pas
paramgr.pas
parser.pas * cleanup current module status 2007-05-23 13:33:53 +00:00
pass_1.pas + support for simplifying simple inline functions down to a single 2007-03-13 22:27:55 +00:00
pass_2.pas - removed caretn and related code 2007-05-04 10:53:25 +00:00
pbase.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
pdecl.pas - removed some unused variables 2007-07-17 13:57:15 +00:00
pdecobj.pas * don't allow generics as parent classes 2007-07-22 23:10:24 +00:00
pdecsub.pas * for tp mode don't allow unitname reuse 2007-07-23 20:38:05 +00:00
pdecvar.pas * fixed public/export support for initialised variables/typed 2007-06-22 17:10:15 +00:00
pexports.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
pexpr.pas * write also asmblocklabel for a connected labelsym 2007-07-23 21:01:32 +00:00
pinline.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
pmodules.pas * only create PASCALFINALIZE for programs and libraries 2007-07-28 10:47:31 +00:00
pp.lpi
pp.pas
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi
ppcppc.lpi + powerpc lazarus project file 2007-03-03 14:53:15 +00:00
ppcsparc.lpi + sparc lazarus project file 2007-04-05 10:22:24 +00:00
ppheap.pas
ppu.pas * changed boolean fields in ttempinfo to a set for easier 2007-07-29 19:37:06 +00:00
procinfo.pas * proper handling of dummy result node in dfa, resolves #8717 and #8079 2007-07-23 08:57:31 +00:00
pstatmnt.pas * fixed regression of webtbs/tw2789 caused by r8270 (setting vs_read 2007-08-12 19:52:57 +00:00
psub.pas * Corrected comment. 2007-08-09 10:33:18 +00:00
psystem.pas - removed tai_file/tai_loc, no longer needed 2007-07-04 08:14:48 +00:00
ptconst.pas * throw better error when variable values are used as typed consts, resolves #9333 2007-07-29 14:29:19 +00:00
ptype.pas * disallow widechar sets (Delphi 7 compatible, and were handled wrongly 2007-08-14 14:27:59 +00:00
raatt.pas + .fini section support 2007-07-28 08:40:10 +00:00
rabase.pas
rasm.pas
rautils.pas * Completely fixed float constants in softfloat mode when compiler was compiled in hardfloat mode on arm-linux host. 2007-07-10 21:05:12 +00:00
README
regvars.pas
rgbase.pas
rgobj.pas * revert r8118 2007-07-22 19:59:00 +00:00
scandir.pas + support for {$linkframework x} to link to framework x (Darwin only) 2007-07-25 15:42:30 +00:00
scanner.pas * revert r8118 2007-07-22 19:59:00 +00:00
script.pas * fixed handling of paths/files with spaces in their name in link.res 2007-07-25 16:25:14 +00:00
switches.pas + forbid usage of $E on targets supporting no fpu emulation 2007-06-10 17:03:26 +00:00
symbase.pas
symconst.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
symdef.pas * shorten mangledname names much quicker for nested procedures 2007-07-23 21:36:16 +00:00
symnot.pas
symsym.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
symtable.pas * for tp mode don't allow unitname reuse 2007-07-23 20:38:05 +00:00
symtype.pas * Convert guid load/save to endian safe code. 2007-06-30 21:45:20 +00:00
symutil.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
systems.pas * ignore pic directive/switch if the platform doesn't support pic, resolves #9281 2007-07-23 20:25:04 +00:00
tgobj.pas * for ARM CPU records must be aligned in stack depending of record size to prevent misaligned error when the record is passed as parameter in registers. It fixes tcalext* tests for ARM. 2007-06-20 20:31:06 +00:00
tokens.pas
verbose.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
version.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
widestr.pas + support for widestring manager based widechar conversions 2007-08-12 20:01:08 +00:00

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