fpc/compiler
peter 1e3875ad36 - fix rtti generation for properties containing sl_vec
- fix crash when overloaded operator is not available
- fix record alignment for C style variant records
2004-02-17 15:57:49 +00:00
..
alpha
arm * small compilation fix 2004-02-12 13:24:44 +00:00
html
i386 * more x86_64 parameter fixes 2004-02-09 22:14:17 +00:00
ia64
m68k * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
msg * fixed copyright year 2004-01-22 21:19:36 +00:00
new
powerpc * fixed to compile the rtl again 2004-02-11 23:18:59 +00:00
sparc * taicpu.is_same_reg_move() now gets a regtype parameter so it only 2004-02-08 23:10:21 +00:00
systems * pthread on -CURRENT related fixes. 2004-02-15 16:34:18 +00:00
utils * support X86_64 and NOX86_64 flags 2004-02-09 20:30:48 +00:00
vis
x86 * more x86_64 parameter fixes 2004-02-09 22:14:17 +00:00
x86_64 * more x86_64 parameter fixes 2004-02-09 22:14:17 +00:00
aasmbase.pas
aasmtai.pas * taicpu.is_same_reg_move() now gets a regtype parameter so it only 2004-02-08 23:10:21 +00:00
aggas.pas * fixed several arm floating point issues 2004-01-24 18:12:40 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
aoptobj.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
assemble.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
browcol.pas
browlog.pas * fixed compile with -CR 2004-02-11 22:00:10 +00:00
bsdcompile
catch.pas * havelinuxrtl10 fixes 2003-11-10 17:22:28 +00:00
cclasses.pas * Some minor stuff 2004-01-15 15:16:17 +00:00
cg64f32.pas * op_const_reg_reg with OP_SAR fixed 2004-01-22 02:22:47 +00:00
cg64f64.pas * x86-64 compilation fixed 2004-01-13 18:08:58 +00:00
cgbase.pas * more x86_64 parameter fixes 2004-02-09 22:14:17 +00:00
cgobj.pas * make extcycle is working again 2004-02-12 15:54:03 +00:00
charset.pas
checkmem.pas
cmsgs.pas * fixed another couple of arm bugs 2004-01-28 15:36:46 +00:00
comphook.pas
compiler.pas * another bunch of x86-64 fixes mainly calling convention and 2004-01-14 23:39:05 +00:00
compinnr.inc + added prefetch(const mem) support 2004-02-02 20:41:59 +00:00
comprsrc.pas
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 * Bugfix on constant strings stab generation. Never worked and still 2004-01-26 22:08:20 +00:00
defcmp.pas * allow real_2_real conversion for realconstn, fixes 2971 2004-02-15 12:18:22 +00:00
defutil.pas * first try to get cpupara working for x86_64 2004-02-04 22:01:13 +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 - fix rtti generation for properties containing sl_vec 2004-02-17 15:57:49 +00:00
fppu.pas * fix remembering path of main source file 2004-02-03 16:14:13 +00:00
gdb.pas
gendef.pas
globals.pas + PtrInt declared if VER1_0 2004-02-08 16:38:51 +00:00
globtype.pas * pthread on -CURRENT related fixes. 2004-02-15 16:34:18 +00:00
htypechk.pas * compare_defs_ext has now a options argument 2004-02-13 15:42:21 +00:00
impdef.pas
import.pas
link.pas * fixed external smartlinking 2003-12-11 17:53:03 +00:00
make_old.cmd
Makefile + arm support in Makefiles improved 2004-02-07 00:20:16 +00:00
Makefile.fpc + arm support in Makefiles improved 2004-02-07 00:20:16 +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 * give warning that DWORD is used as size in delphi mode when no 2004-01-22 16:29:11 +00:00
msgtxt.inc * another fix to flag handling 2004-01-23 00:01:48 +00:00
nadd.pas * several fixes to compile x86-64 system 2004-02-05 01:24:08 +00:00
nbas.pas * don't put types that need init/fini in register temps 2004-02-06 20:22:58 +00:00
ncal.pas * compare_defs_ext has now a options argument 2004-02-13 15:42:21 +00:00
ncgadd.pas *** empty log message *** 2004-02-04 19:22:27 +00:00
ncgbas.pas + some more usage of register temps 2004-02-04 18:45:29 +00:00
ncgcal.pas * fix compilation without GDB 2004-02-11 19:59:06 +00:00
ncgcnv.pas * several fixes to compile x86-64 system 2004-02-05 01:24:08 +00:00
ncgcon.pas * fixed several arm floating point issues 2004-01-24 18:12:40 +00:00
ncgflw.pas * make extcycle is working again 2004-02-12 15:54:03 +00:00
ncginl.pas * fixed (hopefully) the ansistring length bug 2004-02-05 16:58:43 +00:00
ncgld.pas * fixed regvars 2004-02-08 17:45:53 +00:00
ncgmat.pas * fixed generic shl/shr operations 2004-01-23 15:12:49 +00:00
ncgmem.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
ncgopt.pas * Change several $ifdef i386 to x86 2004-01-31 17:45:16 +00:00
ncgset.pas * fixed for regvars + simplification 2004-02-08 14:51:04 +00:00
ncgutil.pas * fixed regvars 2004-02-08 17:45:53 +00:00
ncnv.pas * compare_defs_ext has now a options argument 2004-02-13 15:42:21 +00:00
ncon.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
nflw.pas * several fixes to compile x86-64 system 2004-02-05 01:24:08 +00:00
ninl.pas + some more usage of register temps 2004-02-04 18:45:29 +00:00
nld.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
nmat.pas * Rtti generation moved to ncgutil 2004-02-04 22:15:15 +00:00
nmem.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
nobj.pas * overload directive checking for methods is now done 2004-02-13 15:41:24 +00:00
node.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
nopt.pas + inlined procedures inherit procinfo flags 2003-12-16 21:29:24 +00:00
nset.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
nstate.pas
nutils.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmap.pas
options.pas * pthread on -CURRENT related fixes. 2004-02-15 16:34:18 +00:00
owar.pas
owbase.pas
paramgr.pas * several fixes to parameter handling on arm 2004-02-09 22:48:45 +00:00
parser.pas * Rtti generation moved to ncgutil 2004-02-04 22:15:15 +00:00
pass_1.pas
pass_2.pas * cross unit inlining fixed 2003-11-10 22:02:52 +00:00
pbase.pas * except is also an end of block token 2004-01-22 17:24:49 +00:00
pdecl.pas * make extcycle is working again 2004-02-12 15:54:03 +00:00
pdecobj.pas * global property support for fpc modes 2003-12-10 16:37:01 +00:00
pdecsub.pas * overload directive checking for methods is now done 2004-02-13 15:41:24 +00:00
pdecvar.pas - fix rtti generation for properties containing sl_vec 2004-02-17 15:57:49 +00:00
pexports.pas
pexpr.pas - fix rtti generation for properties containing sl_vec 2004-02-17 15:57:49 +00:00
pinline.pas + some more usage of register temps 2004-02-04 18:45:29 +00:00
pmodules.pas * Removed not very usefull nextglobal & previousglobal fields from 2004-02-06 22:37:00 +00:00
pp.pas * when compiled with -dnocatch, known rtes aren't translated anymore 2004-01-26 17:39:12 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * fixed more alignment issues 2004-01-30 13:42:03 +00:00
procinfo.pas * sparc updates 2003-12-26 14:02:30 +00:00
pstatmnt.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
psub.pas * fixed regvars support. Needs -doldregvars to activate. Only tested with 2004-02-08 18:08:59 +00:00
psystem.pas * Rtti generation moved to ncgutil 2004-02-04 22:15:15 +00:00
ptconst.pas * Take advantage of our new with statement optimization 2004-02-07 23:28:34 +00:00
ptype.pas * renamed xNNbittype to xNNinttype 2004-02-03 22:32:53 +00:00
raatt.pas * Take advantage of our new with statement optimization 2004-02-07 23:28:34 +00:00
rabase.pas * fixed more alignment issues 2004-01-30 13:42:03 +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 - removed taicpu.is_reg_move because it's not used anymore 2004-02-08 20:15:42 +00:00
rgbase.pas * fixed ppc assembler reader 2003-11-15 19:00:10 +00:00
rgobj.pas * make extcycle is working again 2004-02-12 15:54:03 +00:00
scandir.pas * more record alignment fixes 2004-01-28 22:16:31 +00:00
scanner.pas * Better fix for case sensitive macro handling 2004-02-11 14:46: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 * Rtti generation moved to ncgutil 2004-02-04 22:15:15 +00:00
symconst.pas + reintroduce implemented 2004-01-21 14:22:00 +00:00
symdef.pas - fix rtti generation for properties containing sl_vec 2004-02-17 15:57:49 +00:00
symnot.pas
symsym.pas * compare_defs_ext has now a options argument 2004-02-13 15:42:21 +00:00
symtable.pas - fix rtti generation for properties containing sl_vec 2004-02-17 15:57:49 +00:00
symtype.pas * fix compilation without GDB 2004-02-11 19:59:06 +00:00
symutil.pas * moved count_locals from pstatmnt to symutils 2003-12-07 16:40:45 +00:00
systems.pas * getosreldate 2004-02-13 15:56:11 +00:00
tgobj.pas * use localalign info for alignment for locals and temps 2004-01-12 22:11:38 +00:00
tokens.pas * Florian's culmutative nr. 1; contains: 2003-11-07 15:58:32 +00:00
tpexcept.pas * don't use the local longjmp for 1.9.x 2004-02-12 16:00:39 +00:00
verbose.pas * reset compiling_module, fixes crash in ide with second compile 2004-02-15 12:17:59 +00:00
version.pas * version changed to 1.9.3 2004-01-11 20:59:41 +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