Jonas Maebe 9639d2cf8e Merged revisions 390 via svnmerge from 20 years ago
..
alpha dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
arm dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
html fa0d3d79e0 no message 23 years ago
i386 b95991fbd7 Merged revisions 235 via svnmerge from 20 years ago
ia64 6434db35c2 * mime-type property in fixes branch set 20 years ago
m68k dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
mips dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
msg dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
powerpc a82b77cced Merged revisions 327 via svnmerge from 20 years ago
sparc dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
systems 6434db35c2 * mime-type property in fixes branch set 20 years ago
utils dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
vis 6434db35c2 * mime-type property in fixes branch set 20 years ago
x86 dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
x86_64 dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
COPYING d4b8a224a1 + Added license to this library 21 years ago
MPWMake f60d0b98b7 * Bugfix 20 years ago
Makefile 3de3e850eb Merged revisions 22 via svnmerge from 20 years ago
Makefile.fpc 3de3e850eb Merged revisions 22 via svnmerge from 20 years ago
README 012af1131e * updated to help compiling the compiler 22 years ago
aasmbase.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
aasmtai.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
aggas.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
aopt.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
aoptbase.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
aoptcs.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
aoptda.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
aoptobj.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
assemble.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
browcol.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
browlog.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 years ago
catch.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
cclasses.pas d5b5b31afb + Merged revision 335 20 years ago
cg64f32.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
cgbase.pas d5b5b31afb + Merged revision 335 20 years ago
cgobj.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
cgutils.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
charset.pas 0fb9a5d30d Merged revisions 234 via svnmerge from 20 years ago
cmsgs.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
comphook.pas d5b5b31afb + Merged revision 335 20 years ago
compiler.pas d5b5b31afb + Merged revision 335 20 years ago
compinnr.inc dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
comprsrc.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
cp437.pas effb0aae89 - remove compilation warnings 23 years ago
cp850.pas effb0aae89 - remove compilation warnings 23 years ago
cp8859_1.pas effb0aae89 - remove compilation warnings 23 years ago
crc.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
cresstr.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
cstreams.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
cutils.pas 8ecb3adf40 Merged revisions 141 via svnmerge from 20 years ago
defcmp.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
defutil.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
dwarf.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
export.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
finput.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
fmodule.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
fpcdefs.inc d5b5b31afb + Merged revision 335 20 years ago
fppu.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
gdb.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
gendef.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
globals.pas c486b5f64d Merged revisions 384 via svnmerge from 20 years ago
globtype.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
htypechk.pas 2cb661c591 Merged revisions 28,38,48,56 via svnmerge from 20 years ago
impdef.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
import.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
link.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd 24 years ago
mdppc386.bat 1f4bac4fd0 * delphi fixes 24 years ago
mppc386.bat 07ad807864 * added -FE. to put the PPU's in the compiler dir 25 years ago
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit 27 years ago
mppcsparc 72556ae39f * fix compile problem 21 years ago
msgidx.inc 83fa3bd0cb + output of supported instruction sets in info page 20 years ago
msgtxt.inc 83fa3bd0cb + output of supported instruction sets in info page 20 years ago
nadd.pas f2c4cb9612 Merged revisions 203 via svnmerge from 20 years ago
nbas.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncal.pas 9639d2cf8e Merged revisions 390 via svnmerge from 20 years ago
ncgadd.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgbas.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgcal.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgcnv.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgcon.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgflw.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncginl.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgld.pas 50b9aa0e81 Merged revisions 154 via svnmerge from 20 years ago
ncgmat.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgmem.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgopt.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgset.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncgutil.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncnv.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ncon.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
nflw.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ninl.pas 2bfb4ae101 Merged revisions 144 via svnmerge from 20 years ago
nld.pas 50b9aa0e81 Merged revisions 154 via svnmerge from 20 years ago
nmat.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
nmem.pas 2cb661c591 Merged revisions 28,38,48,56 via svnmerge from 20 years ago
nobj.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
node.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
nopt.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
nset.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
nstate.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
nutils.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ogbase.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ogcoff.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ogelf.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
oglx.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ogmap.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
options.pas d5b5b31afb + Merged revision 335 20 years ago
owar.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
owbase.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
parabase.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
paramgr.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
parser.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pass_1.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pass_2.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pbase.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pdecl.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pdecobj.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pdecsub.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pdecvar.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pexports.pas bc237f7556 Merged revisions 182 via svnmerge from 20 years ago
pexpr.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pinline.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pmodules.pas bc237f7556 Merged revisions 182 via svnmerge from 20 years ago
pp.lpi f6442b758c * overloading of assignment operator by different unique result types now possible 20 years ago
pp.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ppc.cfg 9465a13e71 + Delphi 6 configuration file 23 years ago
ppc.conf add30a428e * Kylix fixes, mostly case names of units 24 years ago
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation 23 years ago
ppc.dpr dbf8134f0a Merged revisions 231 via svnmerge from 20 years ago
ppheap.pas d5b5b31afb + Merged revision 335 20 years ago
ppu.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
procinfo.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
pstatmnt.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
psub.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
psystem.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
ptconst.pas d5b5b31afb + Merged revision 335 20 years ago
ptype.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
raatt.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
rabase.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
rasm.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
rautils.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
regvars.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
rgbase.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
rgobj.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
scandir.pas 96ef8c053d Merged revisions 65 via svnmerge from 20 years ago
scanner.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
script.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
switches.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
symbase.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
symconst.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
symdef.pas c25b4742d1 Merged revisions 39 via svnmerge from 20 years ago
symnot.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
symsym.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
symtable.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
symtype.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
symutil.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
systems.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
tgobj.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
tokens.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
verbose.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
version.pas 6434db35c2 * mime-type property in fixes branch set 20 years ago
widestr.pas 8ecb3adf40 Merged revisions 141 via svnmerge from 20 years ago

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