fpc/compiler
Jonas Maebe 733f559267 * also perform C varargs type conversions for cdecl procedures declared
as "varargs" instead of using an array of const parameter

git-svn-id: trunk@4572 -
2006-09-08 16:04:15 +00:00
..
alpha
arm * stack page initialization disabled, not necessary according to Yury Sidorov 2006-09-02 20:43:59 +00:00
html
i386 * 64bit support for shrd 2006-09-03 08:56:10 +00:00
ia64 * first iA-64 register stuff 2006-08-17 21:09:24 +00:00
m68k * changed result type of dwarf_reg from byte to shortint to avoid 2006-07-14 17:25:16 +00:00
mips
msg * include para number in call by var error 2006-09-04 21:14:22 +00:00
powerpc + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
powerpc64 * support for subsets which are not a multiple of 8 bits 2006-08-19 11:11:37 +00:00
ppcgen * code generator support for subsetreferences (memory locations which 2006-08-19 11:14:43 +00:00
sparc * fixed internalerrors due to no (dummy) MM reg allocator 2006-08-03 15:37:26 +00:00
systems * fixed compilation 2006-09-04 11:34:02 +00:00
utils macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
vis
x86 * shifting can operate on 64 bit values on x86_64 2006-09-07 19:41:02 +00:00
x86_64 * 64bit support for shrd 2006-09-03 08:56:10 +00:00
aasmbase.pas - Removed need of assembler startup files for wince. Now compiler directly creates .pdata section needed for arm-wince exception handling. 2006-06-02 08:36:25 +00:00
aasmdata.pas * properly copy tasmlabels when generating altsymbols 2006-05-31 11:49:37 +00:00
aasmtai.pas * tai_symbol no longer derives from tailineinfo, so line number stabs come after 2006-05-25 20:24:07 +00:00
aggas.pas fixed generation of dwarf lineinfo in win32 2006-07-13 23:53:53 +00:00
aopt.pas * fix findlohilabel 2006-04-20 13:59:14 +00:00
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
assemble.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
browcol.pas
browlog.pas
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 macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
cfidwarf.pas * use dwarf_reg() 2006-03-26 20:15:32 +00:00
cg64f32.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
cgbase.pas * code generator support for subsetreferences (memory locations which 2006-08-19 11:14:43 +00:00
cgobj.pas * fixed a missed "(1 shl 32) - 1 = 0" problem for x86 2006-08-23 17:56:16 +00:00
cgutils.pas * code generator support for subsetreferences (memory locations which 2006-08-19 11:14:43 +00:00
charset.pas
cmsgs.pas
comphook.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
compiler.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
compinnr.inc + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
comprsrc.pas + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
cresstr.pas * correct fix for resourcestrings 2006-06-29 21:08:46 +00:00
cstreams.pas
cutils.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
dbgbase.pas
dbgdwarf.pas + first part of qwordbool implementation 2006-08-19 23:16:17 +00:00
dbgstabs.pas + first part of qwordbool implementation 2006-08-19 23:16:17 +00:00
defcmp.pas * allow implicit conversions from/to packed char arrays under the 2006-08-20 15:14:07 +00:00
defutil.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
export.pas * change edatalabel to string references. The edatalabel is not available anymore after a unit is compiled 2006-06-22 06:02:58 +00:00
finput.pas * fix coff section names to fix resourcestrings with 2006-04-17 20:48:22 +00:00
fmodule.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
fpccrc.pas
fpcdefs.inc macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
fppu.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
gendef.pas * cleanup external/nolink options 2006-04-29 21:49:37 +00:00
globals.pas * inline directive enabled by default for fpc,objfpc,delphi modes 2006-09-04 19:54:21 +00:00
globtype.pas * inline directive enabled by default for fpc,objfpc,delphi modes 2006-09-04 19:54:21 +00:00
htypechk.pas * include para number in call by var error 2006-09-04 21:14:22 +00:00
impdef.pas + output is flushed before launching external utilities 2006-05-15 00:28:55 +00:00
import.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
link.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
make_old.cmd
Makefile + regenerated makefiles to support powerpc-amiga target 2006-08-06 12:28:28 +00:00
Makefile.fpc * use echoredir for creating revision.inc 2006-07-31 12:49:26 +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 * include para number in call by var error 2006-09-04 21:14:22 +00:00
msgtxt.inc * include para number in call by var error 2006-09-04 21:14:22 +00:00
nadd.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
nbas.pas
ncal.pas * also perform C varargs type conversions for cdecl procedures declared 2006-09-08 16:04:15 +00:00
ncgadd.pas * fixed compilation on 64 bit CPUs 2006-08-20 09:25:37 +00:00
ncgbas.pas * fixed compilation on non x86 systems 2006-04-20 15:03:53 +00:00
ncgcal.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
ncgcnv.pas * avoid some unnecessary bool->int->bool type conversions 2006-04-09 18:33:05 +00:00
ncgcon.pas * fixed merging of identical ansi/widestrings 2006-09-04 13:08:20 +00:00
ncgflw.pas * cleaned up subsetreg support (put everything in a record) 2006-08-01 20:39:53 +00:00
ncginl.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
ncgld.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
ncgmat.pas
ncgmem.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
ncgopt.pas
ncgset.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
ncgutil.pas * correct handling of result register allocation of exception helpers 2006-08-31 14:53:20 +00:00
ncnv.pas * also perform C varargs type conversions for cdecl procedures declared 2006-09-08 16:04:15 +00:00
ncon.pas * don't allow stringconst+integer 2006-03-27 07:22:02 +00:00
nflw.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
ninl.pas + first part of qwordbool implementation 2006-08-19 23:16:17 +00:00
nld.pas * also perform C varargs type conversions for cdecl procedures declared 2006-09-08 16:04:15 +00:00
nmat.pas + first part of qwordbool implementation 2006-08-19 23:16:17 +00:00
nmem.pas * also use LOC_CSUBSETREF 2006-08-20 19:28:10 +00:00
nobj.pas * pass contextobjdef for visibility of methods. There are different 2006-08-07 21:12:38 +00:00
node.pas * also perform C varargs type conversions for cdecl procedures declared 2006-09-08 16:04:15 +00:00
nopt.pas
nset.pas
nstate.pas
nutils.pas * fixed issue #6977 (add regvars occupied by the invisible high parameter 2006-06-21 18:24:01 +00:00
ogbase.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
ogcoff.pas * make rvasize the same as datasize 2006-09-03 20:41:02 +00:00
ogelf.pas - Removed need of assembler startup files for wince. Now compiler directly creates .pdata section needed for arm-wince exception handling. 2006-06-02 08:36:25 +00:00
oglx.pas
ogmap.pas
optcse.pas
options.pas * inline directive enabled by default for fpc,objfpc,delphi modes 2006-09-04 19:54:21 +00:00
optunrol.pas * removed/conditionalised several unused variables 2006-07-14 19:44:54 +00:00
owar.pas * support static library (.a) linking 2006-06-28 20:26:53 +00:00
owbase.pas * support static library (.a) linking 2006-06-28 20:26:53 +00:00
parabase.pas
paramgr.pas * fixed and released optimization to prevent some superfluous 2006-07-14 17:55:45 +00:00
parser.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
pass_1.pas
pass_2.pas + very limited SSA support (only outside control flow 2006-05-25 11:45:08 +00:00
pbase.pas * export of qualified unit symbols, fixes #6848 2006-05-18 20:43:52 +00:00
pdecl.pas * fixed several dispinterface parsing related stuff 2006-04-29 21:39:21 +00:00
pdecobj.pas * fixed object constructor handling for 64 bit CPUs 2006-08-20 09:37:24 +00:00
pdecsub.pas * inline directive enabled by default for fpc,objfpc,delphi modes 2006-09-04 19:54:21 +00:00
pdecvar.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
pexports.pas * export of qualified unit symbols, fixes #6848 2006-05-18 20:43:52 +00:00
pexpr.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
pinline.pas * pass context class to searchsym_in_class to fix the visibility 2006-08-07 19:10:11 +00:00
pmodules.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
pp.lpi * locally changed pp.lpi reverted 2006-06-16 20:32:16 +00:00
pp.pas
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr
ppheap.pas
ppu.pas * also perform C varargs type conversions for cdecl procedures declared 2006-09-08 16:04:15 +00:00
procinfo.pas
pstatmnt.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
psub.pas * refactor import library generation 2006-09-03 19:22:31 +00:00
psystem.pas * fixed object constructor handling for 64 bit CPUs 2006-08-20 09:37:24 +00:00
ptconst.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
ptype.pas * no support yet for packed records which need to be initialized 2006-08-24 10:02:19 +00:00
raatt.pas * split newasmsymbol to refasmsymbol and defineasmsymbol 2006-03-27 11:45:18 +00:00
rabase.pas
rasm.pas
rautils.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
README
regvars.pas
rgbase.pas
rgobj.pas * remove extdebug register unused warning, it is obsolete with the ssa for registers 2006-09-03 08:30:05 +00:00
scandir.pas * inline directive enabled by default for fpc,objfpc,delphi modes 2006-09-04 19:54:21 +00:00
scanner.pas * inline directive enabled by default for fpc,objfpc,delphi modes 2006-09-04 19:54:21 +00:00
script.pas - removed {$ifdef havelinuxrtl10} code 2006-08-04 12:29:34 +00:00
switches.pas
symbase.pas
symconst.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
symdef.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
symnot.pas
symsym.pas + support for bitpacked records, except for: 2006-08-23 15:44:13 +00:00
symtable.pas - removed wrong databitsize assignment (which had no effect) 2006-08-27 11:30:27 +00:00
symtype.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
symutil.pas
systems.pas * used gar instead of ar on solaris 2006-08-08 17:11:46 +00:00
tgobj.pas * per-parameter alignment set in target specific paramanager now overrides default alignment of parameter locals 2006-04-18 14:32:42 +00:00
tokens.pas + support for bitpacked arrays: 2006-08-19 12:54:12 +00:00
verbose.pas macos: added a fake sysutils for use by compiler, and fixed some tests 2006-09-03 22:30:37 +00:00
version.pas * Revert version change 2006-05-30 18:36:32 +00:00
widestr.pas * fixed crashes in asciichar2unicode() and ascii2unicode() in case 2006-07-06 14:24:22 +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