mazen a1e416bb22 * use SysUtils unit instead of Dos Unit преди 21 години
..
alpha 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to преди 21 години
arm 8b3e00244f * length parameter for copyvaluearray changed to tlocation преди 21 години
html fa0d3d79e0 no message преди 23 години
i386 60c73cc0e5 * -Or fixes for open array преди 21 години
ia64 8a9758c5e2 * logs truncated преди 21 години
m68k 66df745917 * small regvar for para fixes преди 21 години
msg 5df0c00360 * better PathExists, fix for too long command line, correction of message преди 21 години
new 8a9758c5e2 * logs truncated преди 21 години
powerpc 99c6740d7d * include pi_do_call if we generate a call instead of internalerroring преди 21 години
sparc d6bffaf5c6 * fixed sparc compile преди 21 години
systems ef6c8dc443 * small updates to make playing with sparc/sunos easier преди 21 години
utils 5d088845d3 + added -h option to show help преди 21 години
vis 8a9758c5e2 * logs truncated преди 21 години
x86 c853d10cc2 * optimized spilling writing when the reg operand can be преди 21 години
x86_64 60c73cc0e5 * -Or fixes for open array преди 21 години
Makefile 458e3c3780 * makefiles regenerated преди 21 години
Makefile.fpc 151478584c * fpcfan copy paste error (ifdef x86_64 should be arm) преди 21 години
README 012af1131e * updated to help compiling the compiler преди 22 години
aasmbase.pas 1d846baf9e * fixed relabeling properly now :) преди 21 години
aasmtai.pas f5471aef6e * more spilling rewrites преди 21 години
aggas.pas a8bf3670d5 * Merge is complete for this file, cycles ! преди 21 години
aopt.pas 8a9758c5e2 * logs truncated преди 21 години
aoptbase.pas 8a9758c5e2 * logs truncated преди 21 години
aoptcs.pas 8a9758c5e2 * logs truncated преди 21 години
aoptda.pas 8a9758c5e2 * logs truncated преди 21 години
aoptobj.pas 8a9758c5e2 * logs truncated преди 21 години
assemble.pas 7321a78e1c * Merge is complete for this file, cycles ! преди 21 години
browcol.pas 8a0fb3becf * use SysUtils unit instead of Dos Unit преди 21 години
browlog.pas 8a9758c5e2 * logs truncated преди 21 години
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build преди 25 години
catch.pas be837c0f23 + Added argument to Stop преди 21 години
cclasses.pas ec720a5800 * insertlistbefore added преди 21 години
cg64f32.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to преди 21 години
cg64f64.pas 8a9758c5e2 * logs truncated преди 21 години
cgbase.pas 9e879f3931 * fix clearing of superregset (from Peter) преди 21 години
cgobj.pas 60c73cc0e5 * -Or fixes for open array преди 21 години
cgutils.pas fabb9c33ac * top_symbol killed преди 21 години
charset.pas 8a9758c5e2 * logs truncated преди 21 години
cmsgs.pas 8a9758c5e2 * logs truncated преди 21 години
comphook.pas e795e5c581 * use SysUtils unit instead of Dos Unit преди 21 години
compiler.pas a1e416bb22 * use SysUtils unit instead of Dos Unit преди 21 години
compinnr.inc ff36adb056 + macpas style: exit, cycle, leave преди 21 години
comprsrc.pas f37082e5ca * Merge is complete for this file, cycles ! преди 21 години
cp437.pas effb0aae89 - remove compilation warnings преди 22 години
cp850.pas effb0aae89 - remove compilation warnings преди 22 години
cp8859_1.pas effb0aae89 - remove compilation warnings преди 22 години
crc.pas 8a9758c5e2 * logs truncated преди 21 години
cresstr.pas b3e3030e6f * remove maxlen field from ansistring/widestrings преди 21 години
cstreams.pas 8a9758c5e2 * logs truncated преди 21 години
cutils.pas 573ff47a1e * use SysUtils unit instead of Dos Unit преди 21 години
defcmp.pas e1278ec66f * prefer pchar-string over pchar-pointer преди 21 години
defutil.pas 1eb575fa22 * fixed longbool(<int64>) on sparc преди 21 години
depend e525797c51 * updated copyright to 2000 преди 25 години
dmisc.pas 8a9758c5e2 * logs truncated преди 21 години
dwarf.pas 8a9758c5e2 * logs truncated преди 21 години
export.pas 8a9758c5e2 * logs truncated преди 21 години
finput.pas ff069c5ecc + Patch from Christian Iversen to implement LIBPREFIX/SUFFIX/EXTENSION directives преди 21 години
fmodule.pas b24163cef6 * use realmodulename in unit not used msg преди 21 години
fpcdefs.inc 28e0869e6f - disabled oldregvars because it no longer compiles преди 21 години
fppu.pas e32eac8468 * remove check for shortunitname, it broke units with 8 and 9 chars преди 21 години
gdb.pas 8a9758c5e2 * logs truncated преди 21 години
gendef.pas 8a9758c5e2 * logs truncated преди 21 години
globals.pas 044ec56b56 * default optimization cpu changed to CLassPentium3 преди 21 години
globtype.pas 70fd9e8c81 + Needed types aliases to merge USE_SYSUTILS branch преди 21 години
htypechk.pas 6ffca1688e * fixed visibility for procsyms преди 21 години
impdef.pas 8a9758c5e2 * logs truncated преди 21 години
import.pas 8a9758c5e2 * logs truncated преди 21 години
link.pas cdd920623b * Merge is complete for this file, cycles ! преди 21 години
make_old.cmd 918d797b20 * make.cmd renamed to make_old.cmd преди 24 години
mdppc386.bat 1f4bac4fd0 * delphi fixes преди 24 години
mppc386.bat 07ad807864 * added -FE. to put the PPU's in the compiler dir преди 25 години
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit преди 27 години
mppcsparc 72556ae39f * fix compile problem преди 21 години
msgidx.inc 5df0c00360 * better PathExists, fix for too long command line, correction of message преди 21 години
msgtxt.inc 5df0c00360 * better PathExists, fix for too long command line, correction of message преди 21 години
nadd.pas 33a834821f * paraloc branch merged преди 21 години
nbas.pas 560a790a57 * gen high tree makes copy in temp when there is a calln преди 21 години
ncal.pas 560a790a57 * gen high tree makes copy in temp when there is a calln преди 21 години
ncgadd.pas 15d3388449 * fixed more sparc overflow stuff преди 21 години
ncgbas.pas 8fb3536f6e * simple regvar support, not yet finished преди 21 години
ncgcal.pas 0573c742e4 * passing a var parameter to var parameter is now also allowed преди 21 години
ncgcnv.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to преди 21 години
ncgcon.pas 120c165a62 * constant floating point assignments etc. are now overflow checked преди 21 години
ncgflw.pas 8fb3536f6e * simple regvar support, not yet finished преди 21 години
ncginl.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to преди 21 години
ncgld.pas 0573c742e4 * passing a var parameter to var parameter is now also allowed преди 21 години
ncgmat.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to преди 21 години
ncgmem.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to преди 21 години
ncgopt.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to преди 21 години
ncgset.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to преди 21 години
ncgutil.pas 60c73cc0e5 * -Or fixes for open array преди 21 години
ncnv.pas f1ae6fb6d4 * give error when converting class to interface are not related преди 21 години
ncon.pas 8a9758c5e2 * logs truncated преди 21 години
nflw.pas 67548d9f91 * for loop variable assignment is not allowed anymore преди 21 години
ninl.pas 4978a7635a * another fix for reading of subranges преди 21 години
nld.pas b5d1220bef * fixed crash when current_procinfo was not yet available преди 21 години
nmat.pas 8a9758c5e2 * logs truncated преди 21 години
nmem.pas 8fb3536f6e * simple regvar support, not yet finished преди 21 години
nobj.pas 6ffca1688e * fixed visibility for procsyms преди 21 години
node.pas 8a9758c5e2 * logs truncated преди 21 години
nopt.pas 8a9758c5e2 * logs truncated преди 21 години
nset.pas 8a9758c5e2 * logs truncated преди 21 години
nstate.pas 8a9758c5e2 * logs truncated преди 21 години
nutils.pas 5906d4a967 * fix possible wrong typecast преди 21 години
ogbase.pas 8a9758c5e2 * logs truncated преди 21 години
ogcoff.pas 1654d9ad27 don't use .rodata, it doesn't work yet преди 21 години
ogelf.pas 04cce65ea2 * .rodata section support, disabled by default since it doesn't work преди 21 години
oglx.pas 8a9758c5e2 * logs truncated преди 21 години
ogmap.pas 8a9758c5e2 * logs truncated преди 21 години
options.pas 75363a20b0 * Merge is complete for this file, cycles ! преди 21 години
owar.pas 8a9758c5e2 * logs truncated преди 21 години
owbase.pas 8a9758c5e2 * logs truncated преди 21 години
parabase.pas b0c25b50a0 * symtable allocation rewritten преди 21 години
paramgr.pas 65c3ba277c * ungetregister is now only used for cpuregisters, renamed to преди 21 години
parser.pas 8a9758c5e2 * logs truncated преди 21 години
pass_1.pas 8a9758c5e2 * logs truncated преди 21 години
pass_2.pas 8a9758c5e2 * logs truncated преди 21 години
pbase.pas fe54af8f82 * finally is an "endtoken" as well преди 21 години
pdecl.pas 6096fe0789 * use realname in error msg преди 21 години
pdecobj.pas ade0fde929 allow published for constructors преди 21 години
pdecsub.pas d288070a7a * mark non-regable after calling convention is set преди 21 години
pdecvar.pas 560a790a57 * gen high tree makes copy in temp when there is a calln преди 21 години
pexports.pas 8a9758c5e2 * logs truncated преди 21 години
pexpr.pas 1bb51a2667 * all checking for visibility is now done by is_visible_for_object преди 21 години
pinline.pas 8a9758c5e2 * logs truncated преди 21 години
pmodules.pas ef7ae0eab1 * debuginfo fixes преди 21 години
pp.lpi e27d695e7c * Fix new command line parameters преди 21 години
pp.pas 8a9758c5e2 * logs truncated преди 21 години
ppc.cfg 9465a13e71 + Delphi 6 configuration file преди 23 години
ppc.conf add30a428e * Kylix fixes, mostly case names of units преди 24 години
ppc.dof 67486c96c3 * fixes for Delphi 6 compilation преди 23 години
ppc.dpr 67486c96c3 * fixes for Delphi 6 compilation преди 23 години
ppheap.pas 8a9758c5e2 * logs truncated преди 21 години
ppu.pas 33a834821f * paraloc branch merged преди 21 години
procinfo.pas 8a9758c5e2 * logs truncated преди 21 години
pstatmnt.pas 6180168a5a * register loopvarsym for fields instead of record variable преди 21 години
psub.pas b0c25b50a0 * symtable allocation rewritten преди 21 години
psystem.pas ff36adb056 + macpas style: exit, cycle, leave преди 21 години
ptconst.pas b3e3030e6f * remove maxlen field from ansistring/widestrings преди 21 години
ptype.pas 8a9758c5e2 * logs truncated преди 21 години
raatt.pas 8a9758c5e2 * logs truncated преди 21 години
rabase.pas 8a9758c5e2 * logs truncated преди 21 години
rasm.pas 8a9758c5e2 * logs truncated преди 21 години
rautils.pas 63cf4464d3 * tvarsym.varregable added, split vo_regable from varoptions преди 21 години
regvars.pas 8fb3536f6e * simple regvar support, not yet finished преди 21 години
rgbase.pas 8a9758c5e2 * logs truncated преди 21 години
rgobj.pas 60c73cc0e5 * -Or fixes for open array преди 21 години
scandir.pas 354004d803 * target netwlibc added (libc is preferred for newer netware versions) преди 21 години
scanner.pas 45e4998167 * Exchanged hardcoded "./" to CurDirRelPath преди 21 години
script.pas ef89703097 * minor fix for macos преди 21 години
switches.pas d763f9e142 browser disabled преди 21 години
symbase.pas a939095dbe * revert has_localst patch преди 21 години
symconst.pas 63cf4464d3 * tvarsym.varregable added, split vo_regable from varoptions преди 21 години
symdef.pas 4f7667488b * parameter regvar fixes преди 21 години
symnot.pas 8a9758c5e2 * logs truncated преди 21 години
symsym.pas c25b06a836 * fix misplaced begin..end for self stabs преди 21 години
symtable.pas 1bb51a2667 * all checking for visibility is now done by is_visible_for_object преди 21 години
symtype.pas 6ffca1688e * fixed visibility for procsyms преди 21 години
symutil.pas 8a9758c5e2 * logs truncated преди 21 години
systems.pas 354004d803 * target netwlibc added (libc is preferred for newer netware versions) преди 21 години
tgobj.pas 33a834821f * paraloc branch merged преди 21 години
tokens.pas 98df0978e1 + adding operators "|" and "&" for macpas преди 21 години
tpexcept.pas 8a9758c5e2 * logs truncated преди 21 години
verbose.pas 41f7fa8c37 + Check if outputdir exists, Fix exitcode when displaying help pages преди 21 години
version.pas 8a9758c5e2 * logs truncated преди 21 години
widestr.pas 8a9758c5e2 * logs truncated преди 21 години

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