fpc/compiler
Jonas Maebe 4c7c8b9c3a * fixed mtfsb0 instruction for assembler reader/writer
* fixed initialisation of fpscr register to avoid spurious SIGPFE's
    (uses mtfsb0 instruction, so added extra define in options.pas to avoid
    requiring to start with a cross compiler)
2004-01-10 00:16:20 +00:00
..
alpha
arm - removed unused methods from old generic spilling code 2003-12-28 16:20:09 +00:00
html
i386 + setting of bit 6 of cr for c var args on ppc implemented 2003-12-28 22:09:12 +00:00
ia64
m68k * m68k register tables 2003-12-10 02:39:33 +00:00
msg * fixed ldm/stm arm assembler reading 2003-12-08 17:43:57 +00:00
new
powerpc * fixed mtfsb0 instruction for assembler reader/writer 2004-01-10 00:16:20 +00:00
sparc - removed unused methods from old generic spilling code 2003-12-28 16:20:09 +00:00
systems * Commented out code removed 2004-01-09 13:37:17 +00:00
utils * changed sysutils.exec to ExecuteProcess 2004-01-05 22:37:15 +00:00
vis
x86 * sparc updates 2003-12-26 14:02:30 +00:00
x86_64 * updated instruction includes from new instruction table 2003-12-26 20:24:03 +00:00
aasmbase.pas
aasmtai.pas - removed unused methods from old generic spilling code 2003-12-28 16:20:09 +00:00
aggas.pas * darwin requires the alginment of .lcomm symbols to be specified 2004-01-07 17:40:06 +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 - delete parameter in cg64 methods removed 2003-12-24 00:10:02 +00:00
cg64f64.pas - delete parameter in cg64 methods removed 2003-12-24 00:10:02 +00:00
cgbase.pas * Degree=0 problem fixed 2004-01-09 22:02:29 +00:00
cgobj.pas * sparc updates 2003-12-26 14:02:30 +00:00
charset.pas
checkmem.pas
cmsgs.pas
comphook.pas
compiler.pas + added support for spac assembler reader 2003-12-04 10:46:19 +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 * USEINLINE directive added (not enabled yet) 2003-10-31 15:51:11 +00:00
defcmp.pas * fixed webbug 2878 2004-01-06 02:17:44 +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 + SetFPUExceptionMask implementation for PPC 2004-01-02 16:50:24 +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 * fixed ldm/stm arm assembler reading 2003-12-08 17:43:57 +00:00
msgtxt.inc * fixed ldm/stm arm assembler reading 2003-12-08 17:43:57 +00:00
nadd.pas * if currency = int64, FPC_CURRENCY_IS_INT64 is defined 2004-01-02 17:19:04 +00:00
nbas.pas * override tblocknode.destroy so all statements are freed sequentially 2003-12-10 20:31:40 +00:00
ncal.pas + setting of bit 6 of cr for c var args on ppc implemented 2003-12-28 22:09:12 +00:00
ncgadd.pas * hopefully fixed bug tb0454 (merged from nppcadd) 2003-12-29 11:37:52 +00:00
ncgbas.pas * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
ncgcal.pas + setting of bit 6 of cr for c var args on ppc implemented 2003-12-28 22:09:12 +00:00
ncgcnv.pas + fpu<->mm register conversion 2003-12-26 00:32:21 +00:00
ncgcon.pas * tai_const.create_32bit changed to cardinal 2003-12-08 22:34:24 +00:00
ncgflw.pas * fixed wrong temp. usage in generic exception handling 2004-01-01 17:23:16 +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 * reverted Peter's alloctemp patch; hopefully properly 2003-12-06 01:15:22 +00:00
ncgmem.pas * reverted Peter's alloctemp patch; hopefully properly 2003-12-06 01:15:22 +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 procedures declared as "interrupt" for non-x86 2003-12-28 21:57:43 +00:00
ncnv.pas + fpu<->mm register conversion 2003-12-26 00:32:21 +00:00
ncon.pas * splitted buildderef and buildderefimpl to fix interface crc 2003-10-23 14:44:07 +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 * tai_const.create_32bit changed to cardinal 2003-12-08 22:34:24 +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 * fixed mtfsb0 instruction for assembler reader/writer 2004-01-10 00:16: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 * register calling is left-right 2003-11-23 17:05:15 +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 * Initialize() added 2003-11-29 16:19:54 +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 * moved count_locals from pstatmnt to symutils 2003-12-07 16:40:45 +00:00
psub.pas * fixed ppc inlining stuff 2003-12-21 19:42:42 +00:00
psystem.pas * Initialize() added 2003-11-29 16:19:54 +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 * Degree=0 problem fixed 2004-01-09 22:02:29 +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 * fixed some crashes 2003-12-01 18:44:15 +00:00
symconst.pas * Some work to restore the MMX capabilities 2003-12-19 22:08:44 +00:00
symdef.pas * Darwin's assembler assumes that all labels starting with 'L' are local 2004-01-04 21:10:04 +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 * fix stabs for locals 2004-01-06 15:46:12 +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 * moved count_locals from pstatmnt to symutils 2003-12-07 16:40:45 +00:00
systems.pas + added log message for last commit 2004-01-04 21:17:51 +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 * 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 + Changed version to 1.9.2 2004-01-03 12:31:44 +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