fpc/compiler
2004-10-24 20:01:08 +00:00
..
alpha * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
arm * fixed several arm compiler bugs 2004-10-24 17:32:53 +00:00
html
i386 * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
ia64
m68k * small regvar for para fixes 2004-10-11 15:48:15 +00:00
msg * better PathExists, fix for too long command line, correction of message 2004-09-21 23:33:43 +00:00
new
powerpc * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
sparc * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
systems * gc-sections added when section smartlinking is used 2004-10-24 13:36:26 +00:00
utils + added -h option to show help 2004-09-27 18:04:11 +00:00
vis
x86 * small regvar fixes 2004-10-24 11:44:28 +00:00
x86_64 * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
aasmbase.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
aasmtai.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
aggas.pas * support rodata like data when writing ordinal cosnts 2004-10-24 13:35:25 +00:00
aopt.pas * logs truncated 2004-06-20 08:55:28 +00:00
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
assemble.pas * Merge is complete for this file, cycles ! 2004-10-14 14:47:52 +00:00
browcol.pas * use SysUtils unit instead of Dos Unit 2004-10-14 16:53:26 +00:00
browlog.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
bsdcompile
catch.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
cclasses.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
cg64f32.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
cg64f64.pas
cgbase.pas * fix clearing of superregset (from Peter) 2004-10-14 10:59:58 +00:00
cgobj.pas * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
cgutils.pas
charset.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
cmsgs.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
comphook.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
compiler.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
compinnr.inc + macpas style: exit, cycle, leave 2004-07-05 21:49:43 +00:00
comprsrc.pas * USE_SYSUTILS merged successfully : cycles with and without defines 2004-10-14 18:16:17 +00:00
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas
cresstr.pas * remove maxlen field from ansistring/widestrings 2004-07-12 17:58:19 +00:00
cstreams.pas
cutils.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
defcmp.pas * prefer pchar-string over pchar-pointer 2004-09-21 15:52:35 +00:00
defutil.pas * fixed longbool(<int64>) on sparc 2004-08-24 21:02:32 +00:00
depend
dwarf.pas
export.pas
finput.pas * USE_SYSUTILS merged successfully : cycles with and without defines 2004-10-14 18:16:17 +00:00
fmodule.pas * USE_SYSUTILS merged successfully : cycles with and without defines 2004-10-14 18:16:17 +00:00
fpcdefs.inc * disable USE_SYSUTILS when compiled with 1.9.4 or 1.0.x 2004-10-14 18:29:22 +00:00
fppu.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
gdb.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
gendef.pas
globals.pas * Fixed printing of filedates 2004-10-16 22:46:14 +00:00
globtype.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
htypechk.pas * small regvar fixes 2004-10-24 11:44:28 +00:00
impdef.pas * use SysUtils unit instead of Dos Unit 2004-10-14 17:26:04 +00:00
import.pas
link.pas * Merge is complete for this file, cycles ! 2004-10-14 16:25:39 +00:00
make_old.cmd
Makefile * makefiles regenerated 2004-09-04 23:33:38 +00:00
Makefile.fpc * fpcfan copy paste error (ifdef x86_64 should be arm) 2004-08-06 22:37:49 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc * fix compile problem 2004-07-26 04:00:35 +00:00
msgidx.inc * better PathExists, fix for too long command line, correction of message 2004-09-21 23:33:43 +00:00
msgtxt.inc - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
nadd.pas * paraloc branch merged 2004-09-21 17:25:12 +00:00
nbas.pas * gen high tree makes copy in temp when there is a calln 2004-10-12 14:36:38 +00:00
ncal.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ncgadd.pas * fixed more sparc overflow stuff 2004-09-29 18:55:40 +00:00
ncgbas.pas * simple regvar support, not yet finished 2004-09-26 17:45:29 +00:00
ncgcal.pas * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
ncgcnv.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
ncgcon.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ncgflw.pas * small regvar fixes 2004-10-24 11:44:28 +00:00
ncginl.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
ncgld.pas * small regvar fixes 2004-10-24 11:44:28 +00:00
ncgmat.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
ncgmem.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
ncgopt.pas * small regvar fixes 2004-10-24 11:44:28 +00:00
ncgset.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
ncgutil.pas * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
ncnv.pas * small regvar fixes 2004-10-24 11:44:28 +00:00
ncon.pas
nflw.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ninl.pas * another fix for reading of subranges 2004-09-16 16:32:27 +00:00
nld.pas * small regvar fixes 2004-10-24 11:44:28 +00:00
nmat.pas
nmem.pas * simple regvar support, not yet finished 2004-09-26 17:45:29 +00:00
nobj.pas * fixed writing of methodtable 2004-10-24 13:35:39 +00:00
node.pas
nopt.pas
nset.pas
nstate.pas
nutils.pas * fix possible wrong typecast 2004-08-25 15:54:46 +00:00
ogbase.pas * Dos and cpubase units in uses clause are not needed 2004-10-14 17:37:46 +00:00
ogcoff.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ogelf.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
oglx.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ogmap.pas
options.pas * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
owar.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
owbase.pas
parabase.pas * symtable allocation rewritten 2004-10-10 20:22:53 +00:00
paramgr.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
parser.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pass_1.pas
pass_2.pas
pbase.pas * finally is an "endtoken" as well 2004-08-08 12:06:38 +00:00
pdecl.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pdecobj.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pdecsub.pas * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
pdecvar.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pexports.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pexpr.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pinline.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pmodules.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pp.lpi - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
pp.pas
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas * fixed compile error 2004-10-18 14:39:22 +00:00
ppu.pas * paraloc branch merged 2004-09-21 17:25:12 +00:00
procinfo.pas
pstatmnt.pas * remove non needed parathesys as in 1.140 2004-10-15 10:35:23 +00:00
psub.pas * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
psystem.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ptconst.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
ptype.pas
raatt.pas
rabase.pas
rasm.pas
rautils.pas * small regvar fixes 2004-10-24 11:44:28 +00:00
README
regvars.pas * uppdated in accordance to varregable for OLDREGVARS 2004-10-16 13:08:49 +00:00
rgbase.pas
rgobj.pas * during translation only process regalloc for the current regtype 2004-10-24 17:04:01 +00:00
scandir.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
scanner.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
script.pas * minor fix for macos 2004-08-20 10:23:35 +00:00
switches.pas browser disabled 2004-08-27 21:59:26 +00:00
symbase.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
symconst.pas * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
symdef.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
symnot.pas
symsym.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
symtable.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
symtype.pas * fixed visibility for procsyms 2004-10-12 14:34:49 +00:00
symutil.pas
systems.pas * target netwlibc added (libc is preferred for newer netware versions) 2004-09-04 21:18:47 +00:00
tgobj.pas * paraloc branch merged 2004-09-21 17:25:12 +00:00
tokens.pas * remove saveregister calling convention 2004-10-24 20:01:08 +00:00
tpexcept.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
verbose.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +00:00
version.pas
widestr.pas - remove $IFDEF DELPHI and related code 2004-10-15 09:14:16 +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