fpc/compiler
2007-07-12 21:00:55 +00:00
..
alpha
arm * 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
html
i386 * Fixed float constants in softfloat mode when compiler was compiled in hardfloat mode on arm-linux host. 2007-07-07 19:19:49 +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 * updates from Karl-Michael Schindler 2007-07-01 21:04:33 +00:00
powerpc * merged trefaddr.addr_lo/addr_hi with trefaddr.addr_low/addr.high; some related bugfixing/cleanup 2007-07-08 20:50:58 +00:00
powerpc64 * use automatic ppc64/linux got/toc entry generation by the linker if possible - removes the need of some workarounds 2007-07-12 21:00:55 +00:00
ppcgen * use automatic ppc64/linux got/toc entry generation by the linker if possible - removes the need of some workarounds 2007-07-12 21:00:55 +00:00
sparc * 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
systems * Changed .elf extension to .nef (Not Executable File) for intermediate file builds in the NDS compiler (used on no$gba debugger for symbol table) 2007-07-09 22:17:36 +00:00
utils * Changed .elf extension to .nef (Not Executable File) for intermediate file builds in the NDS compiler (used on no$gba debugger for symbol table) 2007-07-09 22:17:36 +00:00
vis
x86 * fixed generic in-code in case left = LOC_JUMP 2007-07-01 19:35:22 +00:00
x86_64 * Pass const params by pointer if calling convention<>register. This is 2007-07-08 17:26:08 +00:00
aasmbase.pas * comment about sec_fpc extended to cover current meaning 2007-03-17 22:10:02 +00:00
aasmdata.pas * Merged 2.3 branch changes: 2007-03-04 20:16:57 +00:00
aasmsym.pas
aasmtai.pas * make cycle OPT=-gwl -Co -Cr on x86-64 fixed 2007-07-07 19:16:49 +00:00
aggas.pas * Fixed float constants in softfloat mode when compiler was compiled in hardfloat mode on arm-linux host. 2007-07-07 19:19:49 +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 * fixed check for not adding "." and ".." to dircache 2007-07-01 14:31:56 +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 * merged trefaddr.addr_lo/addr_hi with trefaddr.addr_low/addr.high; some related bugfixing/cleanup 2007-07-08 20:50:58 +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 * Fixed previous commit: loop through all resources in .res file. 2007-06-26 18:08:06 +00:00
constexp.pas * make cycle OPT=-gwl -Co -Cr on x86-64 fixed 2007-07-07 19:16:49 +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 * added missing "reserved" field to new code page files to fix warnings 2007-05-31 15:07:48 +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 * TCFileStream.Seek should return the new position 2007-03-24 10:38:36 +00:00
cutils.pas * Change rest of compiler to system unit swapendian routines. 2007-06-30 08:13:46 +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 * make cycle OPT=-gwl -Co -Cr on x86-64 fixed 2007-07-07 19:16:49 +00:00
dbgstabs.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +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 * Cosmetic cleanup of constexprint leftovers. 2007-06-14 06:12:12 +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 * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
fpccrc.pas
fpcdefs.inc * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
fppu.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +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 * 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
globtype.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
htypechk.pas - Disable smaller_possible_range_check hints/warnings because of too much 2007-07-05 18:47:02 +00:00
impdef.pas + workaround for non-working dircache on morphos/amiga 2007-01-14 21:32:58 +00:00
import.pas
link.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
make_old.cmd
Makefile * re-added darwin/ppc64 support (please use up-to-date fpcmake) 2007-03-24 17:26:10 +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 * clarified pointer->integer warning 2007-07-01 15:27:21 +00:00
msgtxt.inc * clarified pointer->integer warning 2007-07-01 15:27:21 +00:00
nadd.pas * Fix browcol. 2007-06-14 08:33:19 +00:00
nbas.pas * fixed bug #8919. 2007-05-24 08:15:28 +00:00
ncal.pas * pass only a pointer to a result when the result is used when invoking idispatch, resolves #9162 2007-07-01 15:37:36 +00:00
ncgadd.pas - removed/disabled all normalset code (except for bootstrapping), since 2007-05-20 11:19:36 +00:00
ncgbas.pas * only check validity of assembler instructions in pass_2, after all 2007-05-29 16:53:28 +00:00
ncgcal.pas + support for refcounted records returned by functions in 2 registers 2007-05-03 15:05:44 +00:00
ncgcnv.pas * Don't assume pointers are 8 bytes. 2007-07-08 09:36:27 +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 * It is needed to destroy exception object in safecall procedure as well. 2007-06-18 17:26:15 +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 * check left and right loc for 64 bit when assigning a constant, resolves #9145 2007-07-02 21:24:29 +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 * fixed generic in-code in case left = LOC_JUMP 2007-07-01 19:35:22 +00:00
ncgutil.pas * Initialize fpu regvars from staticsymtable by loading initial value from memory location. 2007-07-09 13:27:19 +00:00
ncnv.pas * Nil constants that are type converted to a method procvar are now 2007-07-07 20:57:05 +00:00
ncon.pas * Fix endian issue in ppuload/ppuwrite. 2007-07-02 06:18:38 +00:00
nflw.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
ninl.pas * Cosmetic cleanup of constexprint leftovers. 2007-06-14 06:12:12 +00:00
nld.pas * create init rtti for fpc_copy instead of full rtti 2007-06-17 15:31:06 +00:00
nmat.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
nmem.pas * fixed wrong range check warnings/errors for open strings 2007-07-04 08:09:45 +00:00
nobj.pas * fixed instances of passing properties as var parameter 2007-05-03 11:02:38 +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 * fixed tw8391.pp for i386. 2007-06-21 23:22:48 +00:00
ogcoff.pas * Don't be too strict while reading COFF symtable if obj file does not have COFF string table (to be compatible with LD and MS linkers). It fixes bug #9175. 2007-07-01 19:57:09 +00:00
ogelf.pas * Handle .fpc section by internal elf obj writer the same way as external assembler handles this section. 2007-07-09 22:05:08 +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 + give more sophisticated warnings about uninitalized variables when life info is available 2007-06-03 17:35:48 +00:00
options.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
opttail.pas * don't do tail recursion optimization on types requiring init/final code 2007-01-17 22:02:42 +00:00
optunrol.pas * Prevent some operations between qwords and signed types. 2007-06-24 18:40:07 +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 * fixed public/export support for initialised variables/typed 2007-06-22 17:10:15 +00:00
pdecobj.pas * properly inherit interface types, resolves #6690 2007-04-14 20:37:47 +00:00
pdecsub.pas * fixed tw8391.pp for i386. 2007-06-21 23:22:48 +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 * pass only a pointer to a result when the result is used when invoking idispatch, resolves #9162 2007-07-01 15:37:36 +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 * Collect resource files only when program or library is compiled. 2007-06-28 11:16:51 +00:00
pp.lpi
pp.pas * move exception mask initialization to procedure compile 2007-01-07 12:24:39 +00:00
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 * Fix set endian handling. 2007-07-01 22:30:43 +00:00
procinfo.pas + give more sophisticated warnings about uninitalized variables when life info is available 2007-06-03 17:35:48 +00:00
pstatmnt.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
psub.pas * Set return value of safecall procedure if implicit try/finally blocks are disabled. 2007-06-18 21:40:33 +00:00
psystem.pas - removed tai_file/tai_loc, no longer needed 2007-07-04 08:14:48 +00:00
ptconst.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
ptype.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
raatt.pas * merged some code which was ifdefed separately for POWERPC and POWERPC64 code but is equal 2007-02-08 22:52:11 +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 * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
scandir.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
scanner.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
script.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
switches.pas + forbid usage of $E on targets supporting no fpu emulation 2007-06-10 17:03:26 +00:00
symbase.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
symconst.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
symdef.pas * Make elecount aword to handle u32bit typeconversions of array indexes. 2007-07-03 22:06:23 +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 + allow local const symbols to override class members in delphi mode 2007-06-24 15:14:47 +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 * correction for typo in licence information 2007-07-10 20:39:44 +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 + added cyrillic code page tables 2007-05-22 19:38:39 +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