peter 0887060ff2 * truncated log to 20 revs il y a 26 ans
..
m68k a0badc3a30 * initial revision il y a 26 ans
new 3d9daba4c7 * some fixes to get the new cg compiling again il y a 26 ans
utils 26a239136d * update to use i386ins.dat il y a 26 ans
Makefile 9a3d560559 Added rtlinstall target il y a 26 ans
README dd0d54cdef * added pointer and asm field axx il y a 26 ans
aasm.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ag386att.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ag386bin.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ag386int.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ag386nsm.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ag68kgas.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
ag68kmit.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
ag68kmot.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
ag68kmpw.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
aopt386.pas a9b5e27bc1 * finally got around making GetNextInstruction return false when il y a 26 ans
assemble.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
browcol.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
browlog.pas ed8eb13d59 * moved bitmask constants to sets il y a 26 ans
catch.pas da93f32ae0 * resources are working again il y a 26 ans
cg386add.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg386cal.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg386cnv.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg386con.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg386flw.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg386inl.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg386ld.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg386mat.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg386mem.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg386set.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg68kadd.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
cg68kcal.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cg68kcnv.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
cg68kcon.pas 71f28ed588 * cs_create_smart instead of cs_smartlink il y a 26 ans
cg68kflw.pas 6b1ab5eb31 * procinfo is now a pointer il y a 26 ans
cg68kinl.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
cg68kld.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
cg68kmat.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
cg68kmem.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
cg68kset.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
cga68k.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cgai386.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cobjects.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
comphook.pas 2e65e6a618 + added do_halt procedure il y a 26 ans
compiler.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
comprsrc.pas 046acfb84b * made it compilable with Dlephi 4 again il y a 26 ans
cpuasm.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cpubase.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
cpuinfo.pas be3155fdde + initial revision il y a 26 ans
cresstr.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
csopt386.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
daopt386.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
depend 7f720c64ef Added compiler call il y a 27 ans
dmisc.pas 046acfb84b * made it compilable with Dlephi 4 again il y a 26 ans
errord.msg b4a852e74b * merged il y a 26 ans
errore.msg 503d5a1cfa * const parameter is now checked il y a 26 ans
errores.msg 02c2611b20 * bugs 593 and 607 fixed il y a 26 ans
errorf.msg b4a852e74b * merged il y a 26 ans
errorn.msg 6d332cfc77 * Vertalingsfouten verbeterd. il y a 26 ans
errorr.msg fc4e4bc74a Nieuw error file from Michael Baikov il y a 26 ans
export.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
files.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
gdb.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase il y a 26 ans
gendef.pas 6a802e85d7 * released valintern il y a 26 ans
globals.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
globtype.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
hcgdata.pas 503d5a1cfa * const parameter is now checked il y a 26 ans
hcodegen.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
htypechk.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
i386att.inc 67589c0532 * fixed typo il y a 26 ans
i386atts.inc 67589c0532 * fixed typo il y a 26 ans
i386ins.dat 67589c0532 * fixed typo il y a 26 ans
i386int.inc 67589c0532 * fixed typo il y a 26 ans
i386op.inc 67589c0532 * fixed typo il y a 26 ans
i386prop.inc 67589c0532 * fixed typo il y a 26 ans
i386tab.inc 67589c0532 * fixed typo il y a 26 ans
import.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
innr.inc 1c638f2952 * small fix to operator overloading when in MMX mode il y a 26 ans
link.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
make.cmd 8aaf209cec + Make script to make compiler under OS/2. il y a 27 ans
mdppc386.bat 47fd93dfa5 * more fixes to get it with delphi running il y a 26 ans
messages.pas 046acfb84b * made it compilable with Dlephi 4 again il y a 26 ans
mppc386.bat e53aceb9be + floating point register variables !! il y a 26 ans
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit il y a 27 ans
msgidx.inc 503d5a1cfa * const parameter is now checked il y a 26 ans
msgtxt.inc 503d5a1cfa * const parameter is now checked il y a 26 ans
og386.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
og386cff.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
og386dbg.pas 19443ae269 * import library fixes for win32 il y a 26 ans
og386elf.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase il y a 26 ans
options.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
opts386.pas ace7ff6983 * all tokens now start with an underscore il y a 26 ans
opts68k.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals il y a 27 ans
owar.pas 046acfb84b * made it compilable with Dlephi 4 again il y a 26 ans
owbase.pas f34e2067eb * don't write .o and link if errors occure during assembling il y a 26 ans
parser.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
pass_1.pas 503d5a1cfa * const parameter is now checked il y a 26 ans
pass_2.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
pbase.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
pdecl.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
pexports.pas 503d5a1cfa * const parameter is now checked il y a 26 ans
pexpr.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
pmodules.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
popt386.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
pp.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ppc.dpr 046acfb84b * made it compilable with Dlephi 4 again il y a 26 ans
ppheap.pas 4fe0f4f1a2 * fix to get it self compiled il y a 26 ans
ppovin.pas 910372616a * typo correction il y a 26 ans
ppu.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
pstatmnt.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
psub.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
psystem.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ptconst.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ptype.pas 7ab2ee0e79 * fixed property reading il y a 26 ans
ra386.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) il y a 26 ans
ra386att.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ra386dir.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ra386int.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
ra68kmot.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
rautils.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
scandir.inc 0887060ff2 * truncated log to 20 revs il y a 26 ans
scanner.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
script.pas fefc839b29 * redesigned linker object il y a 26 ans
switches.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
symconst.inc ed8eb13d59 * moved bitmask constants to sets il y a 26 ans
symconst.pas 503d5a1cfa * const parameter is now checked il y a 26 ans
symdef.inc 0887060ff2 * truncated log to 20 revs il y a 26 ans
symdefh.inc 0887060ff2 * truncated log to 20 revs il y a 26 ans
symppu.inc 0887060ff2 * truncated log to 20 revs il y a 26 ans
symsym.inc 0887060ff2 * truncated log to 20 revs il y a 26 ans
symsymh.inc 0887060ff2 * truncated log to 20 revs il y a 26 ans
symtable.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
systems.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
t_go32v1.pas 38ee2fd8b4 * TSearchPathString for the string type of the searchpaths, which is il y a 26 ans
t_go32v2.pas 38ee2fd8b4 * TSearchPathString for the string type of the searchpaths, which is il y a 26 ans
t_linux.pas 3d9daba4c7 * some fixes to get the new cg compiling again il y a 26 ans
t_os2.pas 38ee2fd8b4 * TSearchPathString for the string type of the searchpaths, which is il y a 26 ans
t_win32.pas 38ee2fd8b4 * TSearchPathString for the string type of the searchpaths, which is il y a 26 ans
tcadd.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
tccal.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
tccnv.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
tccon.pas 2687d75c38 + constant pointer support which can happend with typecasting like il y a 26 ans
tcflw.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
tcinl.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
tcld.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
tcmat.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
tcmem.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
tcset.pas 6b1ab5eb31 * procinfo is now a pointer il y a 26 ans
temp_gen.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
tgen68k.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) il y a 26 ans
tgeni386.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
todo.txt f011b3bdca + qword/int64 -> floating point type cast il y a 26 ans
tokendat.pas 91962591f3 * tokendat compiles for tp il y a 26 ans
tokens.dat 4e9c029777 * reinserted il y a 26 ans
tokens.pas 00b063c621 * fixed 1/s problem from mailing list il y a 26 ans
tpexcept.pas d04add7c9f * esp loading corrected il y a 26 ans
tree.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
types.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
verbose.pas 0887060ff2 * truncated log to 20 revs il y a 26 ans
version.pas ace7ff6983 * all tokens now start with an underscore il y a 26 ans

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