fpc/compiler
Jonas Maebe 48787ae200 * put piece of code between -dnewoptimizations2 since it wasn't
necessary otherwise
  + support for full boolean evaluation (from tcadd)
2000-09-21 12:22:42 +00:00
..
m68k + Initial import 2000-07-13 06:29:38 +00:00
new * regenerated 2000-09-20 19:50:28 +00:00
utils * merges from fixes 2000-08-04 22:00:50 +00:00
aasm.pas * store strings with case in ppu, when an internal symbol is created 2000-08-27 20:19:38 +00:00
ag68kgas.pas + removed logs 2000-07-13 11:32:24 +00:00
ag68kmit.pas + removed logs 2000-07-13 11:32:24 +00:00
ag68kmot.pas + removed logs 2000-07-13 11:32:24 +00:00
ag68kmpw.pas + removed logs 2000-07-13 11:32:24 +00:00
ag386att.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
ag386bin.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
ag386int.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
ag386nsm.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
aopt386.pas * for all optimization levels > 1, all passes are done twice (the 2000-08-19 09:10:08 +00:00
assemble.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
browcol.pas + first implementation of Netware Module support, thanks to 2000-09-11 17:00:22 +00:00
browlog.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
bsdcompile * Simple script which specifies the right params for a try out BSD build 2000-04-11 13:06:25 +00:00
catch.pas * bsd patches from marco 2000-09-10 20:26:55 +00:00
cg68kadd.pas + removed logs 2000-07-13 11:32:24 +00:00
cg68kcal.pas + removed logs 2000-07-13 11:32:24 +00:00
cg68kcnv.pas + removed logs 2000-07-13 11:32:24 +00:00
cg68kcon.pas + removed logs 2000-07-13 11:32:24 +00:00
cg68kflw.pas + removed logs 2000-07-13 11:32:24 +00:00
cg68kinl.pas + removed logs 2000-07-13 11:32:24 +00:00
cg68kld.pas + removed logs 2000-07-13 11:32:24 +00:00
cg68kmat.pas + removed logs 2000-07-13 11:32:24 +00:00
cg68kmem.pas + removed logs 2000-07-13 11:32:24 +00:00
cg68kset.pas + removed logs 2000-07-13 11:32:24 +00:00
cg386add.pas + support for full boolean evaluation (b+/b-), default remains short 2000-09-21 11:30:49 +00:00
cg386cal.pas * problems wih extdebug cond. solved 2000-09-19 23:09:07 +00:00
cg386cnv.pas * string to chararray with stringconst only supports shortstring, don't 2000-08-29 18:31:32 +00:00
cg386con.pas + support of 64 bit integer constants 2000-08-16 13:06:06 +00:00
cg386flw.pas * push ebp instead of 0 for raise without address 2000-08-29 18:41:02 +00:00
cg386inl.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
cg386ld.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
cg386mat.pas * fixed bug in flagsinvers array for unsigned flags (fixed web bug 2000-09-18 10:15:48 +00:00
cg386mem.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
cg386set.pas + case statement for int64/qword implemented 2000-08-12 06:46:06 +00:00
cga68k.pas + removed logs 2000-07-13 11:32:24 +00:00
cgai386.pas * freebsd support merged 2000-09-16 12:22:52 +00:00
cobjects.pas * store strings with case in ppu, when an internal symbol is created 2000-08-27 20:19:38 +00:00
comphook.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
compiler.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
comprsrc.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
cpuasm.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
cpubase.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
cpuinfo.pas + support of 64 bit integer constants 2000-08-16 13:06:06 +00:00
crc.pas * new ppu version 2000-08-13 13:04:38 +00:00
cresstr.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
csopt386.pas + much improved CSE: the CSE now searches further back for sequences it 2000-09-20 15:00:58 +00:00
cutils.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
daopt386.pas + much improved CSE: the CSE now searches further back for sequences it 2000-09-20 15:00:58 +00:00
depend
dmisc.pas + removed logs 2000-07-13 11:32:24 +00:00
errord.msg * class member decl wrong then no other error after it 2000-08-13 12:54:53 +00:00
errore.msg * fixed help screen for -Sa 2000-09-19 17:33:25 +00:00
errores.msg * class member decl wrong then no other error after it 2000-08-13 12:54:53 +00:00
errorf.msg * class member decl wrong then no other error after it 2000-08-13 12:54:53 +00:00
errorn.msg * class member decl wrong then no other error after it 2000-08-13 12:54:53 +00:00
errorr.msg * class member decl wrong then no other error after it 2000-08-13 12:54:53 +00:00
errorrw.msg * class member decl wrong then no other error after it 2000-08-13 12:54:53 +00:00
export.pas * freebsd support merged 2000-09-16 12:22:52 +00:00
finput.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
fmodule.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
fpc.pas + removed logs 2000-07-13 11:32:24 +00:00
gdb.pas + removed logs 2000-07-13 11:32:24 +00:00
gendef.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
globals.pas + first implementation of Netware Module support, thanks to 2000-09-11 17:00:22 +00:00
globtype.pas + support for full boolean evaluation (b+/b-), default remains short 2000-09-21 11:30:49 +00:00
hcgdata.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
hcodegen.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
htypechk.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
i386att.inc * several FPU instructions weren't marked as reading operand one (like 2000-07-26 12:25:33 +00:00
i386atts.inc * several FPU instructions weren't marked as reading operand one (like 2000-07-26 12:25:33 +00:00
i386ins.dat * several FPU instructions weren't marked as reading operand one (like 2000-07-26 12:25:33 +00:00
i386int.inc * several FPU instructions weren't marked as reading operand one (like 2000-07-26 12:25:33 +00:00
i386nop.inc + i386nop.inc now contains the number of opcodes 2000-05-09 10:35:19 +00:00
i386op.inc * several FPU instructions weren't marked as reading operand one (like 2000-07-26 12:25:33 +00:00
i386prop.inc * several FPU instructions weren't marked as reading operand one (like 2000-07-26 12:25:33 +00:00
i386tab.inc * several FPU instructions weren't marked as reading operand one (like 2000-07-26 12:25:33 +00:00
impdef.pas + removed logs 2000-07-13 11:32:24 +00:00
import.pas * freebsd support merged 2000-09-16 12:22:52 +00:00
innr.inc + support of 64 bit integer constants 2000-08-16 13:06:06 +00:00
link.pas * freebsd support merged 2000-09-16 12:22:52 +00:00
make.cmd
Makefile * regenerated 2000-09-20 19:50:28 +00:00
Makefile.fpc * merged fixes 2000-09-16 20:12:15 +00:00
mdppc386.bat
messages.pas + removed logs 2000-07-13 11:32:24 +00:00
mppc68k.bat
mppc386.bat
msgidx.inc + netware target added 2000-09-11 17:12:29 +00:00
msgtxt.inc + netware target added 2000-09-11 17:12:29 +00:00
n386add.pas * initial revision 2000-09-20 21:23:32 +00:00
nadd.pas * put piece of code between -dnewoptimizations2 since it wasn't 2000-09-21 12:22:42 +00:00
ncal.pas * removed a lot of errors 2000-09-20 21:52:38 +00:00
nmat.pas * initial revision 2000-09-20 21:35:12 +00:00
node.inc * removed a lot of errors 2000-09-20 21:52:38 +00:00
node.pas * removed a lot of errors 2000-09-20 21:52:38 +00:00
nodeh.inc * removed a lot of errors 2000-09-20 21:52:38 +00:00
og386.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
og386cff.pas * problems wih extdebug cond. solved 2000-09-19 23:09:07 +00:00
og386dbg.pas + patched to 1.1.0 with former 1.09patch from peter 2000-07-13 12:08:24 +00:00
og386elf.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
options.pas * Definition of multiple FreeBSD target defines moved to after error check 2000-09-18 12:28:41 +00:00
opts68k.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
opts386.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
owar.pas * new tdynamicarray implementation using blocks instead of 2000-08-19 18:44:27 +00:00
owbase.pas * new tdynamicarray implementation using blocks instead of 2000-08-19 18:44:27 +00:00
parser.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
pass_1.pas * problems wih extdebug cond. solved 2000-09-19 23:09:07 +00:00
pass_2.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
pbase.pas * store strings with case in ppu, when an internal symbol is created 2000-08-27 20:19:38 +00:00
pdecl.pas + first implementation of Netware Module support, thanks to 2000-09-11 17:00:22 +00:00
pexports.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
pexpr.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
pmodules.pas + Applied patch from Peter 2000-08-31 07:53:02 +00:00
popt386.pas * fixed web bug #1133 (merged from fixes branch) 2000-09-18 11:28:36 +00:00
pp.pas + removed logs 2000-07-13 11:32:24 +00:00
ppc.dpr + Initial import 2000-07-13 06:29:38 +00:00
ppheap.pas + removed logs 2000-07-13 11:32:24 +00:00
ppovin.pas + removed logs 2000-07-13 11:32:24 +00:00
ppu.pas * new ppu version 2000-08-13 13:04:38 +00:00
pstatmnt.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
psub.pas * overload checking in implementation removed (merged) 2000-09-10 20:11:07 +00:00
psystem.pas * store strings with case in ppu, when an internal symbol is created 2000-08-27 20:19:38 +00:00
ptconst.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
ptype.pas * store strings with case in ppu, when an internal symbol is created 2000-08-27 20:19:38 +00:00
ra68kmot.pas + removed logs 2000-07-13 11:32:24 +00:00
ra386.pas * freebsd support merged 2000-09-16 12:22:52 +00:00
ra386att.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
ra386dir.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
ra386int.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
rautils.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
README * fixed some vmt problems, especially related to overloaded methods 2000-05-11 06:53:48 +00:00
regvars.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
scandir.inc + first implementation of Netware Module support, thanks to 2000-09-11 17:00:22 +00:00
scanner.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
script.pas + removed logs 2000-07-13 11:32:24 +00:00
switches.pas + support for full boolean evaluation (b+/b-), default remains short 2000-09-21 11:30:49 +00:00
symconst.pas * fix the stabs problems 2000-08-21 11:27:44 +00:00
symdef.inc * fixes for local class debuggging problem (merged) 2000-09-19 23:08:02 +00:00
symdefh.inc * fixes for local class debuggging problem (merged) 2000-09-19 23:08:02 +00:00
symppu.inc + removed logs 2000-07-13 11:32:24 +00:00
symsym.inc * fixes for local class debuggging problem (merged) 2000-09-19 23:08:02 +00:00
symsymh.inc * store strings with case in ppu, when an internal symbol is created 2000-08-27 20:19:38 +00:00
symtable.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
systems.pas * Set writer to elf. (Only a prob for smart with -OG3p3r) 2000-09-20 10:49:39 +00:00
t_freebsd.pas * freebsd support routines 2000-09-16 12:24:00 +00:00
t_go32v1.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
t_go32v2.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
t_linux.pas * bsd patches from marco 2000-09-10 20:26:55 +00:00
t_nwm.pas + first implementation of Netware Module support, thanks to 2000-09-11 17:00:22 +00:00
t_os2.pas * fixed staticlib filename and unitlink instead of otherlinky 2000-09-20 19:38:34 +00:00
t_win32.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
tcadd.pas * put piece of code between -dnewoptimizations2 since it wasn't 2000-09-21 12:22:17 +00:00
tccal.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
tccnv.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
tccon.pas + removed logs 2000-07-13 11:32:24 +00:00
tcflw.pas * fixed for counter var check (merged) 2000-09-10 21:19:40 +00:00
tcinl.pas * fixed crash when using include/exclude with undeclared variable as 2000-08-24 13:12:38 +00:00
tcld.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
tcmat.pas * fixed several problems with the int64 constants 2000-08-17 12:03:48 +00:00
tcmem.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
tcset.pas + case statement for int64/qword implemented 2000-08-12 06:46:06 +00:00
temp_gen.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
tgen68k.pas + removed logs 2000-07-13 11:32:24 +00:00
tgeni386.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
todo.txt
tokendat.pas + removed logs 2000-07-13 11:32:24 +00:00
tokens.dat * merged fixes 2000-07-30 17:04:43 +00:00
tokens.pas + patched to 1.1.0 with former 1.09patch from peter 2000-07-13 12:08:24 +00:00
tpexcept.pas + removed logs 2000-07-13 11:32:24 +00:00
tree.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
types.pas * fixed bug in push_addr_param for arrays (merged from fixes branch) 2000-09-18 12:31:15 +00:00
verbose.pas * moved some util functions from globals,cobjects to cutils 2000-08-27 16:11:48 +00:00
version.pas + Adapted wordversion 2000-07-14 05:14:10 +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 compile/modify the compiler, please read first the
programmers manual.


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
  07/11/99   Small change to property writing in PPU => all units
             exporting classes with properties must be recompiled
             (no new unit format, so be careful) (FK)
  08/11/99   PP variable in Makefiles changed to FPC
  14/11/99   makefile.fpc is not available anymore. You must now use fpcmake
             which is available from the utils/. There is also an example
             Makefile.fpc
  15/02/00   The support of the fixed data type has been removed from the
             compiler because
                1. it is buggy
                2. it is very seldom used
                3. the single data type is faster on modern cpus (Pentium+)

             If still want to use it, you have to recompile the compiler
             with -dSUPPORT_FIXED and recompile the rtl with that compiler.
             To find out if the used compiler supports the fixed data
             type, check the directive HASFIXED  (FK)
  29/02/00   ORDERSOURCES released => PPU version change
             this allows for a more correct include file hunting order.
  01/04/00   fix the handling of value parameters in cdecl function
  11/05/00   changed vmt handling to fix problems some problems
             with overloading in objects