fpc/compiler
pierre 7686c36a62 + Register Solaris
git-svn-id: trunk@14222 -
2009-11-20 11:05:09 +00:00
..
alpha * merged armthum branch 2009-10-04 09:03:44 +00:00
arm * fixed alignment for (non-)lazy symbol sections 2009-11-10 10:43:15 +00:00
avr * merged armthum branch 2009-10-04 09:03:44 +00:00
html
i386 - removed aitconst_indirect_symbol, replaced with tai_directive 2009-11-12 19:39:41 +00:00
ia64
m68k * merged armthum branch 2009-10-04 09:03:44 +00:00
mips * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
msg + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
powerpc - removed aitconst_indirect_symbol, replaced with tai_directive 2009-11-12 19:39:41 +00:00
powerpc64 + mw_pascal calling convention support for ARM, ppc64 and x86_64: identical 2009-11-08 13:42:11 +00:00
ppcgen * fixed alignment for (non-)lazy symbol sections 2009-11-10 10:43:15 +00:00
sparc * merged armthum branch 2009-10-04 09:03:44 +00:00
systems * Use ELF assembler for i386/Solaris target 2009-11-18 10:50:11 +00:00
utils + Add target_x86_64_solaris constant 2009-11-20 10:51:02 +00:00
vis
x86 - removed aitconst_indirect_symbol, replaced with tai_directive 2009-11-12 19:39:41 +00:00
x86_64 + Register Solaris 2009-11-20 11:05:09 +00:00
aasmbase.pas * changed assembler directives for darwin lazy/non-lazy symbol pointers 2009-11-09 22:20:01 +00:00
aasmdata.pas * fixed alignment for (non-)lazy symbol sections 2009-11-10 10:43:15 +00:00
aasmsym.pas
aasmtai.pas - removed aitconst_indirect_symbol, replaced with tai_directive 2009-11-12 19:39:41 +00:00
aggas.pas - removed aitconst_indirect_symbol, replaced with tai_directive 2009-11-12 19:39:41 +00:00
aopt.pas
aoptbase.pas
aoptcs.pas
aoptda.pas
aoptobj.pas
assemble.pas
browcol.pas
bsdcompile
catch.pas
ccharset.pas
cclasses.pas
cfidwarf.pas
cfileutl.pas
cg64f32.pas
cgbase.pas * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
cgobj.pas * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
cgutils.pas * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
cmsgs.pas
comphook.pas
compiler.pas
compinnr.inc
comprsrc.pas
constexp.pas
COPYING.txt
cp437.pas
cp850.pas
cp866.pas
cp1251.pas
cp8859_1.pas
cp8859_5.pas
crefs.pas * more properties fixed 2009-11-12 18:11:10 +00:00
cresstr.pas
cstreams.pas
cutils.pas
dbgbase.pas * always immediately reset isdbgwritten for syms in the parasymtable, 2009-11-18 22:31:08 +00:00
dbgdwarf.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
dbgstabs.pas * fixed stabs debug information for parameters copied into local variables 2009-10-06 13:51:16 +00:00
defcmp.pas * several fixes which improve the behaviour of nested generics, resolves #15077 2009-11-14 22:24:55 +00:00
defutil.pas
export.pas
expunix.pas * create/destroy codegen before/after generating exports, because it's 2009-11-15 11:19:09 +00:00
finput.pas
fmodule.pas
fpccrc.pas
fpcdefs.inc * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
fppu.pas
gendef.pas
globals.pas * started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk 2009-11-19 22:07:10 +00:00
globtype.pas
htypechk.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
impdef.pas
import.pas
link.pas
Makefile * fix problem when svn is not found and add phony revision rule 2009-11-06 16:46:48 +00:00
Makefile.fpc * fix problem when svn is not found and add phony revision rule 2009-11-06 16:46:48 +00:00
MPWMake
msgidx.inc + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
msgtxt.inc + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
nadd.pas
nbas.pas
ncal.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
ncgadd.pas
ncgbas.pas
ncgcal.pas
ncgcnv.pas
ncgcon.pas * fixed (harmless) range error in cross-endian crosscompiling code for 2009-10-01 12:08:30 +00:00
ncgflw.pas
ncginl.pas
ncgld.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
ncgmat.pas
ncgmem.pas
ncgobjc.pas
ncgopt.pas
ncgrtti.pas
ncgset.pas * fixed in-code for big endian systems and smallsets < 4 bytes 2009-11-17 22:05:12 +00:00
ncgutil.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
ncnv.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
ncon.pas o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
nflw.pas compiler: for-in loop: fix temporary array range type 2009-11-07 10:56:54 +00:00
ninl.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
nld.pas
nmat.pas
nmem.pas
nobj.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
nobjc.pas
node.pas
nopt.pas
nset.pas o patch by Michael Denisenko, resolves #14734: 2009-10-09 20:40:22 +00:00
nstate.pas
nutils.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
objcgutl.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
objcutil.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
ogbase.pas * changed assembler directives for darwin lazy/non-lazy symbol pointers 2009-11-09 22:20:01 +00:00
ogcoff.pas * changed assembler directives for darwin lazy/non-lazy symbol pointers 2009-11-09 22:20:01 +00:00
ogelf.pas * Use ELF assembler for i386/Solaris target 2009-11-18 10:50:11 +00:00
oglx.pas
ogmap.pas
optbase.pas
optcse.pas
optdead.pas
optdfa.pas
options.pas compiler: add fpc_has_operator_enumerator define 2009-11-14 11:19:07 +00:00
optloop.pas
opttail.pas
optutils.pas
optvirt.pas
owar.pas
owbase.pas
parabase.pas
paramgr.pas
parser.pas
pass_1.pas
pass_2.pas * fix compilation with -dEXTDEBUG 2009-11-15 18:26:50 +00:00
pbase.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
pdecl.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
pdecobj.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
pdecsub.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
pdecvar.pas Allow negative offset in segment:offset declarations, if the resulting 2009-11-07 14:38:13 +00:00
pexports.pas
pexpr.pas * let search_class_helper() only return class helper methods; it could 2009-11-18 21:49:57 +00:00
pinline.pas
pmodules.pas
pp.lpi revert occasionally committed pp.lpi 2009-11-05 03:34:06 +00:00
pp.pas
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi
ppcavr.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas * finished basic support for calling methods from external C++ classes 2009-11-15 14:55:40 +00:00
ppx86_64.lpi
procinfo.pas
pstatmnt.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
psub.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
psystem.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
ptconst.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
ptype.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
raatt.pas
rabase.pas
rasm.pas
rautils.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas
scandir.pas
scanner.pas * set default set packing to 1 for TP/Delphi mode (mantis #15088) 2009-11-14 23:54:10 +00:00
script.pas
switches.pas
symbase.pas
symconst.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
symdef.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
symnot.pas
symsym.pas * merged r13762-14047 from trunk 2009-11-04 15:50:26 +00:00
symtable.pas * let search_class_helper() only return class helper methods; it could 2009-11-18 21:49:57 +00:00
symtype.pas merge revisions 13898-13899: 2009-11-01 14:06:30 +00:00
symutil.pas
systems.pas + Add target_x86_64_solaris constant 2009-11-20 10:51:02 +00:00
tgobj.pas
tokens.pas + Objective-C category support (old and new ABI, both external and 2009-11-16 00:12:08 +00:00
verbose.pas
version.pas
widestr.pas
wpo.pas
wpobase.pas
wpoinfo.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 haiku
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
  cpu64bitaddr        The targets use a 64-bit address space (pointers and
                       the default integer type are 64 bit)
  cpu64bitalu         The target cpu has 64-bit registers available (unless
                       cpu64bitaddr is also defined, pointers and default
                       integer type remain 32 bit, but the cpu can perform
                       64 bit calculations directly without needing helpers)
  -----------------------------------------------------------------

  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