peter 61745c2e37 * retag for unitrw 20 年之前
..
alpha 61745c2e37 * retag for unitrw 20 年之前
arm 61745c2e37 * retag for unitrw 20 年之前
html 61745c2e37 * retag for unitrw 20 年之前
i386 61745c2e37 * retag for unitrw 20 年之前
ia64 61745c2e37 * retag for unitrw 20 年之前
m68k 61745c2e37 * retag for unitrw 20 年之前
mips 61745c2e37 * retag for unitrw 20 年之前
msg 61745c2e37 * retag for unitrw 20 年之前
powerpc 61745c2e37 * retag for unitrw 20 年之前
powerpc64 61745c2e37 * retag for unitrw 20 年之前
sparc 61745c2e37 * retag for unitrw 20 年之前
systems 61745c2e37 * retag for unitrw 20 年之前
utils 61745c2e37 * retag for unitrw 20 年之前
vis 61745c2e37 * retag for unitrw 20 年之前
x86 61745c2e37 * retag for unitrw 20 年之前
x86_64 61745c2e37 * retag for unitrw 20 年之前
COPYING 61745c2e37 * retag for unitrw 20 年之前
MPWMake 61745c2e37 * retag for unitrw 20 年之前
Makefile 61745c2e37 * retag for unitrw 20 年之前
Makefile.fpc 61745c2e37 * retag for unitrw 20 年之前
README 61745c2e37 * retag for unitrw 20 年之前
aasmbase.pas 61745c2e37 * retag for unitrw 20 年之前
aasmtai.pas 61745c2e37 * retag for unitrw 20 年之前
aggas.pas 61745c2e37 * retag for unitrw 20 年之前
aopt.pas 61745c2e37 * retag for unitrw 20 年之前
aoptbase.pas 61745c2e37 * retag for unitrw 20 年之前
aoptcs.pas 61745c2e37 * retag for unitrw 20 年之前
aoptda.pas 61745c2e37 * retag for unitrw 20 年之前
aoptobj.pas 61745c2e37 * retag for unitrw 20 年之前
assemble.pas 61745c2e37 * retag for unitrw 20 年之前
browcol.pas 61745c2e37 * retag for unitrw 20 年之前
browlog.pas 61745c2e37 * retag for unitrw 20 年之前
bsdcompile 61745c2e37 * retag for unitrw 20 年之前
catch.pas 61745c2e37 * retag for unitrw 20 年之前
cclasses.pas 61745c2e37 * retag for unitrw 20 年之前
cg64f32.pas 61745c2e37 * retag for unitrw 20 年之前
cgbase.pas 61745c2e37 * retag for unitrw 20 年之前
cgobj.pas 61745c2e37 * retag for unitrw 20 年之前
cgutils.pas 61745c2e37 * retag for unitrw 20 年之前
charset.pas 61745c2e37 * retag for unitrw 20 年之前
cmsgs.pas 61745c2e37 * retag for unitrw 20 年之前
comphook.pas 61745c2e37 * retag for unitrw 20 年之前
compiler.pas 61745c2e37 * retag for unitrw 20 年之前
compinnr.inc 61745c2e37 * retag for unitrw 20 年之前
comprsrc.pas 61745c2e37 * retag for unitrw 20 年之前
cp437.pas 61745c2e37 * retag for unitrw 20 年之前
cp850.pas 61745c2e37 * retag for unitrw 20 年之前
cp8859_1.pas 61745c2e37 * retag for unitrw 20 年之前
crc.pas 61745c2e37 * retag for unitrw 20 年之前
cresstr.pas 61745c2e37 * retag for unitrw 20 年之前
cstreams.pas 61745c2e37 * retag for unitrw 20 年之前
cutils.pas 61745c2e37 * retag for unitrw 20 年之前
dbgbase.pas 61745c2e37 * retag for unitrw 20 年之前
dbgdwarf.pas 61745c2e37 * retag for unitrw 20 年之前
dbgstabs.pas 61745c2e37 * retag for unitrw 20 年之前
defcmp.pas 61745c2e37 * retag for unitrw 20 年之前
defutil.pas 61745c2e37 * retag for unitrw 20 年之前
dwarf.pas 61745c2e37 * retag for unitrw 20 年之前
export.pas 61745c2e37 * retag for unitrw 20 年之前
finput.pas 61745c2e37 * retag for unitrw 20 年之前
fmodule.pas 61745c2e37 * retag for unitrw 20 年之前
fpcdefs.inc 61745c2e37 * retag for unitrw 20 年之前
fppu.pas 61745c2e37 * retag for unitrw 20 年之前
gendef.pas 61745c2e37 * retag for unitrw 20 年之前
globals.pas 61745c2e37 * retag for unitrw 20 年之前
globtype.pas 61745c2e37 * retag for unitrw 20 年之前
htypechk.pas 61745c2e37 * retag for unitrw 20 年之前
impdef.pas 61745c2e37 * retag for unitrw 20 年之前
import.pas 61745c2e37 * retag for unitrw 20 年之前
link.pas 61745c2e37 * retag for unitrw 20 年之前
make_old.cmd 61745c2e37 * retag for unitrw 20 年之前
mdppc386.bat 61745c2e37 * retag for unitrw 20 年之前
mppc386.bat 61745c2e37 * retag for unitrw 20 年之前
mppc68k.bat 61745c2e37 * retag for unitrw 20 年之前
mppcsparc 61745c2e37 * retag for unitrw 20 年之前
msgidx.inc 61745c2e37 * retag for unitrw 20 年之前
msgtxt.inc 61745c2e37 * retag for unitrw 20 年之前
nadd.pas 61745c2e37 * retag for unitrw 20 年之前
nbas.pas 61745c2e37 * retag for unitrw 20 年之前
ncal.pas 61745c2e37 * retag for unitrw 20 年之前
ncgadd.pas 61745c2e37 * retag for unitrw 20 年之前
ncgbas.pas 61745c2e37 * retag for unitrw 20 年之前
ncgcal.pas 61745c2e37 * retag for unitrw 20 年之前
ncgcnv.pas 61745c2e37 * retag for unitrw 20 年之前
ncgcon.pas 61745c2e37 * retag for unitrw 20 年之前
ncgflw.pas 61745c2e37 * retag for unitrw 20 年之前
ncginl.pas 61745c2e37 * retag for unitrw 20 年之前
ncgld.pas 61745c2e37 * retag for unitrw 20 年之前
ncgmat.pas 61745c2e37 * retag for unitrw 20 年之前
ncgmem.pas 61745c2e37 * retag for unitrw 20 年之前
ncgopt.pas 61745c2e37 * retag for unitrw 20 年之前
ncgset.pas 61745c2e37 * retag for unitrw 20 年之前
ncgutil.pas 61745c2e37 * retag for unitrw 20 年之前
ncnv.pas 61745c2e37 * retag for unitrw 20 年之前
ncon.pas 61745c2e37 * retag for unitrw 20 年之前
nflw.pas 61745c2e37 * retag for unitrw 20 年之前
ninl.pas 61745c2e37 * retag for unitrw 20 年之前
nld.pas 61745c2e37 * retag for unitrw 20 年之前
nmat.pas 61745c2e37 * retag for unitrw 20 年之前
nmem.pas 61745c2e37 * retag for unitrw 20 年之前
nobj.pas 61745c2e37 * retag for unitrw 20 年之前
node.pas 61745c2e37 * retag for unitrw 20 年之前
nopt.pas 61745c2e37 * retag for unitrw 20 年之前
nset.pas 61745c2e37 * retag for unitrw 20 年之前
nstate.pas 61745c2e37 * retag for unitrw 20 年之前
nutils.pas 61745c2e37 * retag for unitrw 20 年之前
ogbase.pas 61745c2e37 * retag for unitrw 20 年之前
ogcoff.pas 61745c2e37 * retag for unitrw 20 年之前
ogelf.pas 61745c2e37 * retag for unitrw 20 年之前
oglx.pas 61745c2e37 * retag for unitrw 20 年之前
ogmap.pas 61745c2e37 * retag for unitrw 20 年之前
optcse.pas 61745c2e37 * retag for unitrw 20 年之前
options.pas 61745c2e37 * retag for unitrw 20 年之前
optunrol.pas 61745c2e37 * retag for unitrw 20 年之前
owar.pas 61745c2e37 * retag for unitrw 20 年之前
owbase.pas 61745c2e37 * retag for unitrw 20 年之前
parabase.pas 61745c2e37 * retag for unitrw 20 年之前
paramgr.pas 61745c2e37 * retag for unitrw 20 年之前
parser.pas 61745c2e37 * retag for unitrw 20 年之前
pass_1.pas 61745c2e37 * retag for unitrw 20 年之前
pass_2.pas 61745c2e37 * retag for unitrw 20 年之前
pbase.pas 61745c2e37 * retag for unitrw 20 年之前
pdecl.pas 61745c2e37 * retag for unitrw 20 年之前
pdecobj.pas 61745c2e37 * retag for unitrw 20 年之前
pdecsub.pas 61745c2e37 * retag for unitrw 20 年之前
pdecvar.pas 61745c2e37 * retag for unitrw 20 年之前
pexports.pas 61745c2e37 * retag for unitrw 20 年之前
pexpr.pas 61745c2e37 * retag for unitrw 20 年之前
pinline.pas 61745c2e37 * retag for unitrw 20 年之前
pmodules.pas 61745c2e37 * retag for unitrw 20 年之前
pp.lpi 61745c2e37 * retag for unitrw 20 年之前
pp.pas 61745c2e37 * retag for unitrw 20 年之前
ppc.cfg 61745c2e37 * retag for unitrw 20 年之前
ppc.conf 61745c2e37 * retag for unitrw 20 年之前
ppc.dof 61745c2e37 * retag for unitrw 20 年之前
ppc.dpr 61745c2e37 * retag for unitrw 20 年之前
ppheap.pas 61745c2e37 * retag for unitrw 20 年之前
ppu.pas 61745c2e37 * retag for unitrw 20 年之前
procinfo.pas 61745c2e37 * retag for unitrw 20 年之前
pstatmnt.pas 61745c2e37 * retag for unitrw 20 年之前
psub.pas 61745c2e37 * retag for unitrw 20 年之前
psystem.pas 61745c2e37 * retag for unitrw 20 年之前
ptconst.pas 61745c2e37 * retag for unitrw 20 年之前
ptype.pas 61745c2e37 * retag for unitrw 20 年之前
raatt.pas 61745c2e37 * retag for unitrw 20 年之前
rabase.pas 61745c2e37 * retag for unitrw 20 年之前
rasm.pas 61745c2e37 * retag for unitrw 20 年之前
rautils.pas 61745c2e37 * retag for unitrw 20 年之前
regvars.pas 61745c2e37 * retag for unitrw 20 年之前
rgbase.pas 61745c2e37 * retag for unitrw 20 年之前
rgobj.pas 61745c2e37 * retag for unitrw 20 年之前
scandir.pas 61745c2e37 * retag for unitrw 20 年之前
scanner.pas 61745c2e37 * retag for unitrw 20 年之前
script.pas 61745c2e37 * retag for unitrw 20 年之前
switches.pas 61745c2e37 * retag for unitrw 20 年之前
symbase.pas 61745c2e37 * retag for unitrw 20 年之前
symconst.pas 61745c2e37 * retag for unitrw 20 年之前
symdef.pas 61745c2e37 * retag for unitrw 20 年之前
symnot.pas 61745c2e37 * retag for unitrw 20 年之前
symsym.pas 61745c2e37 * retag for unitrw 20 年之前
symtable.pas 61745c2e37 * retag for unitrw 20 年之前
symtype.pas 61745c2e37 * retag for unitrw 20 年之前
symutil.pas 61745c2e37 * retag for unitrw 20 年之前
systems.pas 61745c2e37 * retag for unitrw 20 年之前
tgobj.pas 61745c2e37 * retag for unitrw 20 年之前
tokens.pas 61745c2e37 * retag for unitrw 20 年之前
verbose.pas 61745c2e37 * retag for unitrw 20 年之前
version.pas 61745c2e37 * retag for unitrw 20 年之前
widestr.pas 61745c2e37 * retag for unitrw 20 年之前

README

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