fpc/compiler
florian 1c638f2952 * small fix to operator overloading when in MMX mode
+ the compiler uses now fldz and fld1 if possible
  + some fixes to floating point registers
  + some math. functions (arctan, ln, sin, cos, sqrt, sqr, pi) are now inlined
  * .... ???
1999-09-15 20:35:37 +00:00
..
new * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
utils + KNI instructions 1999-08-12 14:36:01 +00:00
aasm.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
ag68kgas.pas * don't count ait_marker for lineinfo 1998-12-23 22:53:44 +00:00
ag68kmit.pas section order changed to get closer output from coff writer 1999-03-10 13:25:42 +00:00
ag68kmot.pas * some m68k fixes (still not compilable !) 1999-03-04 13:55:39 +00:00
ag68kmpw.pas + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
ag386att.pas * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 1999-09-10 18:48:00 +00:00
ag386bin.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
ag386int.pas * added symbol_end 1999-09-10 15:41:18 +00:00
ag386nsm.pas * fix for jmps to be always near 1999-09-13 16:27:24 +00:00
aopt386.pas + some comments 1999-05-08 20:39:02 +00:00
assemble.pas * Could not compile with TP, some arrays moved to heap 1999-09-02 18:47:41 +00:00
browcol.pas * avoid some infinite recursions 1999-09-07 15:07:49 +00:00
browlog.pas * moved bitmask constants to sets 1999-08-03 22:02:29 +00:00
catch.pas * resources are working again 1999-08-25 16:41:04 +00:00
cg68kadd.pas + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
cg68kcal.pas + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
cg68kcnv.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
cg68kcon.pas + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
cg68kflw.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
cg68kinl.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
cg68kld.pas
cg68kmat.pas + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
cg68kmem.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
cg68kset.pas + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
cg386add.pas * > < >= <= support for boolean 1999-09-07 07:52:19 +00:00
cg386cal.pas * small array push to open array fixed, open array always needs addr 1999-09-07 07:54:23 +00:00
cg386cnv.pas * update for new push_lea_loc 1999-09-01 09:42:13 +00:00
cg386con.pas * bug #580 fixed 1999-09-04 20:50:08 +00:00
cg386flw.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
cg386inl.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
cg386ld.pas * bugs 593 and 607 fixed 1999-09-12 08:48:03 +00:00
cg386mat.pas * problems with -Or fixed: tdef.isfpuregable was wrong! 1999-09-02 17:07:38 +00:00
cg386mem.pas * finally!? fixed 1999-09-14 07:59:46 +00:00
cg386set.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
cga68k.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
cgai386.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
cobjects.pas * runerror => do_internalerror 1999-09-07 15:08:51 +00:00
comphook.pas + added do_halt procedure 1999-09-07 14:03:48 +00:00
compiler.pas * use do_halt instead of halt 1999-09-07 15:10:04 +00:00
comprsrc.pas * made it compilable with Dlephi 4 again 1999-07-18 10:19:38 +00:00
cpuasm.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
cpubase.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
cpuinfo.pas + initial revision 1999-08-04 11:13:38 +00:00
cresstr.pas * Fixed small bug: next field in resourcelist was not initialized 1999-08-27 15:55:36 +00:00
csopt386.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
daopt386.pas * fixed typo's in -darithopt 1999-09-05 12:37:50 +00:00
depend
dmisc.pas * made it compilable with Dlephi 4 again 1999-07-18 10:19:38 +00:00
dos_targ.pas * tlinker object is now inherited for win32 and dos 1999-08-11 17:26:31 +00:00
errord.msg * merged 1999-07-05 20:22:08 +00:00
errore.msg * bugs 593 and 607 fixed 1999-09-12 08:48:03 +00:00
errores.msg * bugs 593 and 607 fixed 1999-09-12 08:48:03 +00:00
errorf.msg * merged 1999-07-05 20:22:08 +00:00
errorn.msg * Vertalingsfouten verbeterd. 1999-09-01 19:08:20 +00:00
errorr.msg * bugs 593 and 607 fixed 1999-09-12 08:48:03 +00:00
export.pas * all tokens now start with an underscore 1999-08-04 13:02:40 +00:00
files.pas * in_second_compile cleaned up, in_compile and in_second_load added 1999-08-31 15:51:10 +00:00
gdb.pas * renamed i386asm and i386base to cpuasm and cpubase 1999-08-04 00:22:34 +00:00
gendef.pas * released valintern 1999-03-26 00:05:26 +00:00
globals.pas * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 1999-09-10 18:48:00 +00:00
globtype.pas * pointer add/sub is now as expected and the same results as inc/dec 1999-09-08 16:05:29 +00:00
hcgdata.pas * remvoed unused var 1999-09-13 16:23:42 +00:00
hcodegen.pas + Hopefuly last fixes for resourcestrings 1999-08-26 20:24:37 +00:00
htypechk.pas * arrayconstructor -> arrayofconst fixed when arraycosntructor was not 1999-08-17 13:26:06 +00:00
i386tab.inc + KNI instructions 1999-08-12 14:36:01 +00:00
import.pas * all tokens now start with an underscore 1999-08-04 13:02:40 +00:00
innr.inc * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
insns.dat + KNI instructions 1999-08-12 14:36:01 +00:00
lin_targ.pas * moved bitmask constants to sets 1999-08-03 22:02:29 +00:00
link.pas + Dw switch now does something. 1999-09-15 20:24:56 +00:00
m68k.pas + label faillabel added for _FAIL support 1999-08-19 13:02:08 +00:00
make.cmd + Make script to make compiler under OS/2. 1998-12-23 12:41:56 +00:00
Makefile * tokens.dat only used for TP, and also removed from 1999-09-03 08:37:34 +00:00
mdppc386.bat * more fixes to get it with delphi running 1999-05-05 09:19:03 +00:00
messages.pas * made it compilable with Dlephi 4 again 1999-07-18 10:19:38 +00:00
mppc68k.bat
mppc386.bat + floating point register variables !! 1999-08-04 13:45:17 +00:00
msgidx.inc * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 1999-09-10 18:48:00 +00:00
msgtxt.inc * bugs 593 and 607 fixed 1999-09-12 08:48:03 +00:00
og386.pas * runerror => do_halt 1999-09-07 15:22:20 +00:00
og386cff.pas * fix for DLL relocation problems 1999-08-16 15:35:20 +00:00
og386dbg.pas * renamed i386asm and i386base to cpuasm and cpubase 1999-08-04 00:22:34 +00:00
og386elf.pas * renamed i386asm and i386base to cpuasm and cpubase 1999-08-04 00:22:34 +00:00
options.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
opts68k.pas + globtype,tokens,version unit splitted from globals 1998-12-11 00:02:37 +00:00
opts386.pas * all tokens now start with an underscore 1999-08-04 13:02:40 +00:00
os2_targ.pas * use do_halt instead of runerror 1999-09-07 15:05:19 +00:00
owar.pas * made it compilable with Dlephi 4 again 1999-07-18 10:19:38 +00:00
owbase.pas * don't write .o and link if errors occure during assembling 1999-05-09 11:38:04 +00:00
parser.pas * in_second_compile cleaned up, in_compile and in_second_load added 1999-08-31 15:51:10 +00:00
pass_1.pas * fixed bug #596 1999-09-11 09:08:31 +00:00
pass_2.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
pbase.pas * Could not compile with TP, some arrays moved to heap 1999-09-02 18:47:41 +00:00
pdecl.pas * per default a property is stored, fixed 1999-09-14 11:09:08 +00:00
pexports.pas * bind_win32_dll removed (Relocsection used instead) 1999-08-10 12:51:14 +00:00
pexpr.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
pmodules.pas * fixed crashes under plain dos 1999-09-13 22:56:17 +00:00
popt386.pas + fld reg;fxxx to fxxxr reg optimization 1999-09-05 14:27:19 +00:00
pp.pas * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 1999-09-10 18:48:00 +00:00
ppc.dpr * made it compilable with Dlephi 4 again 1999-07-18 10:19:38 +00:00
ppheap.pas * fix to get it self compiled 1999-06-08 15:26:49 +00:00
ppovin.pas * a FPC compiled compiler checks now also in debug mode in assigned 1999-03-17 22:23:19 +00:00
ppu.pas * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 1999-09-10 18:48:00 +00:00
pstatmnt.pas * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 1999-09-10 18:48:00 +00:00
psub.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
psystem.pas + stabs for classes and classref working, 1999-08-13 14:24:17 +00:00
ptconst.pas * avoid unused locals 1999-08-10 12:30:00 +00:00
ra68kmot.pas * moved some tables from ra386*.pas -> i386.pas 1999-01-10 15:37:51 +00:00
ra386.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00
ra386att.pas * better support for object fields and more error checks for 1999-09-08 16:04:01 +00:00
ra386dir.pas * renamed i386asm and i386base to cpuasm and cpubase 1999-08-04 00:22:34 +00:00
ra386int.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
rautils.pas * better support for object fields and more error checks for 1999-09-08 16:04:01 +00:00
README * added pointer and asm field axx 1999-09-08 16:07:21 +00:00
scandir.inc * included the 1.60 version of Pierre which was lost ! 1999-09-03 10:00:49 +00:00
scanner.pas * $IFNDEF is 7 chars and not 6 chars 1999-09-03 10:02:48 +00:00
script.pas
switches.pas * Alpha changes 1999-08-01 23:35:06 +00:00
symconst.inc * moved bitmask constants to sets 1999-08-03 22:02:29 +00:00
symconst.pas + floating point register variables !! 1999-08-04 13:45:17 +00:00
symdef.inc * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
symdefh.inc + procsym field in tprocdef to allow correct gdb info generation 1999-08-10 12:34:49 +00:00
symppu.inc * tnamedindexobject._name should be never accessed direct! Use the 1999-09-12 15:45:11 +00:00
symsym.inc + tmacrosym is_used and defined_at_startup boolean fields added 1999-08-31 15:42:24 +00:00
symsymh.inc + tmacrosym is_used and defined_at_startup boolean fields added 1999-08-31 15:42:24 +00:00
symtable.pas * fixed a crash under Linux. Why doesn't have the damned Windows DPMI nil pointer 1999-09-12 21:35:38 +00:00
systems.pas + Dw switch now does something. 1999-09-15 20:24:56 +00:00
tcadd.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
tccal.pas * finally!? fixed 1999-09-14 07:59:46 +00:00
tccnv.pas * fixed bug #596 1999-09-11 09:08:31 +00:00
tccon.pas * bug #580 fixed 1999-09-04 20:50:08 +00:00
tcflw.pas * for reg allocation corrected 1999-08-23 23:41:45 +00:00
tcinl.pas * small fix to operator overloading when in MMX mode 1999-09-15 20:35:37 +00:00
tcld.pas * bug fix for @tobject.method, fixes bug #557, 605 and 606 1999-09-11 19:47:26 +00:00
tcmat.pas * firstnot register counting error corrected 1999-08-23 23:37:01 +00:00
tcmem.pas * fix of my previous commit, make cycle was broken 1999-09-11 11:10:39 +00:00
tcset.pas * elem in set_type did not work yet 1999-09-07 15:01:33 +00:00
temp_gen.pas * renamed i386asm and i386base to cpuasm and cpubase 1999-08-04 00:22:34 +00:00
tgen68k.pas
tgeni386.pas + EXTTEMPREGDEBUG code added 1999-08-27 10:38:31 +00:00
todo.txt + qword/int64 -> floating point type cast 1999-07-04 16:37:08 +00:00
tokendat.pas * tokendat compiles for tp 1999-09-08 16:02:03 +00:00
tokens.pas * tokendat compiles for tp 1999-09-08 16:02:03 +00:00
tpexcept.pas * esp loading corrected 1999-08-18 11:35:59 +00:00
tree.pas * some bug fixes (e.g. must_be_valid and procinfo.funcret_is_valid) 1999-09-10 18:48:00 +00:00
types.pas * fixed bug #596 1999-09-11 09:08:31 +00:00
verbose.pas * V_Fatal=1, all other V_ are also increased 1999-08-05 16:52:53 +00:00
version.pas * all tokens now start with an underscore 1999-08-04 13:02:40 +00:00
win_targ.pas * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 1999-08-25 11:59:32 +00:00

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