fpc/compiler
2004-10-12 14:36:38 +00:00
..
alpha * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
arm * length parameter for copyvaluearray changed to tlocation 2004-10-11 15:46:45 +00:00
html
i386 * length parameter for copyvaluearray changed to tlocation 2004-10-11 15:46:45 +00:00
ia64 * logs truncated 2004-06-20 08:55:28 +00:00
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 * logs truncated 2004-06-20 08:55:28 +00:00
powerpc * include pi_do_call if we generate a call instead of internalerroring 2004-10-11 07:13:14 +00:00
sparc * fixed sparc compile 2004-10-10 20:51:46 +00:00
systems * small updates to make playing with sparc/sunos easier 2004-10-01 17:41:21 +00:00
utils + added -h option to show help 2004-09-27 18:04:11 +00:00
vis * logs truncated 2004-06-20 08:55:28 +00:00
x86 * optimized spilling writing when the reg operand can be 2004-10-10 16:30:26 +00:00
x86_64 * fixed location size for s64comp 2004-10-05 20:55:49 +00:00
aasmbase.pas * fixed relabeling properly now :) 2004-07-22 10:09:10 +00:00
aasmtai.pas * more spilling rewrites 2004-10-05 20:41:01 +00:00
aggas.pas * simple regvar support, not yet finished 2004-09-26 17:45:29 +00:00
aopt.pas * logs truncated 2004-06-20 08:55:28 +00:00
aoptbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
aoptcs.pas * logs truncated 2004-06-20 08:55:28 +00:00
aoptda.pas * logs truncated 2004-06-20 08:55:28 +00:00
aoptobj.pas * logs truncated 2004-06-20 08:55:28 +00:00
assemble.pas + non writeable unit output directory produces a nice error message now 2004-10-08 15:52:40 +00:00
browcol.pas * logs truncated 2004-06-20 08:55:28 +00:00
browlog.pas * logs truncated 2004-06-20 08:55:28 +00:00
bsdcompile
catch.pas + Added argument to Stop 2004-09-09 08:19:47 +00:00
cclasses.pas * insertlistbefore added 2004-10-04 20:43:28 +00:00
cg64f32.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
cg64f64.pas * logs truncated 2004-06-20 08:55:28 +00:00
cgbase.pas * fixed longbool(<int64>) on sparc 2004-08-24 21:02:32 +00:00
cgobj.pas * length parameter for copyvaluearray changed to tlocation 2004-10-11 15:46:45 +00:00
cgutils.pas * top_symbol killed 2004-02-27 10:21:04 +00:00
charset.pas * logs truncated 2004-06-20 08:55:28 +00:00
cmsgs.pas * logs truncated 2004-06-20 08:55:28 +00:00
comphook.pas + Check if outputdir exists, Fix exitcode when displaying help pages 2004-09-08 11:23:30 +00:00
compiler.pas + Check if outputdir exists, Fix exitcode when displaying help pages 2004-09-08 11:23:30 +00:00
compinnr.inc + macpas style: exit, cycle, leave 2004-07-05 21:49:43 +00:00
comprsrc.pas * logs truncated 2004-06-20 08:55:28 +00:00
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas * logs truncated 2004-06-20 08:55:28 +00:00
cresstr.pas * remove maxlen field from ansistring/widestrings 2004-07-12 17:58:19 +00:00
cstreams.pas * logs truncated 2004-06-20 08:55:28 +00:00
cutils.pas * range check error in swapint64 2004-09-21 20:32:40 +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
dmisc.pas * logs truncated 2004-06-20 08:55:28 +00:00
dwarf.pas * logs truncated 2004-06-20 08:55:28 +00:00
export.pas * logs truncated 2004-06-20 08:55:28 +00:00
finput.pas + Patch from Christian Iversen to implement LIBPREFIX/SUFFIX/EXTENSION directives 2004-08-02 07:15:54 +00:00
fmodule.pas * use realmodulename in unit not used msg 2004-08-30 20:23:33 +00:00
fpcdefs.inc - disabled oldregvars because it no longer compiles 2004-10-10 14:57:29 +00:00
fppu.pas * remove check for shortunitname, it broke units with 8 and 9 chars 2004-09-13 20:27:27 +00:00
gdb.pas * logs truncated 2004-06-20 08:55:28 +00:00
gendef.pas * logs truncated 2004-06-20 08:55:28 +00:00
globals.pas * default optimization cpu changed to CLassPentium3 2004-10-10 15:42:22 +00:00
globtype.pas * simple regvar support, not yet finished 2004-09-26 17:45:29 +00:00
htypechk.pas * fixed visibility for procsyms 2004-10-12 14:34:49 +00:00
impdef.pas * logs truncated 2004-06-20 08:55:28 +00:00
import.pas * logs truncated 2004-06-20 08:55:28 +00:00
link.pas * Exchanged hardcoded "./" to CurDirRelPath 2004-10-09 11:37:09 +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 * better PathExists, fix for too long command line, correction of message 2004-09-21 23:33:43 +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 * gen high tree makes copy in temp when there is a calln 2004-10-12 14:36:38 +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 * passing a var parameter to var parameter is now also allowed 2004-10-10 20:21:18 +00:00
ncgcnv.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
ncgcon.pas * constant floating point assignments etc. are now overflow checked 2004-08-08 16:00:56 +00:00
ncgflw.pas * simple regvar support, not yet finished 2004-09-26 17:45:29 +00:00
ncginl.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
ncgld.pas * passing a var parameter to var parameter is now also allowed 2004-10-10 20:21:18 +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 * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
ncgset.pas * ungetregister is now only used for cpuregisters, renamed to 2004-09-25 14:23:54 +00:00
ncgutil.pas * small regvar for para fixes 2004-10-11 15:48:15 +00:00
ncnv.pas * give error when converting class to interface are not related 2004-10-12 14:33:41 +00:00
ncon.pas * logs truncated 2004-06-20 08:55:28 +00:00
nflw.pas * for loop variable assignment is not allowed anymore 2004-09-13 20:28:26 +00:00
ninl.pas * another fix for reading of subranges 2004-09-16 16:32:27 +00:00
nld.pas * fixed crash when current_procinfo was not yet available 2004-10-12 14:35:14 +00:00
nmat.pas * logs truncated 2004-06-20 08:55:28 +00:00
nmem.pas * simple regvar support, not yet finished 2004-09-26 17:45:29 +00:00
nobj.pas * fixed visibility for procsyms 2004-10-12 14:34:49 +00:00
node.pas * logs truncated 2004-06-20 08:55:28 +00:00
nopt.pas * logs truncated 2004-06-20 08:55:28 +00:00
nset.pas * logs truncated 2004-06-20 08:55:28 +00:00
nstate.pas * logs truncated 2004-06-20 08:55:28 +00:00
nutils.pas * fix possible wrong typecast 2004-08-25 15:54:46 +00:00
ogbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
ogcoff.pas don't use .rodata, it doesn't work yet 2004-08-27 20:55:08 +00:00
ogelf.pas * .rodata section support, disabled by default since it doesn't work 2004-08-25 15:55:10 +00:00
oglx.pas * logs truncated 2004-06-20 08:55:28 +00:00
ogmap.pas * logs truncated 2004-06-20 08:55:28 +00:00
options.pas * bootstrapping with rtti alignment fixed 2004-10-05 20:21:02 +00:00
owar.pas * logs truncated 2004-06-20 08:55:28 +00:00
owbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
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 * logs truncated 2004-06-20 08:55:28 +00:00
pass_1.pas * logs truncated 2004-06-20 08:55:28 +00:00
pass_2.pas * logs truncated 2004-06-20 08:55:28 +00:00
pbase.pas * finally is an "endtoken" as well 2004-08-08 12:06:38 +00:00
pdecl.pas * use realname in error msg 2004-09-13 20:33:17 +00:00
pdecobj.pas allow published for constructors 2004-08-29 11:28:10 +00:00
pdecsub.pas * mark non-regable after calling convention is set 2004-10-11 15:45:35 +00:00
pdecvar.pas * gen high tree makes copy in temp when there is a calln 2004-10-12 14:36:38 +00:00
pexports.pas * logs truncated 2004-06-20 08:55:28 +00:00
pexpr.pas * cstyle operators with calln in the tree now use a temp 2004-10-12 14:35:47 +00:00
pinline.pas * logs truncated 2004-06-20 08:55:28 +00:00
pmodules.pas * debuginfo fixes 2004-10-04 18:26:51 +00:00
pp.lpi * Fix new command line parameters 2004-09-22 15:41:57 +00:00
pp.pas * logs truncated 2004-06-20 08:55:28 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas * logs truncated 2004-06-20 08:55:28 +00:00
ppu.pas * paraloc branch merged 2004-09-21 17:25:12 +00:00
procinfo.pas * logs truncated 2004-06-20 08:55:28 +00:00
pstatmnt.pas * register loopvarsym for fields instead of record variable 2004-09-27 15:15:52 +00:00
psub.pas * symtable allocation rewritten 2004-10-10 20:22:53 +00:00
psystem.pas + macpas style: exit, cycle, leave 2004-07-05 21:49:43 +00:00
ptconst.pas * remove maxlen field from ansistring/widestrings 2004-07-12 17:58:19 +00:00
ptype.pas * logs truncated 2004-06-20 08:55:28 +00:00
raatt.pas * logs truncated 2004-06-20 08:55:28 +00:00
rabase.pas * logs truncated 2004-06-20 08:55:28 +00:00
rasm.pas * logs truncated 2004-06-20 08:55:28 +00:00
rautils.pas * tvarsym.varregable added, split vo_regable from varoptions 2004-10-08 17:09:43 +00:00
README
regvars.pas * simple regvar support, not yet finished 2004-09-26 17:45:29 +00:00
rgbase.pas * logs truncated 2004-06-20 08:55:28 +00:00
rgobj.pas * removed warning about register used only once 2004-10-11 15:47:03 +00:00
scandir.pas * target netwlibc added (libc is preferred for newer netware versions) 2004-09-04 21:18:47 +00:00
scanner.pas * Exchanged hardcoded "./" to CurDirRelPath 2004-10-09 11:29:15 +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 * revert has_localst patch 2004-07-09 22:17:31 +00:00
symconst.pas * tvarsym.varregable added, split vo_regable from varoptions 2004-10-08 17:09:43 +00:00
symdef.pas * parameter regvar fixes 2004-10-10 21:08:55 +00:00
symnot.pas * logs truncated 2004-06-20 08:55:28 +00:00
symsym.pas * fixed visibility for procsyms 2004-10-12 14:34:49 +00:00
symtable.pas * small regvar for para fixes 2004-10-11 15:48:15 +00:00
symtype.pas * fixed visibility for procsyms 2004-10-12 14:34:49 +00:00
symutil.pas * logs truncated 2004-06-20 08:55:28 +00:00
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 + adding operators "|" and "&" for macpas 2004-07-05 23:25:34 +00:00
tpexcept.pas * logs truncated 2004-06-20 08:55:28 +00:00
verbose.pas + Check if outputdir exists, Fix exitcode when displaying help pages 2004-09-08 11:23:30 +00:00
version.pas * logs truncated 2004-06-20 08:55:28 +00:00
widestr.pas * logs truncated 2004-06-20 08:55:28 +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