pierre b5f43cf97b + RESULT pseudo var added in GDB debug info 26 lat temu
..
new 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
utils bfe185d206 + KNI instructions 26 lat temu
Makefile 29bdd631a1 * tokens.dat only used for TP, and also removed from 26 lat temu
README dd0d54cdef * added pointer and asm field axx 26 lat temu
aasm.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
ag386att.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 26 lat temu
ag386bin.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
ag386int.pas 96bd939047 * added symbol_end 26 lat temu
ag386nsm.pas 1163717044 * fix for jmps to be always near 26 lat temu
ag68kgas.pas f986459350 * don't count ait_marker for lineinfo 27 lat temu
ag68kmit.pas 337f054764 section order changed to get closer output from coff writer 27 lat temu
ag68kmot.pas 58bfc3ac78 * some m68k fixes (still not compilable !) 27 lat temu
ag68kmpw.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 lat temu
aopt386.pas 4590ff9524 + some comments 27 lat temu
assemble.pas 1777e0c901 * Could not compile with TP, some arrays moved to heap 26 lat temu
browcol.pas e4d44f4281 * BuildSourceList allways called for dependency in FP 26 lat temu
browlog.pas ed8eb13d59 * moved bitmask constants to sets 26 lat temu
catch.pas da93f32ae0 * resources are working again 26 lat temu
cg386add.pas f89f09413b * > < >= <= support for boolean 26 lat temu
cg386cal.pas 2c94850f4c * small array push to open array fixed, open array always needs addr 26 lat temu
cg386cnv.pas c60bf19553 * update for new push_lea_loc 26 lat temu
cg386con.pas 96dd7c82fa * bug #580 fixed 26 lat temu
cg386flw.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
cg386inl.pas cac8e59f0f * FLDPI must increment fpuvaroffset 26 lat temu
cg386ld.pas 1ef3c84bb8 * double del_reference removed 26 lat temu
cg386mat.pas 63ceb87e8f * problems with -Or fixed: tdef.isfpuregable was wrong! 26 lat temu
cg386mem.pas 78977be752 * finally!? fixed 26 lat temu
cg386set.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
cg68kadd.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 lat temu
cg68kcal.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 lat temu
cg68kcnv.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
cg68kcon.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 lat temu
cg68kflw.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
cg68kinl.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
cg68kld.pas a5f0168fbb * wrong stabs info corrected once again !! 27 lat temu
cg68kmat.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 lat temu
cg68kmem.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
cg68kset.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 lat temu
cga68k.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
cgai386.pas b5f43cf97b + RESULT pseudo var added in GDB debug info 26 lat temu
cobjects.pas 1540c674d3 * runerror => do_internalerror 26 lat temu
comphook.pas 2e65e6a618 + added do_halt procedure 26 lat temu
compiler.pas a5c2aa5df8 * use do_halt instead of halt 26 lat temu
comprsrc.pas 046acfb84b * made it compilable with Dlephi 4 again 26 lat temu
cpuasm.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
cpubase.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
cpuinfo.pas be3155fdde + initial revision 26 lat temu
cresstr.pas 76f28920e9 * Fixed small bug: next field in resourcelist was not initialized 26 lat temu
csopt386.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
daopt386.pas 9793c4eee9 * fixed typo's in -darithopt 26 lat temu
depend 7f720c64ef Added compiler call 27 lat temu
dmisc.pas 046acfb84b * made it compilable with Dlephi 4 again 26 lat temu
dos_targ.pas fc8211bbb8 * tlinker object is now inherited for win32 and dos 26 lat temu
errord.msg b4a852e74b * merged 26 lat temu
errore.msg 863df30860 + rtti is now automatically generated for published classes, i.e. 26 lat temu
errores.msg 02c2611b20 * bugs 593 and 607 fixed 26 lat temu
errorf.msg b4a852e74b * merged 26 lat temu
errorn.msg 6d332cfc77 * Vertalingsfouten verbeterd. 26 lat temu
errorr.msg 02c2611b20 * bugs 593 and 607 fixed 26 lat temu
export.pas ace7ff6983 * all tokens now start with an underscore 26 lat temu
files.pas 5b38d71a12 * in_second_compile cleaned up, in_compile and in_second_load added 26 lat temu
gdb.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 lat temu
gendef.pas 6a802e85d7 * released valintern 27 lat temu
globals.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 26 lat temu
globtype.pas be49731850 * pointer add/sub is now as expected and the same results as inc/dec 26 lat temu
hcgdata.pas 0004218ade * remvoed unused var 26 lat temu
hcodegen.pas dc3cc78caa + Hopefuly last fixes for resourcestrings 26 lat temu
htypechk.pas 19c48bf75b * arrayconstructor -> arrayofconst fixed when arraycosntructor was not 26 lat temu
i386tab.inc bfe185d206 + KNI instructions 26 lat temu
import.pas ace7ff6983 * all tokens now start with an underscore 26 lat temu
innr.inc 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
insns.dat bfe185d206 + KNI instructions 26 lat temu
lin_targ.pas ed8eb13d59 * moved bitmask constants to sets 26 lat temu
link.pas 863df30860 + rtti is now automatically generated for published classes, i.e. 26 lat temu
m68k.pas 1c8a7a1924 + label faillabel added for _FAIL support 26 lat temu
make.cmd 8aaf209cec + Make script to make compiler under OS/2. 27 lat temu
mdppc386.bat 47fd93dfa5 * more fixes to get it with delphi running 27 lat temu
messages.pas 046acfb84b * made it compilable with Dlephi 4 again 26 lat temu
mppc386.bat e53aceb9be + floating point register variables !! 26 lat temu
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit 28 lat temu
msgidx.inc 863df30860 + rtti is now automatically generated for published classes, i.e. 26 lat temu
msgtxt.inc 863df30860 + rtti is now automatically generated for published classes, i.e. 26 lat temu
og386.pas 79f1833059 * runerror => do_halt 26 lat temu
og386cff.pas 96fdcfb1f2 * fix for DLL relocation problems 26 lat temu
og386dbg.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 lat temu
og386elf.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 lat temu
options.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
opts386.pas ace7ff6983 * all tokens now start with an underscore 26 lat temu
opts68k.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 lat temu
os2_targ.pas eca64b4ab6 * use do_halt instead of runerror 26 lat temu
owar.pas 046acfb84b * made it compilable with Dlephi 4 again 26 lat temu
owbase.pas f34e2067eb * don't write .o and link if errors occure during assembling 27 lat temu
parser.pas 863df30860 + rtti is now automatically generated for published classes, i.e. 26 lat temu
pass_1.pas 1609dde2ca * fixed bug #596 26 lat temu
pass_2.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
pbase.pas 1777e0c901 * Could not compile with TP, some arrays moved to heap 26 lat temu
pdecl.pas 863df30860 + rtti is now automatically generated for published classes, i.e. 26 lat temu
pexports.pas d85a8886fd * bind_win32_dll removed (Relocsection used instead) 26 lat temu
pexpr.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
pmodules.pas 0308dbcbfa * fixed crashes under plain dos 26 lat temu
popt386.pas ac20c15ef4 + fld reg;fxxx to fxxxr reg optimization 26 lat temu
pp.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 26 lat temu
ppc.dpr 046acfb84b * made it compilable with Dlephi 4 again 26 lat temu
ppheap.pas 4fe0f4f1a2 * fix to get it self compiled 27 lat temu
ppovin.pas f9b1534e17 * a FPC compiled compiler checks now also in debug mode in assigned 27 lat temu
ppu.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 26 lat temu
pstatmnt.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 26 lat temu
psub.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
psystem.pas 8b4c7f2402 + stabs for classes and classref working, 26 lat temu
ptconst.pas e5df050607 * avoid unused locals 26 lat temu
ra386.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu
ra386att.pas 05f2be0455 * better support for object fields and more error checks for 26 lat temu
ra386dir.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 lat temu
ra386int.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
ra68kmot.pas 1ace0dc9b8 * moved some tables from ra386*.pas -> i386.pas 27 lat temu
rautils.pas 05f2be0455 * better support for object fields and more error checks for 26 lat temu
scandir.inc 6b25740f01 * included the 1.60 version of Pierre which was lost ! 26 lat temu
scanner.pas 0b396c0466 * $IFNDEF is 7 chars and not 6 chars 26 lat temu
script.pas 94b52a3d7f + smartlinking works (only case jumptable left todo) 28 lat temu
switches.pas 9dfff6d0fc * Alpha changes 26 lat temu
symconst.inc ed8eb13d59 * moved bitmask constants to sets 26 lat temu
symconst.pas e53aceb9be + floating point register variables !! 26 lat temu
symdef.inc 863df30860 + rtti is now automatically generated for published classes, i.e. 26 lat temu
symdefh.inc 01b728b188 + procsym field in tprocdef to allow correct gdb info generation 26 lat temu
symppu.inc 6bbd06b90c * tnamedindexobject._name should be never accessed direct! Use the 26 lat temu
symsym.inc f2f1fed583 + tmacrosym is_used and defined_at_startup boolean fields added 26 lat temu
symsymh.inc f2f1fed583 + tmacrosym is_used and defined_at_startup boolean fields added 26 lat temu
symtable.pas e8f6d4e836 * fixed a crash under Linux. Why doesn't have the damned Windows DPMI nil pointer 26 lat temu
systems.pas 863df30860 + rtti is now automatically generated for published classes, i.e. 26 lat temu
tcadd.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
tccal.pas 78977be752 * finally!? fixed 26 lat temu
tccnv.pas 1609dde2ca * fixed bug #596 26 lat temu
tccon.pas 96dd7c82fa * bug #580 fixed 26 lat temu
tcflw.pas 57c239961e * for reg allocation corrected 26 lat temu
tcinl.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 lat temu
tcld.pas 35eef74308 * bug fix for @tobject.method, fixes bug #557, 605 and 606 26 lat temu
tcmat.pas 1c9e86eb05 * firstnot register counting error corrected 26 lat temu
tcmem.pas a42799b4f2 * fix of my previous commit, make cycle was broken 26 lat temu
tcset.pas ee98742add * elem in set_type did not work yet 26 lat temu
temp_gen.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 lat temu
tgen68k.pas 6b807957b1 + resetregistercount, resetusableregisters 27 lat temu
tgeni386.pas 088f2ba6cc + EXTTEMPREGDEBUG code added 26 lat temu
todo.txt f011b3bdca + qword/int64 -> floating point type cast 26 lat temu
tokendat.pas 91962591f3 * tokendat compiles for tp 26 lat temu
tokens.pas 91962591f3 * tokendat compiles for tp 26 lat temu
tpexcept.pas d04add7c9f * esp loading corrected 26 lat temu
tree.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 26 lat temu
types.pas 863df30860 + rtti is now automatically generated for published classes, i.e. 26 lat temu
verbose.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 lat temu
version.pas ace7ff6983 * all tokens now start with an underscore 26 lat temu
win_targ.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 lat temu

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.
08/09/99 pointer addition/substraction (only available in fpc,objfpc mode)
now uses the size of the type the pointer points to, just like
inc(),dec() already did. Now inc(p) is the same as p:=p+1.
But old code can be broken by this when there is a p:=p+4 then
it's now parsed like: p:=p+4*sizeof(type). To get the old situation
you can use typecasting: p:=ptype(pointer(p)+4).
08/09/99 class/object field return their offsets in the object/class. You
must access them self with loading the object/class pointer and
then create a reference where you add the field