michael 94d0da0639 RTTI writing patch 26 лет назад
..
new 157bc635ce * Fixed bugs. 26 лет назад
utils bfe185d206 + KNI instructions 26 лет назад
Makefile 1fc54ed702 + No Intel and binary writer for linux=smaller executable 26 лет назад
README 96fdcfb1f2 * fix for DLL relocation problems 26 лет назад
aasm.pas 76a851a1d4 + cpu flags added, mainly for the new cg 26 лет назад
ag386att.pas 54baf96873 * first things to include lineinfo in the executable 26 лет назад
ag386bin.pas a2b790cfa7 * avoid double .edata section if using DLLTOOL 26 лет назад
ag386int.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
ag386nsm.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
ag68kgas.pas f986459350 * don't count ait_marker for lineinfo 27 лет назад
ag68kmit.pas 337f054764 section order changed to get closer output from coff writer 27 лет назад
ag68kmot.pas 58bfc3ac78 * some m68k fixes (still not compilable !) 27 лет назад
ag68kmpw.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
aopt386.pas 4590ff9524 + some comments 27 лет назад
assemble.pas 046acfb84b * made it compilable with Dlephi 4 again 26 лет назад
browcol.pas 63499d5cc5 * fixes from gabor 26 лет назад
browlog.pas ed8eb13d59 * moved bitmask constants to sets 26 лет назад
catch.pas 5d850161c0 * not stack check inside catch !! 26 лет назад
cg386add.pas 57cf1e75a7 * better fix for muln register allocation 26 лет назад
cg386cal.pas 793b28882f * classes vmt changed to only positive addresses 26 лет назад
cg386cnv.pas fdc1e9792c * some fixes for the floating point registers 26 лет назад
cg386con.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
cg386flw.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
cg386inl.pas aca546d6d2 * fpuvaroffset not increased for f32bit float type 26 лет назад
cg386ld.pas 19c48bf75b * arrayconstructor -> arrayofconst fixed when arraycosntructor was not 26 лет назад
cg386mat.pas e53aceb9be + floating point register variables !! 26 лет назад
cg386mem.pas da93a8740e * range check for array of const 26 лет назад
cg386set.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
cg68kadd.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
cg68kcal.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
cg68kcnv.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
cg68kcon.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
cg68kflw.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
cg68kinl.pas 5f410c2cd3 * all formaldefs are now a sinlge definition 27 лет назад
cg68kld.pas a5f0168fbb * wrong stabs info corrected once again !! 27 лет назад
cg68kmat.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
cg68kmem.pas 1b4990c597 * #0 char removed 27 лет назад
cg68kset.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
cga68k.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
cgai386.pas 2e99c59182 * array constructor support 26 лет назад
cobjects.pas 7d2b96d4d6 * added inherited init call to tstringcontainer.init_no_double for Peter 26 лет назад
comphook.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 лет назад
compiler.pas fc8211bbb8 * tlinker object is now inherited for win32 and dos 26 лет назад
comprsrc.pas 046acfb84b * made it compilable with Dlephi 4 again 26 лет назад
cpuasm.pas bfe185d206 + KNI instructions 26 лет назад
cpubase.pas 13c7fed55d * fixed suffix writing for a_setcc 26 лет назад
cpuinfo.pas be3155fdde + initial revision 26 лет назад
cresstr.pas f2513ba3cb Changes for resource strings 26 лет назад
csopt386.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
daopt386.pas bfe185d206 + KNI instructions 26 лет назад
depend 7f720c64ef Added compiler call 27 лет назад
dmisc.pas 046acfb84b * made it compilable with Dlephi 4 again 26 лет назад
dos_targ.pas fc8211bbb8 * tlinker object is now inherited for win32 and dos 26 лет назад
errord.msg b4a852e74b * merged 26 лет назад
errore.msg 3b89a3c501 * fixed message which was wrong styled 26 лет назад
errores.msg b4a852e74b * merged 26 лет назад
errorf.msg b4a852e74b * merged 26 лет назад
errorn.msg f75725ddf3 + Added last message 26 лет назад
errorr.msg 3903aa44a3 + Added last message 26 лет назад
export.pas ace7ff6983 * all tokens now start with an underscore 26 лет назад
files.pas 774df6096e * bug #487 fixed, (inc(<property>) isn't allowed) 26 лет назад
gdb.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
gendef.pas 6a802e85d7 * released valintern 27 лет назад
globals.pas 96fdcfb1f2 * fix for DLL relocation problems 26 лет назад
globtype.pas 54baf96873 * first things to include lineinfo in the executable 26 лет назад
hcgdata.pas ed8eb13d59 * moved bitmask constants to sets 26 лет назад
hcodegen.pas f225a5f0bd * reset resourcestringlist in newmodule. 26 лет назад
htypechk.pas 19c48bf75b * arrayconstructor -> arrayofconst fixed when arraycosntructor was not 26 лет назад
i386tab.inc bfe185d206 + KNI instructions 26 лет назад
import.pas ace7ff6983 * all tokens now start with an underscore 26 лет назад
innr.inc c615fcdbbb * int64/qword type release 26 лет назад
insns.dat bfe185d206 + KNI instructions 26 лет назад
lin_targ.pas ed8eb13d59 * moved bitmask constants to sets 26 лет назад
link.pas 96fdcfb1f2 * fix for DLL relocation problems 26 лет назад
m68k.pas 05b6362265 * local browser stuff corrected 26 лет назад
make.cmd 8aaf209cec + Make script to make compiler under OS/2. 27 лет назад
mdppc386.bat 47fd93dfa5 * more fixes to get it with delphi running 27 лет назад
messages.pas 046acfb84b * made it compilable with Dlephi 4 again 26 лет назад
mppc386.bat e53aceb9be + floating point register variables !! 26 лет назад
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit 27 лет назад
msgidx.inc 3b89a3c501 * fixed message which was wrong styled 26 лет назад
msgtxt.inc 3b89a3c501 * fixed message which was wrong styled 26 лет назад
og386.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
og386cff.pas 96fdcfb1f2 * fix for DLL relocation problems 26 лет назад
og386dbg.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
og386elf.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
options.pas 96fdcfb1f2 * fix for DLL relocation problems 26 лет назад
opts386.pas ace7ff6983 * all tokens now start with an underscore 26 лет назад
opts68k.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 лет назад
os2_targ.pas 046acfb84b * made it compilable with Dlephi 4 again 26 лет назад
owar.pas 046acfb84b * made it compilable with Dlephi 4 again 26 лет назад
owbase.pas f34e2067eb * don't write .o and link if errors occure during assembling 27 лет назад
parser.pas ace7ff6983 * all tokens now start with an underscore 26 лет назад
pass_1.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
pass_2.pas e6c1b96cff * some small problems fixed 26 лет назад
pbase.pas ace7ff6983 * all tokens now start with an underscore 26 лет назад
pdecl.pas 8d9aa81d3a * hack to support property with record fields 26 лет назад
pexports.pas d85a8886fd * bind_win32_dll removed (Relocsection used instead) 26 лет назад
pexpr.pas 7b5e8ad618 * fixed property writeaccess which was buggy after my previous 26 лет назад
pmodules.pas 96fdcfb1f2 * fix for DLL relocation problems 26 лет назад
popt386.pas e5df050607 * avoid unused locals 26 лет назад
pp.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
ppc.dpr 046acfb84b * made it compilable with Dlephi 4 again 26 лет назад
ppheap.pas 4fe0f4f1a2 * fix to get it self compiled 26 лет назад
ppovin.pas f9b1534e17 * a FPC compiled compiler checks now also in debug mode in assigned 27 лет назад
ppu.pas 926a6c2d3e + normalset,smallset writing 26 лет назад
pstatmnt.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 лет назад
psub.pas c63cfc6f7a * linking to C code with cdecl;external; was broken 26 лет назад
psystem.pas 8b4c7f2402 + stabs for classes and classref working, 26 лет назад
ptconst.pas e5df050607 * avoid unused locals 26 лет назад
ra386.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
ra386att.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 лет назад
ra386dir.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
ra386int.pas ab8edb8970 * more reference types support 26 лет назад
ra68kmot.pas 1ace0dc9b8 * moved some tables from ra386*.pas -> i386.pas 27 лет назад
rautils.pas ab8edb8970 * more reference types support 26 лет назад
scandir.inc cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 лет назад
scanner.pas 97393a3370 * Removed C style comments. 26 лет назад
script.pas 94b52a3d7f + smartlinking works (only case jumptable left todo) 28 лет назад
switches.pas 9dfff6d0fc * Alpha changes 26 лет назад
symconst.inc ed8eb13d59 * moved bitmask constants to sets 26 лет назад
symconst.pas e53aceb9be + floating point register variables !! 26 лет назад
symdef.inc 94d0da0639 RTTI writing patch 26 лет назад
symdefh.inc 01b728b188 + procsym field in tprocdef to allow correct gdb info generation 26 лет назад
symppu.inc d7a37edfbd * support for array constructors extended and more error checking 26 лет назад
symsym.inc f2513ba3cb Changes for resource strings 26 лет назад
symsymh.inc 8d9aa81d3a * hack to support property with record fields 26 лет назад
symtable.pas d7a37edfbd * support for array constructors extended and more error checking 26 лет назад
systems.pas 96fdcfb1f2 * fix for DLL relocation problems 26 лет назад
tcadd.pas 57cf1e75a7 * better fix for muln register allocation 26 лет назад
tccal.pas 19c48bf75b * arrayconstructor -> arrayofconst fixed when arraycosntructor was not 26 лет назад
tccnv.pas be98f80d7f * fixed proc->procvar conversion for tp_procvar mode, it now uses 26 лет назад
tccon.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
tcflw.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 лет назад
tcinl.pas 05fd76aeb6 * fix for regvars with the val code 26 лет назад
tcld.pas 8e653af606 * arrayconstructor -> openarray type conversions for element types 26 лет назад
tcmat.pas ace7ff6983 * all tokens now start with an underscore 26 лет назад
tcmem.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 лет назад
tcset.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
temp_gen.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 лет назад
tgen68k.pas 6b807957b1 + resetregistercount, resetusableregisters 27 лет назад
tgeni386.pas da2d4a76ce * fpuvaroffset problems solved 26 лет назад
todo.txt f011b3bdca + qword/int64 -> floating point type cast 26 лет назад
tokens.pas ace7ff6983 * all tokens now start with an underscore 26 лет назад
tpexcept.pas 774df6096e * bug #487 fixed, (inc(<property>) isn't allowed) 26 лет назад
tree.pas 19c48bf75b * arrayconstructor -> arrayofconst fixed when arraycosntructor was not 26 лет назад
types.pas d03f29df08 * more fixes for push_addr 26 лет назад
verbose.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 лет назад
version.pas ace7ff6983 * all tokens now start with an underscore 26 лет назад
win_targ.pas fc8211bbb8 * tlinker object is now inherited for win32 and dos 26 лет назад

README

This directory contains the sources of the Free Pascal Compiler

To recompile the compiler, use the batch file
mppc386.bat

If you want to build a m68k version to cross compile from i386 to m68k
use the batch file
mppc68k.bat

If you want to modify the compiler, please read first the compiler
writer's guide (cws.txt) in that directory.


Changes in the syntax or semantic of FPC:
-----------------------------------------
28/01/99 implicit conversion from boolean to integer is not possible
anymore (solved several bugs) but this could lead to errors
on previously accepted code (PM)
01/02/99 c styled comments are supported (/* ... */), mainly
for the Sibyl sources of Medigo (FK)
02/02/99 class destructors take now two parameters: flag
if the helper routine should free the instance and
self pointer (FK)
22/02/99 PROTECTED and PRIVATE have now the same behavior
as in TP
09/03/99 small records and arrays passed by value to a function are now directly copied
into a 4 bytes parameter (needed for C and DLL calls) (PM)
11/03/99 the makefile.fpc is now also needed for the compiler and RTL, you can
find it in the base.zip package (PFV)
24/03/99 new directives UNITPATH,INCLUDEPATH,OBJECTPATH,LIBRARYPATH to
set the searchpaths where to find the files for that module (PFV)
25/03/99 new directive STATIC +/- or on/off , works like -St commandline
switch
02/04/99 rtl/cfg/ directory has been removed, it's not used anymore
15/04/99 FINALIZATION is supported
21/04/99 Default assembler for i386 changed to AT&T instead of direct
25/04/99: initialized vars supported in Delphi mode (only $J+ mode)
getting the address of an untyped const is now
forbidden as in BP
27/04/99 New unit format PPU016, you need to recompile all older units
01/05/99 Internal assembler. Assembler readers now support MMX,KNI
instructions.
12/05/99 rtl/utils/ directory moved to utils/. Moved the utils only needed
for compiler development to compiler/utils/
13/05/99 Classes are now only allowed in the ObjFpc or Delphi mode. Use
{$mode objfpc} or {$mode delphi}. Or from commandline -S2 or -Sd
16/05/99 Remove options -Up (use now -Fu) and -Fg (use now -Fl)
17/05/99 Redesign of ansistring temporary handling, please report
any problems
17/05/99 Most stuff of the objpas unit is now in the system unit
because the new temporary ansistring handling support
exceptions and exceptions need the class OOP model
18/05/99 The compiler will stop directly if there are errors in the
commandline parameters
16/08/99 DLL are relocatable by default (need to strip symbols)
-WN make non relocatable DLL (which can retain debug info)
for both type of DLL the prefered image base can be specified
with -WB1100000 for instance to get image base at $11000000.