fpc/compiler
2007-01-26 12:42:20 +00:00
..
alpha * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
arm + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
html
i386 + use new assembler flag: af_no_debug 2007-01-26 05:06:37 +00:00
ia64 * first iA-64 register stuff 2006-08-17 21:09:24 +00:00
m68k * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
mips Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
msg + new warning for assembler that does not support debug information 2007-01-26 05:04:07 +00:00
powerpc * fixed several (harmles) range errors 2007-01-25 21:43:11 +00:00
powerpc64 + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
ppcgen * fixed gprof support for darwin/ppc32 (although the output from gprof 2007-01-19 21:43:12 +00:00
sparc + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
systems * fixed gprof support for darwin/ppc32 (although the output from gprof 2007-01-19 21:43:12 +00:00
utils * symbian support from Felipe 2007-01-18 20:24:10 +00:00
vis Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
x86 * fixed uninitialised variable (mantis 8198, already tested by 2007-01-25 11:43:15 +00:00
x86_64 * cmpxchg8b doesn't have a size suffix 2007-01-24 15:15:04 +00:00
aasmbase.pas * .init section support 2007-01-07 10:03:52 +00:00
aasmdata.pas * fixed memory leaks in compiler. 2006-11-14 09:32:58 +00:00
aasmsym.pas * moved (unfinished) routines related to writing taicpu's to ppu files 2007-01-02 18:28:05 +00:00
aasmtai.pas * dummy assignment to tai_cpu_abstract.Pass1 result to avoid warning 2007-01-02 18:33:57 +00:00
aggas.pas * .init section support 2007-01-07 10:03:52 +00:00
aopt.pas * arm cond. instruction support 2006-11-14 22:37:22 +00:00
aoptbase.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aoptcs.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
aoptda.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
aoptobj.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
assemble.pas * increased AsmOutSize from 32kb to 128kb, makes external assembling a 2007-01-24 15:44:36 +00:00
browcol.pas * reinstate code dealing with browser switches 2007-01-23 05:53:30 +00:00
bsdcompile
catch.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
cclasses.pas * add TFPHashList.FindIndexOf 2007-01-11 21:52:32 +00:00
cfidwarf.pas * use dwarf_reg() 2006-03-26 20:15:32 +00:00
cfileutils.pas + removed workaround (dircache disable) for morphos (and amiga) 2007-01-15 23:46:11 +00:00
cg64f32.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
cgbase.pas * refactor gen_alloc_symtable so it depends on varsym type and not 2006-11-05 21:53:40 +00:00
cgobj.pas * fixed several (harmles) range errors 2007-01-25 21:43:11 +00:00
cgutils.pas * code generator support for subsetreferences (memory locations which 2006-08-19 11:14:43 +00:00
charset.pas
cmsgs.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
comphook.pas + added -vs for time stamping 2007-01-24 20:32:06 +00:00
compiler.pas + added -vs for time stamping 2007-01-24 20:32:06 +00:00
compinnr.inc + support for bitsizeof() function 2006-09-09 18:57:49 +00:00
comprsrc.pas * extra parameter for file searching functions 2006-10-31 10:56:58 +00:00
COPYING
cp437.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cp850.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
cp8859_1.pas fix compilation for {$T+} linux/win 2006-10-04 20:43:55 +00:00
crefs.pas + new unit to handle references 2007-01-23 05:40:26 +00:00
cresstr.pas + Enable resourcestring in all modes 2006-12-18 21:25:47 +00:00
cstreams.pas Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from 2006-03-05 21:10:37 +00:00
cutils.pas * get rid of unitialized warnings 2007-01-17 05:38:42 +00:00
dbgbase.pas * problem with virtual methods and interfaces fixed, fixes #8158 2007-01-21 15:57:16 +00:00
dbgdwarf.pas * avoid level 2 comments 2007-01-17 05:40:35 +00:00
dbgstabs.pas * problem with virtual methods and interfaces fixed, fixes #8158 2007-01-21 15:57:16 +00:00
defcmp.pas * better hint about abstract methods (fixes 5098) 2007-01-03 19:14:31 +00:00
defutil.pas * fixed include/exclude for big endian after r6172 2007-01-24 21:53:05 +00:00
export.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
finput.pas * fixed -o for sharedlibrary 2007-01-15 17:21:38 +00:00
fmodule.pas * ignore program module when resolving unit names during ppu load 2006-12-30 17:18:28 +00:00
fpccrc.pas
fpcdefs.inc * varsets shouldn't be enabled in the compiler currently 2007-01-24 20:31:30 +00:00
fppu.pas * also queue source file info for ppu reporting 2007-01-22 20:17:46 +00:00
gendef.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
globals.pas + added -vs for time stamping 2007-01-24 20:32:06 +00:00
globtype.pas + reinstate browser switches 2007-01-23 05:41:26 +00:00
htypechk.pas * proper initialised/used warnings for variables used 2007-01-17 12:04:53 +00:00
impdef.pas + workaround for non-working dircache on morphos/amiga 2007-01-14 21:32:58 +00:00
import.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
link.pas * support linker options (-k) which are > 255 chars combined 2007-01-12 17:12:29 +00:00
make_old.cmd
Makefile + add -gttt to extcycle 2007-01-25 21:38:24 +00:00
Makefile.fpc + add -gttt to extcycle 2007-01-25 21:38:24 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
msgidx.inc + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
msgtxt.inc + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
nadd.pas - removed some unneeded and sometimes wrong typecasts (could be 2007-01-25 15:19:47 +00:00
nbas.pas * avoid memory leak for copy of withnode in tempnodes 2007-01-19 05:12:08 +00:00
ncal.pas * fixed calling class methods via classrefdefs (mantis #8145) 2007-01-19 18:05:58 +00:00
ncgadd.pas * remove invalid aword typecast 2007-01-22 19:40:31 +00:00
ncgbas.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncgcal.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgcnv.pas * fixed x86 vector mmloads and use scalar loads in ncgcnv 2007-01-14 13:36:26 +00:00
ncgcon.pas * fixed writing of double constants on WinCE 2006-11-17 22:17:54 +00:00
ncgflw.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ncginl.pas * fixed include/exclude for big endian after r6172 2007-01-24 21:53:05 +00:00
ncgld.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgmat.pas * a_loadfpu_* gets two size parameters: fromsize and tosize 2007-01-12 18:33:51 +00:00
ncgmem.pas * copy unique return value to address register on m68k 2006-12-07 20:10:00 +00:00
ncgopt.pas * remove ttype 2006-10-29 22:19:39 +00:00
ncgrtti.pas + support for sets with size 1 and 2 2007-01-24 20:06:56 +00:00
ncgset.pas * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
ncgutil.pas * undid accidental commit of partial TCmdStrListItem change 2007-01-26 12:42:20 +00:00
ncnv.pas + support for sets with size 1 and 2 2007-01-24 20:06:56 +00:00
ncon.pas * added support for very big/small currency constants for non x86 CPUs. 2007-01-13 12:12:20 +00:00
nflw.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
ninl.pas * call the ansistring version of val for zero-based array-of-char 2007-01-19 18:22:03 +00:00
nld.pas * Use IncRefCountBy 2007-01-23 05:49:05 +00:00
nmat.pas * do not convert input of unaryminusnode to sint if the original is currency; fixes tfloattostr for 64 bit platforms which use int64 as currency type 2007-01-21 22:09:32 +00:00
nmem.pas * proper initialised/used warnings for variables used 2007-01-17 12:04:53 +00:00
nobj.pas * fixed overload checking of virtual and class methods (mantis #8140) 2007-01-19 17:20:36 +00:00
node.pas * renamed nf_swaped to nf_swapped 2007-01-05 12:47:22 +00:00
nopt.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
nset.pas * fixed some warnings about hidden constructors 2007-01-02 14:18:12 +00:00
nstate.pas
nutils.pas * niln has a compelxity of 0 (so the inlining code doesn't try to take 2006-12-29 01:11:41 +00:00
ogbase.pas * fix IE after duplicate asm symbol 2007-01-15 17:45:01 +00:00
ogcoff.pas * .init section support 2007-01-07 10:03:52 +00:00
ogelf.pas * .init section support 2007-01-07 10:03:52 +00:00
oglx.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
ogmap.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
optcse.pas * remove ttype 2006-10-29 22:19:39 +00:00
options.pas + use new assembler flag: af_no_debug 2007-01-26 05:06:37 +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 * settings refactored 2006-10-30 18:02:58 +00:00
owar.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
owbase.pas * Remove dos,strings units, use SysUtils instead 2006-10-30 23:29:35 +00:00
parabase.pas Merged revisions 2775,2788-2789 via svnmerge from 2006-03-06 12:04:44 +00:00
paramgr.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
parser.pas * move broser information generation to a place where the infos are still valid 2007-01-23 05:52:42 +00:00
pass_1.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
pass_2.pas * refactor procsym procdef list 2006-11-03 18:44:46 +00:00
pbase.pas * kicked ignore_equal, usage was wrong anyways 2006-12-31 00:48:52 +00:00
pdecl.pas * fixed #8156 2007-01-21 16:15:19 +00:00
pdecobj.pas * write vmt always according to the order of definitions 2007-01-04 22:39:12 +00:00
pdecsub.pas * correct debug info for parentfp hidden parameter, 2007-01-15 05:13:53 +00:00
pdecvar.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
pexports.pas * removed typed const, it is now handled by staticvarsym 2006-11-08 21:04:22 +00:00
pexpr.pas + support for sets with size 1 and 2 2007-01-24 20:06:56 +00:00
pinline.pas * show name of procedure/function called with too few parameters 2006-12-01 20:15:57 +00:00
pmodules.pas * postpone some freeing if SymbolInfo is needed 2007-01-17 05:46:21 +00:00
pp.lpi * more improvements 2006-11-12 22:32:26 +00:00
pp.pas * move exception mask initialization to procedure compile 2007-01-07 12:24:39 +00:00
ppc68k.lpi * small m68k-linux fixes 2006-11-19 21:51:20 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi * initial copy from i386 2006-11-15 20:33:43 +00:00
ppheap.pas * germanism removed (aktfilepos -> current_filepos) 2006-10-30 22:37:31 +00:00
ppu.pas * fixing writing of setdefs 2007-01-25 19:29:54 +00:00
procinfo.pas * settings refactored 2006-10-30 18:02:58 +00:00
pstatmnt.pas * fixed with-support for classrefdefs (mantis 8150), with thanks to 2007-01-20 20:04:54 +00:00
psub.pas * don't typecast the localst of the main program to a localsymtable 2007-01-25 17:12:49 +00:00
psystem.pas * activated internal get_frame for ARM. 2007-01-13 15:23:51 +00:00
ptconst.pas * added support for very big/small currency constants for non x86 CPUs. 2007-01-13 12:12:20 +00:00
ptype.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
raatt.pas + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
rabase.pas Merged revisions 2921-2922,2925 via svnmerge from 2006-03-16 08:52:22 +00:00
rasm.pas * replaced tdictionary with tfphashlist 2006-11-01 14:26:50 +00:00
rautils.pas + support for VMTOFFSET in assembler readers to get VMT offset of virtual 2007-01-24 18:26:23 +00:00
README
regvars.pas * remove tdictionary and tindexarray 2006-11-03 00:30:30 +00:00
rgbase.pas
rgobj.pas * fix IE with -sr and EXTDEBUG 2006-11-07 22:43:34 +00:00
scandir.pas * compiler part of first Nintendo DS port 2006-12-14 17:32:16 +00:00
scanner.pas * minor fixes from mantis 8132 2007-01-20 21:06:54 +00:00
script.pas + implement pascal inline asm start/halt code for linux/i386 2006-11-02 16:58:41 +00:00
switches.pas * don't give a warning for {$u-} (means "Pentium-safe fdiv off", is only 2007-01-24 19:49:16 +00:00
symbase.pas * cleanup deleting of defs 2007-01-11 20:46:57 +00:00
symconst.pas * fixed webtbf/tw3631 2007-01-16 21:15:21 +00:00
symdef.pas * fixing writing of setdefs 2007-01-25 19:29:54 +00:00
symnot.pas
symsym.pas * fixed debug info generation for static symbols + IE in case it cannot 2007-01-25 17:07:26 +00:00
symtable.pas * set srdef to nil if nothing found in searchsym_in_class_by_msgint 2007-01-26 10:04:32 +00:00
symtype.pas + added code for reference list creation for tsym 2007-01-23 05:46:29 +00:00
symutil.pas * moved rtti to ncgrtti 2006-11-04 10:43:27 +00:00
systems.pas + new assembler flag: af_no_debug 2007-01-26 05:05:37 +00:00
tgobj.pas * changed ref parameter of gettemp/gettemptyped from var to out to fix 2007-01-12 10:29:14 +00:00
tokens.pas + Enable resourcestring in all modes 2006-12-18 21:25:47 +00:00
verbose.pas + added -vs for time stamping 2007-01-24 20:32:06 +00:00
version.pas * Revert version change 2006-05-30 18:36:32 +00:00
widestr.pas * settings refactored 2006-10-30 18:02:58 +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