florian a42799b4f2 * fix of my previous commit, make cycle was broken před 26 roky
..
new a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
utils bfe185d206 + KNI instructions před 26 roky
Makefile 29bdd631a1 * tokens.dat only used for TP, and also removed from před 26 roky
README dd0d54cdef * added pointer and asm field axx před 26 roky
aasm.pas 28ddb689cb * some small changes so the noew optimizer is again compilable před 26 roky
ag386att.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
ag386bin.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
ag386int.pas 96bd939047 * added symbol_end před 26 roky
ag386nsm.pas 96bd939047 * added symbol_end před 26 roky
ag68kgas.pas f986459350 * don't count ait_marker for lineinfo před 27 roky
ag68kmit.pas 337f054764 section order changed to get closer output from coff writer před 26 roky
ag68kmot.pas 58bfc3ac78 * some m68k fixes (still not compilable !) před 26 roky
ag68kmpw.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals před 27 roky
aopt386.pas 4590ff9524 + some comments před 26 roky
assemble.pas 1777e0c901 * Could not compile with TP, some arrays moved to heap před 26 roky
browcol.pas 9d5205f1e9 * avoid some infinite recursions před 26 roky
browlog.pas ed8eb13d59 * moved bitmask constants to sets před 26 roky
catch.pas da93f32ae0 * resources are working again před 26 roky
cg386add.pas f89f09413b * > < >= <= support for boolean před 26 roky
cg386cal.pas 2c94850f4c * small array push to open array fixed, open array always needs addr před 26 roky
cg386cnv.pas c60bf19553 * update for new push_lea_loc před 26 roky
cg386con.pas 96dd7c82fa * bug #580 fixed před 26 roky
cg386flw.pas ea753c5807 * reload esi in except block to allow virtual methods před 26 roky
cg386inl.pas 656d4330cd * bug #519 fixed před 26 roky
cg386ld.pas 1609dde2ca * fixed bug #596 před 26 roky
cg386mat.pas 63ceb87e8f * problems with -Or fixed: tdef.isfpuregable was wrong! před 26 roky
cg386mem.pas 9ef54daf28 * fixed with <calln> do před 26 roky
cg386set.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
cg68kadd.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals před 27 roky
cg68kcal.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals před 27 roky
cg68kcnv.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
cg68kcon.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals před 27 roky
cg68kflw.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
cg68kinl.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
cg68kld.pas a5f0168fbb * wrong stabs info corrected once again !! před 27 roky
cg68kmat.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals před 27 roky
cg68kmem.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
cg68kset.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals před 27 roky
cga68k.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
cgai386.pas 9ef54daf28 * fixed with <calln> do před 26 roky
cobjects.pas 1540c674d3 * runerror => do_internalerror před 26 roky
comphook.pas 2e65e6a618 + added do_halt procedure před 26 roky
compiler.pas a5c2aa5df8 * use do_halt instead of halt před 26 roky
comprsrc.pas 046acfb84b * made it compilable with Dlephi 4 again před 26 roky
cpuasm.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
cpubase.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
cpuinfo.pas be3155fdde + initial revision před 26 roky
cresstr.pas 76f28920e9 * Fixed small bug: next field in resourcelist was not initialized před 26 roky
csopt386.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
daopt386.pas 9793c4eee9 * fixed typo's in -darithopt před 26 roky
depend 7f720c64ef Added compiler call před 27 roky
dmisc.pas 046acfb84b * made it compilable with Dlephi 4 again před 26 roky
dos_targ.pas fc8211bbb8 * tlinker object is now inherited for win32 and dos před 26 roky
errord.msg b4a852e74b * merged před 26 roky
errore.msg a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
errores.msg b4a852e74b * merged před 26 roky
errorf.msg b4a852e74b * merged před 26 roky
errorn.msg 6d332cfc77 * Vertalingsfouten verbeterd. před 26 roky
errorr.msg 3903aa44a3 + Added last message před 26 roky
export.pas ace7ff6983 * all tokens now start with an underscore před 26 roky
files.pas 5b38d71a12 * in_second_compile cleaned up, in_compile and in_second_load added před 26 roky
gdb.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase před 26 roky
gendef.pas 6a802e85d7 * released valintern před 26 roky
globals.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
globtype.pas be49731850 * pointer add/sub is now as expected and the same results as inc/dec před 26 roky
hcgdata.pas 860747346f * fixed writing of class rtti: vmt offset were written wrong před 26 roky
hcodegen.pas dc3cc78caa + Hopefuly last fixes for resourcestrings před 26 roky
htypechk.pas 19c48bf75b * arrayconstructor -> arrayofconst fixed when arraycosntructor was not před 26 roky
i386tab.inc bfe185d206 + KNI instructions před 26 roky
import.pas ace7ff6983 * all tokens now start with an underscore před 26 roky
innr.inc 656d4330cd * bug #519 fixed před 26 roky
insns.dat bfe185d206 + KNI instructions před 26 roky
lin_targ.pas ed8eb13d59 * moved bitmask constants to sets před 26 roky
link.pas c512d38256 + implemented initilizing of data for the new code generator před 26 roky
m68k.pas 1c8a7a1924 + label faillabel added for _FAIL support před 26 roky
make.cmd 8aaf209cec + Make script to make compiler under OS/2. před 27 roky
mdppc386.bat 47fd93dfa5 * more fixes to get it with delphi running před 26 roky
messages.pas 046acfb84b * made it compilable with Dlephi 4 again před 26 roky
mppc386.bat e53aceb9be + floating point register variables !! před 26 roky
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit před 27 roky
msgidx.inc a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
msgtxt.inc a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
og386.pas 79f1833059 * runerror => do_halt před 26 roky
og386cff.pas 96fdcfb1f2 * fix for DLL relocation problems před 26 roky
og386dbg.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase před 26 roky
og386elf.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase před 26 roky
options.pas 7ad9983cb7 * reading of search paths fixed to work as expected před 26 roky
opts386.pas ace7ff6983 * all tokens now start with an underscore před 26 roky
opts68k.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals před 27 roky
os2_targ.pas eca64b4ab6 * use do_halt instead of runerror před 26 roky
owar.pas 046acfb84b * made it compilable with Dlephi 4 again před 26 roky
owbase.pas f34e2067eb * don't write .o and link if errors occure during assembling před 26 roky
parser.pas 5b38d71a12 * in_second_compile cleaned up, in_compile and in_second_load added před 26 roky
pass_1.pas 1609dde2ca * fixed bug #596 před 26 roky
pass_2.pas 88306ed3f3 * framepointer cannot be changed to esp for methods před 26 roky
pbase.pas 1777e0c901 * Could not compile with TP, some arrays moved to heap před 26 roky
pdecl.pas 4c2361303c * some more fixes for stored properties před 26 roky
pexports.pas d85a8886fd * bind_win32_dll removed (Relocsection used instead) před 26 roky
pexpr.pas 1609dde2ca * fixed bug #596 před 26 roky
pmodules.pas 037319700d * moved parsing interface/implementation to -vu před 26 roky
popt386.pas ac20c15ef4 + fld reg;fxxx to fxxxr reg optimization před 26 roky
pp.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
ppc.dpr 046acfb84b * made it compilable with Dlephi 4 again před 26 roky
ppheap.pas 4fe0f4f1a2 * fix to get it self compiled před 26 roky
ppovin.pas f9b1534e17 * a FPC compiled compiler checks now also in debug mode in assigned před 26 roky
ppu.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
pstatmnt.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
psub.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
psystem.pas 8b4c7f2402 + stabs for classes and classref working, před 26 roky
ptconst.pas e5df050607 * avoid unused locals před 26 roky
ra386.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky
ra386att.pas 05f2be0455 * better support for object fields and more error checks for před 26 roky
ra386dir.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase před 26 roky
ra386int.pas 05f2be0455 * better support for object fields and more error checks for před 26 roky
ra68kmot.pas 1ace0dc9b8 * moved some tables from ra386*.pas -> i386.pas před 26 roky
rautils.pas 05f2be0455 * better support for object fields and more error checks for před 26 roky
scandir.inc 6b25740f01 * included the 1.60 version of Pierre which was lost ! před 26 roky
scanner.pas 0b396c0466 * $IFNDEF is 7 chars and not 6 chars před 26 roky
script.pas 94b52a3d7f + smartlinking works (only case jumptable left todo) před 27 roky
switches.pas 9dfff6d0fc * Alpha changes před 26 roky
symconst.inc ed8eb13d59 * moved bitmask constants to sets před 26 roky
symconst.pas e53aceb9be + floating point register variables !! před 26 roky
symdef.inc a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
symdefh.inc 01b728b188 + procsym field in tprocdef to allow correct gdb info generation před 26 roky
symppu.inc 781117b288 * message about conditionals changed to Hint před 26 roky
symsym.inc f2f1fed583 + tmacrosym is_used and defined_at_startup boolean fields added před 26 roky
symsymh.inc f2f1fed583 + tmacrosym is_used and defined_at_startup boolean fields added před 26 roky
symtable.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
systems.pas aaba6f160a * powerpc default was alpha !! před 26 roky
tcadd.pas 40291ee626 * fixed array check for operators, becuase array can also be a set před 26 roky
tccal.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
tccnv.pas 1609dde2ca * fixed bug #596 před 26 roky
tccon.pas 96dd7c82fa * bug #580 fixed před 26 roky
tcflw.pas 57c239961e * for reg allocation corrected před 26 roky
tcinl.pas f5d21809d7 * halt removed in do_lowhigh před 26 roky
tcld.pas 1609dde2ca * fixed bug #596 před 26 roky
tcmat.pas 1c9e86eb05 * firstnot register counting error corrected před 26 roky
tcmem.pas a42799b4f2 * fix of my previous commit, make cycle was broken před 26 roky
tcset.pas ee98742add * elem in set_type did not work yet před 26 roky
temp_gen.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase před 26 roky
tgen68k.pas 6b807957b1 + resetregistercount, resetusableregisters před 27 roky
tgeni386.pas 088f2ba6cc + EXTTEMPREGDEBUG code added před 26 roky
todo.txt f011b3bdca + qword/int64 -> floating point type cast před 26 roky
tokendat.pas 91962591f3 * tokendat compiles for tp před 26 roky
tokens.pas 91962591f3 * tokendat compiles for tp před 26 roky
tpexcept.pas d04add7c9f * esp loading corrected před 26 roky
tree.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) před 26 roky
types.pas 1609dde2ca * fixed bug #596 před 26 roky
verbose.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased před 26 roky
version.pas ace7ff6983 * all tokens now start with an underscore před 26 roky
win_targ.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) před 26 roky

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