fpc/compiler
peter 757ed4e8d3 * standard assembler reader for i386
git-svn-id: trunk@235 -
2005-06-07 13:20:14 +00:00
..
alpha * remove $Log 2005-06-07 09:47:55 +00:00
arm * remove $Log 2005-06-07 09:47:55 +00:00
html
i386 * standard assembler reader for i386 2005-06-07 13:20:14 +00:00
ia64 * log and id tags removed 2005-05-21 09:42:41 +00:00
m68k * remove $Log 2005-06-07 09:47:55 +00:00
mips * remove $Log 2005-06-07 09:47:55 +00:00
msg * remove $Log 2005-06-07 09:47:55 +00:00
powerpc * remove $Log 2005-06-07 09:47:55 +00:00
sparc * remove $Log 2005-06-07 09:47:55 +00:00
systems * renamed windows related units from win32 to win so it can contain ce and 64 bit stuff 2005-06-05 13:42:35 +00:00
utils * remove $Log 2005-06-07 09:47:55 +00:00
vis * log and id tags removed 2005-05-21 09:42:41 +00:00
x86 * remove $Log 2005-06-07 09:47:55 +00:00
x86_64 * remove $Log 2005-06-07 09:47:55 +00:00
aasmbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aasmtai.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aggas.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aopt.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aoptbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aoptcs.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aoptda.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
aoptobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
assemble.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
browcol.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
browlog.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
bsdcompile
catch.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cclasses.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cg64f32.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cgbase.pas * fixed a lot of stuff for fpu/mm register variables 2005-06-04 21:23:15 +00:00
cgobj.pas + before calling a helper procedure, all register classes are now saved, this patch is subject to being merged back 2005-06-05 08:12:33 +00:00
cgutils.pas * fixed a lot of stuff for fpu/mm register variables 2005-06-04 21:23:15 +00:00
charset.pas * fixed crash with empty codepage 2005-06-07 12:52:01 +00:00
cmsgs.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
comphook.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
compiler.pas * renamed windows related units from win32 to win so it can contain ce and 64 bit stuff 2005-06-05 13:42:35 +00:00
compinnr.inc * remove $Log 2005-06-07 09:47:55 +00:00
comprsrc.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
COPYING
cp437.pas
cp850.pas
cp8859_1.pas
crc.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cresstr.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cstreams.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
cutils.pas * some warning about uninitialized vars fixed by using out instead of var 2005-05-29 15:18:30 +00:00
defcmp.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
defutil.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
dwarf.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
export.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
finput.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
fmodule.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
fpcdefs.inc * remove $Log 2005-06-07 09:47:55 +00:00
fppu.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
gdb.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
gendef.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
globals.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
globtype.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
htypechk.pas * allow temp strings to be passed to consts in delphi mode 2005-06-07 12:48:00 +00:00
impdef.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
import.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
link.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
make_old.cmd
Makefile * create dirs before compiling msg2inc 2005-05-18 20:41:14 +00:00
Makefile.fpc * create dirs before compiling msg2inc 2005-05-18 20:41:14 +00:00
mdppc386.bat
mppc68k.bat
mppc386.bat
mppcsparc
MPWMake * Bugfix 2005-04-03 08:48:58 +00:00
msgidx.inc + output of supported instruction sets in info page 2005-05-05 14:53:55 +00:00
msgtxt.inc + output of supported instruction sets in info page 2005-05-05 14:53:55 +00:00
nadd.pas * initialisation of global mm register variables 2005-06-05 10:40:20 +00:00
nbas.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncal.pas + started with refactoring det_resulttype 2005-05-29 15:15:38 +00:00
ncgadd.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncgbas.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncgcal.pas + before calling a helper procedure, all register classes are now saved, this patch is subject to being merged back 2005-06-05 08:12:33 +00:00
ncgcnv.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncgcon.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncgflw.pas + before calling a helper procedure, all register classes are now saved, this patch is subject to being merged back 2005-06-05 08:12:33 +00:00
ncginl.pas + before calling a helper procedure, all register classes are now saved, this patch is subject to being merged back 2005-06-05 08:12:33 +00:00
ncgld.pas + before calling a helper procedure, all register classes are now saved, this patch is subject to being merged back 2005-06-05 08:12:33 +00:00
ncgmat.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncgmem.pas + before calling a helper procedure, all register classes are now saved, this patch is subject to being merged back 2005-06-05 08:12:33 +00:00
ncgopt.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncgset.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncgutil.pas * initialisation of global mm register variables 2005-06-05 10:40:20 +00:00
ncnv.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ncon.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
nflw.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ninl.pas * insert typeconv to ptrint for all inc(pointer) operations 2005-05-29 19:17:31 +00:00
nld.pas * array of const for classes fixed, was broken by r10 2005-05-30 18:44:42 +00:00
nmat.pas + nmat refactored to have simplify 2005-05-29 16:00:51 +00:00
nmem.pas * arrays now use the native int type as index 2005-05-21 14:48:15 +00:00
nobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
node.pas + started with refactoring det_resulttype 2005-05-29 15:15:38 +00:00
nopt.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
nset.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
nstate.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
nutils.pas * foreachnodestatic extended so it can do pre processing of child nodes 2005-06-05 12:41:19 +00:00
ogbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ogcoff.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ogelf.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
oglx.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ogmap.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
options.pas * fixed a lot of stuff for fpu/mm register variables 2005-06-04 21:23:15 +00:00
owar.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
owbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
parabase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
paramgr.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
parser.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pass_1.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pass_2.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pdecl.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pdecobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pdecsub.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pdecvar.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pexports.pas * win32 dll smartlink patch from Pavel V. Ozerski 2005-06-03 11:39:57 +00:00
pexpr.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pinline.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pmodules.pas * win32 dll smartlink patch from Pavel V. Ozerski 2005-06-03 11:39:57 +00:00
pp.lpi * overloading of assignment operator by different unique result types now possible 2005-04-28 19:32:11 +00:00
pp.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ppc.cfg
ppc.conf
ppc.dof
ppc.dpr * remove $Log 2005-06-07 09:47:55 +00:00
ppheap.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ppu.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
procinfo.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
pstatmnt.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
psub.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
psystem.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ptconst.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
ptype.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
raatt.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rabase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rasm.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rautils.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
README
regvars.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rgbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
rgobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
scandir.pas + $WARN directive implemented fixes bug #3939 2005-05-22 11:57:24 +00:00
scanner.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
script.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
switches.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
symbase.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
symconst.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
symdef.pas * fixed a lot of stuff for fpu/mm register variables 2005-06-04 21:23:15 +00:00
symnot.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
symsym.pas * fixed a lot of stuff for fpu/mm register variables 2005-06-04 21:23:15 +00:00
symtable.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
symtype.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
symutil.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
systems.pas made m68k to compile again 2005-06-05 13:07:13 +00:00
tgobj.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
tokens.pas + tokens for packages added 2005-05-24 19:50:09 +00:00
verbose.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
version.pas * log and id tags removed 2005-05-21 09:42:41 +00:00
widestr.pas * some warning about uninitialized vars fixed by using out instead of var 2005-05-29 15:18:30 +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