fpc/compiler
2000-06-25 20:13:51 +00:00
..
m68k
new * smart,shared lib including for rpm/deb 2000-05-26 20:50:09 +00:00
utils * moved to utils 2000-06-01 10:58:47 +00:00
aasm.pas * aasm.pas: pai_align instead of pai_align_abstract if cpu <> i386 2000-04-22 14:25:03 +00:00
ag68kgas.pas * some debug related updates 2000-04-14 12:49:11 +00:00
ag68kmit.pas * some debug related updates 2000-04-14 12:49:11 +00:00
ag68kmot.pas
ag68kmpw.pas
ag386att.pas * changed to compile with Delphi, reported by Kovacs Attila Zoltan 2000-05-11 09:59:40 +00:00
ag386bin.pas * fix the -g-l option 2000-04-12 12:42:28 +00:00
ag386int.pas * fix the FDIV FDIVR FSUB FSUBR and popping equivalent 2000-05-12 21:26:22 +00:00
ag386nsm.pas * add implicit args for FADDP 2000-05-15 14:11:45 +00:00
aopt386.pas
assemble.pas * added ifdef fpc around findclose 2000-06-01 19:11:19 +00:00
browcol.pas * small error fix 2000-06-19 19:56:43 +00:00
browlog.pas
bsdcompile * Simple script which specifies the right params for a try out BSD build 2000-04-11 13:06:25 +00:00
catch.pas * For BSD signals are off for now 2000-04-07 20:52:24 +00:00
cg68kadd.pas
cg68kcal.pas
cg68kcnv.pas
cg68kcon.pas
cg68kflw.pas
cg68kinl.pas
cg68kld.pas
cg68kmat.pas
cg68kmem.pas
cg68kset.pas
cg386add.pas * fixed bug in shlmul code 2000-06-10 17:32:44 +00:00
cg386cal.pas * fix addrn with procvar, also detected by testpva2 ! 2000-06-04 09:05:05 +00:00
cg386cnv.pas * fixed wrong register deallocations in several ansistring related 2000-05-26 20:16:00 +00:00
cg386con.pas * empty ansistring now use constant value of 0 2000-06-18 18:09:31 +00:00
cg386flw.pas * fixed a problem when returning int64/qword from a function in -Or: in some 2000-05-09 19:05:56 +00:00
cg386inl.pas * fixed several compare problems between longints and 2000-05-11 09:56:20 +00:00
cg386ld.pas * fixed size of const parameters in asm readers 2000-05-18 17:05:15 +00:00
cg386mat.pas * not(b) if b is a register variable, didn't work, fixed 2000-03-19 15:20:22 +00:00
cg386mem.pas * sometimes wrong range checking code for arrays was generated when 2000-04-11 20:36:39 +00:00
cg386set.pas * fixed my previous commit 2000-05-17 11:42:27 +00:00
cga68k.pas
cgai386.pas * loadord2reg doesn't generate any "movl %reg1,%reg1" anymore 2000-06-10 17:31:42 +00:00
cobjects.pas * fixed several compare problems between longints and 2000-05-11 09:56:20 +00:00
comphook.pas * New bunch of Gabor changes 2000-05-29 10:04:40 +00:00
compiler.pas * New bunch of Gabor changes 2000-05-29 10:04:40 +00:00
comprsrc.pas + $R support for OS/2 (EMX) added 2000-06-25 19:08:27 +00:00
cpuasm.pas * fixed instruction matching when a size flag is specified for all 2000-05-23 20:34:35 +00:00
cpubase.pas * attsuffix table is also needed for ra386int 2000-05-23 20:33:37 +00:00
cpuinfo.pas
crc.pas CRC calculation placed into a unit 2000-05-15 13:12:25 +00:00
cresstr.pas * resource string numbering 2000-06-04 08:48:54 +00:00
csopt386.pas * removed unused var 2000-06-18 18:13:12 +00:00
daopt386.pas * removed notes 2000-06-01 11:01:20 +00:00
depend
dmisc.pas * Reset DosError in Exec reported by Kovacs Attila Zoltan 2000-05-12 05:51:43 +00:00
errord.msg + $R support for OS/2 (EMX) added, little correction (marco to macro) 2000-06-25 19:28:53 +00:00
errore.msg + $R support for OS/2 (EMX) added, little correction (marco to macro) 2000-06-25 19:28:53 +00:00
errores.msg + $R support for OS/2 (EMX) added, little correction (marco to macro) 2000-06-25 19:28:53 +00:00
errorf.msg + $R support for OS/2 (EMX) added, little correction (marco to macro) 2000-06-25 19:28:53 +00:00
errorn.msg + $R support for OS/2 (EMX) added, little correction (marco to macro) 2000-06-25 19:28:53 +00:00
errorr.msg + $R support for OS/2 (EMX) added, little correction (marco to macro) 2000-06-25 19:28:53 +00:00
export.pas
files.pas * first look for ppu in cwd and outputpath and after that for source 2000-06-15 18:10:11 +00:00
gdb.pas * * get it to compile with Delphi by Kovacs Attila Zoltan 2000-05-12 05:55:04 +00:00
gendef.pas
globals.pas * smart link is default on win32 2000-06-19 19:57:19 +00:00
globtype.pas * fixed pchar->string conversion for delphi mode 2000-06-11 07:00:21 +00:00
hcgdata.pas * equal_paras and convertable_paras changed by transforming third parameter 2000-06-20 12:47:52 +00:00
hcodegen.pas * made resourcestrings OOP so it's easier to handle it per module 2000-06-01 19:09:56 +00:00
htypechk.pas * fixed pchar<->[string,chararray] operations 2000-06-18 19:41:19 +00:00
i386att.inc + i386nop.inc now contains the number of opcodes 2000-05-09 10:35:19 +00:00
i386atts.inc + i386nop.inc now contains the number of opcodes 2000-05-09 10:35:19 +00:00
i386ins.dat * FADD without arg is alias of FADDP 2000-05-15 14:10:48 +00:00
i386int.inc + i386nop.inc now contains the number of opcodes 2000-05-09 10:35:19 +00:00
i386nop.inc + i386nop.inc now contains the number of opcodes 2000-05-09 10:35:19 +00:00
i386op.inc + i386nop.inc now contains the number of opcodes 2000-05-09 10:35:19 +00:00
i386prop.inc + i386nop.inc now contains the number of opcodes 2000-05-09 10:35:19 +00:00
i386tab.inc * FADD without arg is alias of FADDP 2000-05-15 14:10:48 +00:00
impdef.pas + pavel's code integrated, but onyl inside 2000-05-23 20:18:25 +00:00
import.pas
innr.inc
link.pas * removed wrong warning for library finding 2000-05-17 18:30:35 +00:00
make.cmd
Makefile * wrong fpcmake.ini corrected 2000-06-15 20:46:02 +00:00
Makefile.fpc * fix the windows unit import problem by forcing smart linking for win32 2000-06-15 20:26:51 +00:00
mdppc386.bat
messages.pas * only replace the $1,$2,$3 once, so it doesn't loop when the 2000-06-18 18:14:21 +00:00
mppc68k.bat
mppc386.bat
msgidx.inc + $R support for OS/2 (EMX) added 2000-06-25 19:08:27 +00:00
msgtxt.inc + $R support for OS/2 (EMX) added 2000-06-25 19:08:27 +00:00
og386.pas
og386cff.pas * fix the problem of long mangledname in internal writer 2000-06-21 20:56:37 +00:00
og386dbg.pas
og386elf.pas * some more updates 2000-03-21 21:36:05 +00:00
options.pas * smart link is default on win32 2000-06-19 19:57:19 +00:00
opts68k.pas
opts386.pas * first implementation of -Oa switch 2000-05-31 06:57:11 +00:00
owar.pas * fixed bug #903: the compiler gives now a nice message if it can't create 2000-04-02 15:22:17 +00:00
owbase.pas * fixed bug #903: the compiler gives now a nice message if it can't create 2000-04-02 15:22:17 +00:00
parser.pas * made resourcestrings OOP so it's easier to handle it per module 2000-06-01 19:09:56 +00:00
pass_1.pas * fixed unreachable code detection 2000-05-25 12:00:14 +00:00
pass_2.pas * avoid bug #911, worng unused parameter hints 2000-04-06 11:28:17 +00:00
pbase.pas
pdecl.pas * align all variants to same start address 2000-06-23 21:34:09 +00:00
pexports.pas * fixed check for exporting var or proc 2000-04-24 12:47:27 +00:00
pexpr.pas * support for inherited; only 2000-06-14 16:52:42 +00:00
pmodules.pas * first look for ppu in cwd and outputpath and after that for source 2000-06-15 18:10:11 +00:00
popt386.pas + support for inc/dec/imul in foldarithops 2000-06-14 06:05:06 +00:00
pp.pas * fixed bug #903: the compiler gives now a nice message if it can't create 2000-04-02 15:22:17 +00:00
ppc.dpr
ppheap.pas
ppovin.pas
ppu.pas CRC stuff moved to CRC unit 2000-05-15 13:19:04 +00:00
pstatmnt.pas * bug found by Kovacs Attila Zoltan corrected 2000-05-04 12:59:10 +00:00
psub.pas * fixed a problem with forward declarations in TP mode, probably introduced by 2000-06-25 20:13:51 +00:00
psystem.pas
ptconst.pas * ansistring constants now also get a trailing #0 (bug reported by 2000-06-06 13:06:17 +00:00
ptype.pas * equal_paras and convertable_paras changed by transforming third parameter 2000-06-20 12:47:52 +00:00
ra68kmot.pas
ra386.pas + add a warning if using ENTER instruction with linux target 2000-05-17 11:08:24 +00:00
ra386att.pas * fixed + record.field expressions 2000-06-18 19:09:30 +00:00
ra386dir.pas
ra386int.pas * fixed + record.field expressions 2000-06-18 19:09:30 +00:00
rautils.pas * fixed % parsing and added modulo support 2000-05-26 18:23:09 +00:00
README * fixed some vmt problems, especially related to overloaded methods 2000-05-11 06:53:48 +00:00
scandir.inc + $R support for OS/2 (EMX) added 2000-06-25 19:08:27 +00:00
scanner.pas * no binary value reading with % if not fpc mode 2000-06-18 18:05:54 +00:00
script.pas
switches.pas * fix problem when modifying several local switches in a row 2000-05-09 21:31:50 +00:00
symconst.pas * C record packing fixed to also check first entry of the record 2000-06-18 18:11:32 +00:00
symdef.inc * setdef.typename, show Empty Set if elementtype is not set 2000-06-25 09:25:29 +00:00
symdefh.inc + fieldtable support for classes 2000-06-02 18:48:47 +00:00
symppu.inc
symsym.inc * alignment for record changed for C packing mostly 2000-06-23 21:32:45 +00:00
symsymh.inc * C record packing fixed to also check first entry of the record 2000-06-18 18:11:32 +00:00
symtable.pas * align all variants to same start address 2000-06-23 21:34:09 +00:00
systems.pas + $R support for OS/2 (EMX) added 2000-06-25 19:08:27 +00:00
t_go32v1.pas
t_go32v2.pas
t_linux.pas * only include crtbegin when linking to libc 2000-03-21 21:36:52 +00:00
t_os2.pas + $R support for OS/2 (EMX) added 2000-06-25 19:08:27 +00:00
t_win32.pas * do not create an empty export section 2000-06-20 12:44:30 +00:00
tcadd.pas * operator overloading now uses isbinaryoperatoracceptable 2000-06-02 21:24:46 +00:00
tccal.pas * const parameters were not prevented from becoming regvars (causing 2000-05-25 07:44:11 +00:00
tccnv.pas * fix for bug #866 2000-03-14 15:05:18 +00:00
tccon.pas
tcflw.pas * fix for tbs/tbs0318.pp bug 2000-06-02 21:14:34 +00:00
tcinl.pas * fixed another problem with readln(<floating point register variable>); 2000-04-02 18:30:11 +00:00
tcld.pas * fixed crash with resourcestring in const 2000-05-15 19:29:50 +00:00
tcmat.pas + support for NOT overloading 2000-06-05 20:41:17 +00:00
tcmem.pas * fixed pointer->array conversion when resulttype was already set 2000-04-08 09:30:01 +00:00
tcset.pas
temp_gen.pas Use a multiple of 4 to substract from stack pointer for locals and temps 2000-05-23 13:55:27 +00:00
tgen68k.pas
tgeni386.pas * fixed another problem with readln(<floating point register variable>); 2000-04-02 18:30:11 +00:00
todo.txt
tokendat.pas
tokens.dat * support overload keyword 2000-06-18 18:12:40 +00:00
tokens.pas * support overload keyword 2000-06-18 18:12:40 +00:00
tpexcept.pas * Delphi implementation by Kovacs Attila Zoltan 2000-05-11 09:36:22 +00:00
tree.pas Generate a warning if function result is a pointer and result^:=x; is used 2000-06-06 20:24:07 +00:00
types.pas * equal_paras and convertable_paras changed by transforming third parameter 2000-06-20 12:47:52 +00:00
verbose.pas * removed dup msgcrcvalue 2000-05-23 20:32:48 +00:00
version.pas * add OPT for optimizing compiler 2000-03-21 21:35:27 +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