fpc/compiler
Jonas Maebe c1305f046e * fixed hint for unused _cmd parameters after r13737
git-svn-id: branches/objc@13739 -
2009-09-18 11:58:17 +00:00
..
alpha
arm
avr
html
i386
ia64
m68k
mips
msg
powerpc
powerpc64
ppcgen
sparc
systems
utils
vis
x86 * fixed several omissions that could cause the dynamic linker not to 2009-09-08 16:05:41 +00:00
x86_64
aasmbase.pas
aasmdata.pas
aasmsym.pas
aasmtai.pas
aggas.pas
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 * made MorphOS build to cycle again: fixed path_absolute() for Amiga and MorphOS, and fixed AllFilesMask for MorphOS 2009-07-30 00:57:06 +00:00
cg64f32.pas
cgbase.pas
cgobj.pas
cgutils.pas - removed SUPPORT_UNALIGNED, FPC_SUPPORTS_UNALIGNED and FPC_UNALIGNED_FIXED 2009-08-23 07:51:26 +00:00
cmsgs.pas
comphook.pas
compiler.pas Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from 2008-12-11 17:40:18 +00:00
compinnr.inc
comprsrc.pas
constexp.pas
COPYING.txt
cp437.pas
cp850.pas
cp866.pas
cp1251.pas
cp8859_1.pas
cp8859_5.pas
crefs.pas
cresstr.pas
cstreams.pas
cutils.pas
dbgbase.pas
dbgdwarf.pas
dbgstabs.pas
defcmp.pas
defutil.pas Merged revisions 13627-13631,13637-13638,13640,13642-13648,13650-13653,13656-13658,13660,13664-13667,13672-13675,13680,13682,13687 via svnmerge from 2009-09-12 12:42:38 +00:00
export.pas
expunix.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
finput.pas
fmodule.pas
fpccrc.pas
fpcdefs.inc
fppu.pas
gendef.pas
globals.pas
globtype.pas
htypechk.pas
impdef.pas
import.pas
link.pas
Makefile
Makefile.fpc
MPWMake
msgidx.inc
msgtxt.inc
nadd.pas
nbas.pas
ncal.pas
ncgadd.pas
ncgbas.pas
ncgcal.pas
ncgcnv.pas
ncgcon.pas
ncgflw.pas
ncginl.pas
ncgld.pas
ncgmat.pas
ncgmem.pas
ncgobjc.pas
ncgopt.pas
ncgrtti.pas
ncgset.pas
ncgutil.pas
ncnv.pas
ncon.pas
nflw.pas
ninl.pas
nld.pas
nmat.pas
nmem.pas
nobj.pas
nobjc.pas
node.pas Merged revisions 13627-13631,13637-13638,13640,13642-13648,13650-13653,13656-13658,13660,13664-13667,13672-13675,13680,13682,13687 via svnmerge from 2009-09-12 12:42:38 +00:00
nopt.pas
nset.pas
nstate.pas
nutils.pas
objcgutl.pas + support for obj-c protocols implemented in Pascal (based on patch by 2009-09-17 14:24:01 +00:00
objcutil.pas
ogbase.pas
ogcoff.pas
ogelf.pas
oglx.pas
ogmap.pas
optbase.pas
optcse.pas * fixed some crashes 2007-09-20 22:28:54 +00:00
optdead.pas
optdfa.pas
options.pas * changed error about unsupported -Xr option into a warning, because the 2009-09-06 18:50:11 +00:00
optloop.pas * forbid passing derived classes to call by reference parent classes (for objects, this is still allowed), resolves #13135 2009-08-17 21:46:25 +00:00
opttail.pas
optutils.pas
optvirt.pas
owar.pas
owbase.pas
parabase.pas
paramgr.pas * fixed handling the result value of functions where the result type is 2009-09-12 12:21:34 +00:00
parser.pas * initialize allow_array_constructor for each compilation run, fixes probably #12283 2009-07-04 15:44:33 +00:00
pass_1.pas
pass_2.pas
pbase.pas + experimental directive, resolves #10833 2008-02-15 19:29:34 +00:00
pdecl.pas
pdecobj.pas
pdecsub.pas
pdecvar.pas
pexports.pas
pexpr.pas
pinline.pas
pmodules.pas
pp.lpi
pp.pas
ppc68k.lpi
ppc.cfg
ppc.conf
ppc.dof
ppcarm.lpi
ppcavr.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas
ppu.pas
ppx86_64.lpi
procinfo.pas
pstatmnt.pas
psub.pas
psystem.pas
ptconst.pas
ptype.pas
raatt.pas
rabase.pas
rasm.pas
rautils.pas * give an error when trying to use the offset of a non-byte-aligned field 2009-04-23 17:27:44 +00:00
README.txt
regvars.pas
rescmn.pas
rgbase.pas
rgobj.pas
scandir.pas
scanner.pas
script.pas + Made a single Amiga/MorphOS-specific PathConv import to cfileutl.pas, instead of importing it every single place it is needed. 2009-01-03 14:34:59 +00:00
switches.pas
symbase.pas
symconst.pas
symdef.pas
symnot.pas
symsym.pas
symtable.pas
symtype.pas
symutil.pas
systems.pas
tgobj.pas
tokens.pas
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