florian f050faa02b * bug #617 fixed 26 anos atrás
..
m68k a0badc3a30 * initial revision 26 anos atrás
new 1c638f2952 * small fix to operator overloading when in MMX mode 26 anos atrás
utils bfe185d206 + KNI instructions 26 anos atrás
Makefile 29bdd631a1 * tokens.dat only used for TP, and also removed from 26 anos atrás
README dd0d54cdef * added pointer and asm field axx 26 anos atrás
aasm.pas 71f28ed588 * cs_create_smart instead of cs_smartlink 26 anos atrás
ag386att.pas 1664cb06a1 * fixed -al with macro's 26 anos atrás
ag386bin.pas dc7dcdd2a6 * short jmp with alignment problems fixed 26 anos atrás
ag386int.pas 96bd939047 * added symbol_end 26 anos atrás
ag386nsm.pas 1163717044 * fix for jmps to be always near 26 anos atrás
ag68kgas.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
ag68kmit.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
ag68kmot.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
ag68kmpw.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
aopt386.pas 4590ff9524 + some comments 26 anos atrás
assemble.pas 910372616a * typo correction 26 anos atrás
browcol.pas e4d44f4281 * BuildSourceList allways called for dependency in FP 26 anos atrás
browlog.pas ed8eb13d59 * moved bitmask constants to sets 26 anos atrás
catch.pas da93f32ae0 * resources are working again 26 anos atrás
cg386add.pas 9f62eb480b * the maybe_push fix of Pierre wasn't 100%, the tree parameter 26 anos atrás
cg386cal.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
cg386cnv.pas 2687d75c38 + constant pointer support which can happend with typecasting like 26 anos atrás
cg386con.pas 2687d75c38 + constant pointer support which can happend with typecasting like 26 anos atrás
cg386flw.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
cg386inl.pas d6c22004f4 * exception patch of Romio nevertheless the excpetion handling 26 anos atrás
cg386ld.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
cg386mat.pas 9f62eb480b * the maybe_push fix of Pierre wasn't 100%, the tree parameter 26 anos atrás
cg386mem.pas 7f63615b43 * @procvar fixes for tp mode 26 anos atrás
cg386set.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
cg68kadd.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
cg68kcal.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
cg68kcnv.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
cg68kcon.pas 71f28ed588 * cs_create_smart instead of cs_smartlink 26 anos atrás
cg68kflw.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
cg68kinl.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
cg68kld.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
cg68kmat.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
cg68kmem.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
cg68kset.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
cga68k.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
cgai386.pas 9f62eb480b * the maybe_push fix of Pierre wasn't 100%, the tree parameter 26 anos atrás
cobjects.pas 1540c674d3 * runerror => do_internalerror 26 anos atrás
comphook.pas 2e65e6a618 + added do_halt procedure 26 anos atrás
compiler.pas f050faa02b * bug #617 fixed 26 anos atrás
comprsrc.pas 046acfb84b * made it compilable with Dlephi 4 again 26 anos atrás
cpuasm.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 anos atrás
cpubase.pas 1c638f2952 * small fix to operator overloading when in MMX mode 26 anos atrás
cpuinfo.pas be3155fdde + initial revision 26 anos atrás
cresstr.pas 76f28920e9 * Fixed small bug: next field in resourcelist was not initialized 26 anos atrás
csopt386.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
daopt386.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
depend 7f720c64ef Added compiler call 27 anos atrás
dmisc.pas 046acfb84b * made it compilable with Dlephi 4 again 26 anos atrás
dos_targ.pas fc8211bbb8 * tlinker object is now inherited for win32 and dos 26 anos atrás
errord.msg b4a852e74b * merged 26 anos atrás
errore.msg 71f28ed588 * cs_create_smart instead of cs_smartlink 26 anos atrás
errores.msg 02c2611b20 * bugs 593 and 607 fixed 26 anos atrás
errorf.msg b4a852e74b * merged 26 anos atrás
errorn.msg 6d332cfc77 * Vertalingsfouten verbeterd. 26 anos atrás
errorr.msg 02c2611b20 * bugs 593 and 607 fixed 26 anos atrás
export.pas ace7ff6983 * all tokens now start with an underscore 26 anos atrás
files.pas eb72952214 * fixed macro within macro endless-loop 26 anos atrás
gdb.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 anos atrás
gendef.pas 6a802e85d7 * released valintern 26 anos atrás
globals.pas a9d8bfa1f7 * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 26 anos atrás
globtype.pas 71f28ed588 * cs_create_smart instead of cs_smartlink 26 anos atrás
hcgdata.pas 0004218ade * remvoed unused var 26 anos atrás
hcodegen.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
htypechk.pas 2687d75c38 + constant pointer support which can happend with typecasting like 26 anos atrás
i386tab.inc bfe185d206 + KNI instructions 26 anos atrás
import.pas ace7ff6983 * all tokens now start with an underscore 26 anos atrás
innr.inc 1c638f2952 * small fix to operator overloading when in MMX mode 26 anos atrás
insns.dat bfe185d206 + KNI instructions 26 anos atrás
lin_targ.pas ed8eb13d59 * moved bitmask constants to sets 26 anos atrás
link.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
make.cmd 8aaf209cec + Make script to make compiler under OS/2. 27 anos atrás
mdppc386.bat 47fd93dfa5 * more fixes to get it with delphi running 26 anos atrás
messages.pas 046acfb84b * made it compilable with Dlephi 4 again 26 anos atrás
mppc386.bat e53aceb9be + floating point register variables !! 26 anos atrás
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit 27 anos atrás
msgidx.inc 71f28ed588 * cs_create_smart instead of cs_smartlink 26 anos atrás
msgtxt.inc 71f28ed588 * cs_create_smart instead of cs_smartlink 26 anos atrás
og386.pas 79f1833059 * runerror => do_halt 26 anos atrás
og386cff.pas 96fdcfb1f2 * fix for DLL relocation problems 26 anos atrás
og386dbg.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 anos atrás
og386elf.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 anos atrás
options.pas 71f28ed588 * cs_create_smart instead of cs_smartlink 26 anos atrás
opts386.pas ace7ff6983 * all tokens now start with an underscore 26 anos atrás
opts68k.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 anos atrás
os2_targ.pas 71f28ed588 * cs_create_smart instead of cs_smartlink 26 anos atrás
owar.pas 046acfb84b * made it compilable with Dlephi 4 again 26 anos atrás
owbase.pas f34e2067eb * don't write .o and link if errors occure during assembling 26 anos atrás
parser.pas 84507b72ad + old_compiled_module to avoid wrong file info when load PPU files 26 anos atrás
pass_1.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
pass_2.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
pbase.pas 1777e0c901 * Could not compile with TP, some arrays moved to heap 26 anos atrás
pdecl.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
pexports.pas d85a8886fd * bind_win32_dll removed (Relocsection used instead) 26 anos atrás
pexpr.pas 6b2a0a3a5c * fixed result access in 'if result = XXX then' 26 anos atrás
pmodules.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
popt386.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
pp.pas 7f63615b43 * @procvar fixes for tp mode 26 anos atrás
ppc.dpr 046acfb84b * made it compilable with Dlephi 4 again 26 anos atrás
ppheap.pas 4fe0f4f1a2 * fix to get it self compiled 26 anos atrás
ppovin.pas 910372616a * typo correction 26 anos atrás
ppu.pas 5db2ac22e5 * ppu header writting now uses currentppuversion 26 anos atrás
pstatmnt.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
psub.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
psystem.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
ptconst.pas 2687d75c38 + constant pointer support which can happend with typecasting like 26 anos atrás
ra386.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 anos atrás
ra386att.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
ra386dir.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
ra386int.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
ra68kmot.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
rautils.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
scandir.inc 1936476701 * bracket support for macro define 26 anos atrás
scanner.pas eb72952214 * fixed macro within macro endless-loop 26 anos atrás
script.pas 94b52a3d7f + smartlinking works (only case jumptable left todo) 27 anos atrás
switches.pas 910372616a * typo correction 26 anos atrás
symconst.inc ed8eb13d59 * moved bitmask constants to sets 26 anos atrás
symconst.pas e53aceb9be + floating point register variables !! 26 anos atrás
symdef.inc 2687d75c38 + constant pointer support which can happend with typecasting like 26 anos atrás
symdefh.inc 01b728b188 + procsym field in tprocdef to allow correct gdb info generation 26 anos atrás
symppu.inc fc0d67a752 + error if PPU modulename is different from what is searched 26 anos atrás
symsym.inc 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
symsymh.inc 2687d75c38 + constant pointer support which can happend with typecasting like 26 anos atrás
symtable.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
systems.pas 863df30860 + rtti is now automatically generated for published classes, i.e. 26 anos atrás
tcadd.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
tccal.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
tccnv.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
tccon.pas 2687d75c38 + constant pointer support which can happend with typecasting like 26 anos atrás
tcflw.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
tcinl.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
tcld.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
tcmat.pas 1c9e86eb05 * firstnot register counting error corrected 26 anos atrás
tcmem.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
tcset.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
temp_gen.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
tgen68k.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 anos atrás
tgeni386.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
todo.txt f011b3bdca + qword/int64 -> floating point type cast 26 anos atrás
tokendat.pas 91962591f3 * tokendat compiles for tp 26 anos atrás
tokens.pas 00b063c621 * fixed 1/s problem from mailing list 26 anos atrás
tpexcept.pas d04add7c9f * esp loading corrected 26 anos atrás
tree.pas 6b1ab5eb31 * procinfo is now a pointer 26 anos atrás
types.pas 863df30860 + rtti is now automatically generated for published classes, i.e. 26 anos atrás
verbose.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 anos atrás
version.pas ace7ff6983 * all tokens now start with an underscore 26 anos atrás
win_targ.pas 71f28ed588 * cs_create_smart instead of cs_smartlink 26 anos atrás

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