peter 521b0a2672 * cargs must also increase pushedparasize else it won't be 'popped' vor 26 Jahren
..
m68k e525797c51 * updated copyright to 2000 vor 26 Jahren
new dfca2834a9 * regenerated vor 26 Jahren
utils 80e64da3df * fixed fpu suffix parsing for att reader vor 26 Jahren
Makefile dfca2834a9 * regenerated vor 26 Jahren
Makefile.fpc 14170d7d11 * install now doesn't install symlink anymore vor 26 Jahren
README 46ae55d3cd * makefile.fpc note vor 26 Jahren
aasm.pas 38b993f7dc * moved skipinstr from daopt386 to aasm vor 26 Jahren
ag386att.pas 80e64da3df * fixed fpu suffix parsing for att reader vor 26 Jahren
ag386bin.pas c449017899 * avoid startsec=sec_none vor 26 Jahren
ag386int.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ag386nsm.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ag68kgas.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ag68kmit.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ag68kmot.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ag68kmpw.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
aopt386.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
assemble.pas 6607475609 * fixed placing of .sl directories vor 26 Jahren
browcol.pas 627683b64d * StoreBrowserCol changed to boolean function vor 26 Jahren
browlog.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
catch.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg386add.pas 04d18a2964 * fixed bug introduced by my regalloc fixed :( vor 26 Jahren
cg386cal.pas 298677e4aa * fixed pop_size included twice with clearstack vor 26 Jahren
cg386cnv.pas 04a3db19c2 * moved deallocation of registers used in reference that points to string after vor 26 Jahren
cg386con.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg386flw.pas 60d858c278 * regallocation fixes vor 26 Jahren
cg386inl.pas 62df907953 * abstractprocdef.para_size needs alignment parameter vor 26 Jahren
cg386ld.pas 521b0a2672 * cargs must also increase pushedparasize else it won't be 'popped' vor 26 Jahren
cg386mat.pas 567966baad * slighly improved code for -<qword> and -<int64> vor 26 Jahren
cg386mem.pas 7b87725809 * fixed misplaced getexplicitreg(r_edi) which broke make cycle vor 26 Jahren
cg386set.pas 23d69a5126 * changed edi allocation to use getexplicitregister32/ungetregister vor 26 Jahren
cg68kadd.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg68kcal.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg68kcnv.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg68kcon.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg68kflw.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg68kinl.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg68kld.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg68kmat.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg68kmem.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cg68kset.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cga68k.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cgai386.pas da01d99789 * Range check for int64 produces a warning only vor 26 Jahren
cobjects.pas edf419d5a7 * removed a lot of memory leaks when an error is encountered (caused by vor 26 Jahren
comphook.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
compiler.pas edf419d5a7 * removed a lot of memory leaks when an error is encountered (caused by vor 26 Jahren
comprsrc.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cpuasm.pas 332c7a568f * CMOV support in optimizer (in define USECMOV) vor 26 Jahren
cpubase.pas 80e64da3df * fixed fpu suffix parsing for att reader vor 26 Jahren
cpuinfo.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
cresstr.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
csopt386.pas 38b993f7dc * moved skipinstr from daopt386 to aasm vor 26 Jahren
daopt386.pas 38b993f7dc * moved skipinstr from daopt386 to aasm vor 26 Jahren
depend e525797c51 * updated copyright to 2000 vor 26 Jahren
dmisc.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
errord.msg 98abf80f1f * updated German message file vor 26 Jahren
errore.msg 0d63b79f38 * helpscreen updates vor 26 Jahren
errores.msg e525797c51 * updated copyright to 2000 vor 26 Jahren
errorf.msg e525797c51 * updated copyright to 2000 vor 26 Jahren
errorn.msg e525797c51 * updated copyright to 2000 vor 26 Jahren
errorr.msg e525797c51 * updated copyright to 2000 vor 26 Jahren
export.pas 6f3e82438e * only give unsupported error once vor 26 Jahren
files.pas 6607475609 * fixed placing of .sl directories vor 26 Jahren
gdb.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
gendef.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
globals.pas 4b25d85637 * $VERSION is now also substituted in -F paths (that have subst active) vor 26 Jahren
globtype.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
hcgdata.pas 997ddf88f9 * virtual XXXX; support for objects, only if -dWITHDMT is defined vor 26 Jahren
hcodegen.pas 25dda03cdc * renamed call_offset to para_offset vor 26 Jahren
htypechk.pas f387340dbc * allow class -> voidpointer for delphi mode vor 26 Jahren
i386att.inc 67589c0532 * fixed typo vor 26 Jahren
i386atts.inc 80e64da3df * fixed fpu suffix parsing for att reader vor 26 Jahren
i386ins.dat 80e64da3df * fixed fpu suffix parsing for att reader vor 26 Jahren
i386int.inc 67589c0532 * fixed typo vor 26 Jahren
i386op.inc 67589c0532 * fixed typo vor 26 Jahren
i386prop.inc 0a2e7859d2 * Jcc doesn't destroy anything (instead of everyting) vor 26 Jahren
i386tab.inc 80e64da3df * fixed fpu suffix parsing for att reader vor 26 Jahren
import.pas 6f3e82438e * only give unsupported error once vor 26 Jahren
innr.inc e525797c51 * updated copyright to 2000 vor 26 Jahren
link.pas 68e4d27435 * use ./ instead of . to look into startup dir vor 26 Jahren
make.cmd e525797c51 * updated copyright to 2000 vor 26 Jahren
mdppc386.bat 47fd93dfa5 * more fixes to get it with delphi running vor 27 Jahren
messages.pas 4216d26c2f * fixed wrong freemem size when loading message file vor 26 Jahren
mppc386.bat e53aceb9be + floating point register variables !! vor 26 Jahren
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit vor 28 Jahren
msgidx.inc 0d63b79f38 * helpscreen updates vor 26 Jahren
msgtxt.inc 0d63b79f38 * helpscreen updates vor 26 Jahren
og386.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
og386cff.pas 96ed273164 * smartlinking fixes for binary writer vor 26 Jahren
og386dbg.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
og386elf.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
options.pas 4d0c25c096 * fixed default unit location for linux when fpcdir was not set vor 26 Jahren
opts386.pas 332c7a568f * CMOV support in optimizer (in define USECMOV) vor 26 Jahren
opts68k.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
owar.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
owbase.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
parser.pas 332c7a568f * CMOV support in optimizer (in define USECMOV) vor 26 Jahren
pass_1.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
pass_2.pas e5af12b684 * forgot to commit a procedure for -dlogsecondpass the last time vor 26 Jahren
pbase.pas edf419d5a7 * removed a lot of memory leaks when an error is encountered (caused by vor 26 Jahren
pdecl.pas 1eb30ec4e8 * bug #801 fixed vor 26 Jahren
pexports.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
pexpr.pas 6c3bbb7915 * corrected wrong error message of a member of a class/object/classref wasn't found vor 26 Jahren
pmodules.pas 25dda03cdc * renamed call_offset to para_offset vor 26 Jahren
popt386.pas b2098c4de5 * some improvemenst to cmov support vor 26 Jahren
pp.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ppc.dpr e525797c51 * updated copyright to 2000 vor 26 Jahren
ppheap.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ppovin.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ppu.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
pstatmnt.pas f16647ede6 * fixed destructor parsing with preprocessor things vor 26 Jahren
psub.pas 997ddf88f9 * virtual XXXX; support for objects, only if -dWITHDMT is defined vor 26 Jahren
psystem.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ptconst.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ptype.pas 997ddf88f9 * virtual XXXX; support for objects, only if -dWITHDMT is defined vor 26 Jahren
ra386.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ra386att.pas 80e64da3df * fixed fpu suffix parsing for att reader vor 26 Jahren
ra386dir.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ra386int.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
ra68kmot.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
rautils.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
scandir.inc 170d305b21 * avoid searching of include file in start dir first vor 26 Jahren
scanner.pas 706e0c4417 * fixed filepos when eof is read, it'll now stay on the eof position vor 26 Jahren
script.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
switches.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
symconst.pas 99fe175be6 * added st_default stringtype vor 26 Jahren
symdef.inc bf32e168f9 * fixed dup rtti writing for classes vor 26 Jahren
symdefh.inc 62df907953 * abstractprocdef.para_size needs alignment parameter vor 26 Jahren
symppu.inc e525797c51 * updated copyright to 2000 vor 26 Jahren
symsym.inc e525797c51 * updated copyright to 2000 vor 26 Jahren
symsymh.inc e525797c51 * updated copyright to 2000 vor 26 Jahren
symtable.pas 96ed273164 * smartlinking fixes for binary writer vor 26 Jahren
systems.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
t_go32v1.pas 7a2344bd3f * GROUP of smartlink units put before the C libraries vor 26 Jahren
t_go32v2.pas 7a2344bd3f * GROUP of smartlink units put before the C libraries vor 26 Jahren
t_linux.pas 6607475609 * fixed placing of .sl directories vor 26 Jahren
t_os2.pas 7a2344bd3f * GROUP of smartlink units put before the C libraries vor 26 Jahren
t_win32.pas 83c82663f2 * fixed group() writing vor 26 Jahren
tcadd.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
tccal.pas c464f091be * set_varstate must be called after typeconv insertions vor 26 Jahren
tccnv.pas 99fe175be6 * added st_default stringtype vor 26 Jahren
tccon.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
tcflw.pas 6e93fdbae0 * allow funcret also as counter variable vor 26 Jahren
tcinl.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
tcld.pas eb1715ded4 * fixed for the fix of bug #793 vor 26 Jahren
tcmat.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
tcmem.pas 36d70740f9 * suppress wrong warning for with vars vor 26 Jahren
tcset.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
temp_gen.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
tgen68k.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
tgeni386.pas 60d858c278 * regallocation fixes vor 26 Jahren
todo.txt 51f8c5a754 * lineifno vor 26 Jahren
tokendat.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
tokens.dat dc4b6d1710 * regenerated, it was broken by a previous commit vor 26 Jahren
tokens.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
tpexcept.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
tree.pas 62df907953 * abstractprocdef.para_size needs alignment parameter vor 26 Jahren
types.pas 49365d74ba * is_voidpointer vor 26 Jahren
verbose.pas e525797c51 * updated copyright to 2000 vor 26 Jahren
version.pas 88711c2e7f + Changed patch number to 15 vor 26 Jahren

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
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