peter 00ef632f73 * fixed assert, the tree is now disposed in firstpass if assertions 26 年之前
..
m68k a0badc3a30 * initial revision 26 年之前
new 9feb0d4b0e + entry/exitcode for SystemV (Linux) and AIX/Mac from the Altivec 26 年之前
utils 26a239136d * update to use i386ins.dat 26 年之前
Makefile 9a3d560559 Added rtlinstall target 26 年之前
README dd0d54cdef * added pointer and asm field axx 26 年之前
aasm.pas f5a9e30c98 * insns.dat is used to generate all i386*.inc files 26 年之前
ag386att.pas f5a9e30c98 * insns.dat is used to generate all i386*.inc files 26 年之前
ag386bin.pas dc7dcdd2a6 * short jmp with alignment problems fixed 26 年之前
ag386int.pas 96bd939047 * added symbol_end 26 年之前
ag386nsm.pas 1163717044 * fix for jmps to be always near 26 年之前
ag68kgas.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
ag68kmit.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
ag68kmot.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
ag68kmpw.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
aopt386.pas a9b5e27bc1 * finally got around making GetNextInstruction return false when 26 年之前
assemble.pas 910372616a * typo correction 26 年之前
browcol.pas 503d5a1cfa * const parameter is now checked 26 年之前
browlog.pas ed8eb13d59 * moved bitmask constants to sets 26 年之前
catch.pas da93f32ae0 * resources are working again 26 年之前
cg386add.pas 9f62eb480b * the maybe_push fix of Pierre wasn't 100%, the tree parameter 26 年之前
cg386cal.pas 503d5a1cfa * const parameter is now checked 26 年之前
cg386cnv.pas 44a1fdfa7e * ansistring 2 chararray support 26 年之前
cg386con.pas 2687d75c38 + constant pointer support which can happend with typecasting like 26 年之前
cg386flw.pas 0dd2b51943 * problems with readln fixed: esi wasn't restored correctly when 26 年之前
cg386inl.pas 00ef632f73 * fixed assert, the tree is now disposed in firstpass if assertions 26 年之前
cg386ld.pas 51b96fabc3 * compiler didn't complain about l1+l2:=l1+l2; it gave only an assembler 26 年之前
cg386mat.pas 9f62eb480b * the maybe_push fix of Pierre wasn't 100%, the tree parameter 26 年之前
cg386mem.pas 7f63615b43 * @procvar fixes for tp mode 26 年之前
cg386set.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
cg68kadd.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
cg68kcal.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
cg68kcnv.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
cg68kcon.pas 71f28ed588 * cs_create_smart instead of cs_smartlink 26 年之前
cg68kflw.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
cg68kinl.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
cg68kld.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
cg68kmat.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
cg68kmem.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
cg68kset.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
cga68k.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
cgai386.pas 4a74f18756 * fixed bug #301 26 年之前
cobjects.pas 503d5a1cfa * const parameter is now checked 26 年之前
comphook.pas 2e65e6a618 + added do_halt procedure 26 年之前
compiler.pas 8b9633266b * new codegenerator compiles again 26 年之前
comprsrc.pas 046acfb84b * made it compilable with Dlephi 4 again 26 年之前
cpuasm.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 年之前
cpubase.pas f5a9e30c98 * insns.dat is used to generate all i386*.inc files 26 年之前
cpuinfo.pas be3155fdde + initial revision 26 年之前
cresstr.pas 76f28920e9 * Fixed small bug: next field in resourcelist was not initialized 26 年之前
csopt386.pas 9a8ecfc76b * fixed bug which sometimes caused a crash when optimizing blocks of code with 26 年之前
daopt386.pas f5a9e30c98 * insns.dat is used to generate all i386*.inc files 26 年之前
depend 7f720c64ef Added compiler call 27 年之前
dmisc.pas 046acfb84b * made it compilable with Dlephi 4 again 26 年之前
errord.msg b4a852e74b * merged 26 年之前
errore.msg 503d5a1cfa * const parameter is now checked 26 年之前
errores.msg 02c2611b20 * bugs 593 and 607 fixed 26 年之前
errorf.msg b4a852e74b * merged 26 年之前
errorn.msg 6d332cfc77 * Vertalingsfouten verbeterd. 26 年之前
errorr.msg fc4e4bc74a Nieuw error file from Michael Baikov 26 年之前
export.pas fefc839b29 * redesigned linker object 26 年之前
files.pas 4849432ede * allow doubles in TLinkContainer needed for double libraries 26 年之前
gdb.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 年之前
gendef.pas 6a802e85d7 * released valintern 26 年之前
globals.pas 503d5a1cfa * const parameter is now checked 26 年之前
globtype.pas 89b677a0ee * split type reading from pdecl to ptype unit 26 年之前
hcgdata.pas 503d5a1cfa * const parameter is now checked 26 年之前
hcodegen.pas 46b5193e9b * tp7 fix 26 年之前
htypechk.pas e2134ddcab * valid_for_assign support for calln,asn 26 年之前
i386att.inc 67589c0532 * fixed typo 26 年之前
i386atts.inc 67589c0532 * fixed typo 26 年之前
i386ins.dat 67589c0532 * fixed typo 26 年之前
i386int.inc 67589c0532 * fixed typo 26 年之前
i386op.inc 67589c0532 * fixed typo 26 年之前
i386prop.inc 67589c0532 * fixed typo 26 年之前
i386tab.inc 67589c0532 * fixed typo 26 年之前
import.pas fefc839b29 * redesigned linker object 26 年之前
innr.inc 1c638f2952 * small fix to operator overloading when in MMX mode 26 年之前
link.pas a905c026f2 * fixed os2 linker 26 年之前
make.cmd 8aaf209cec + Make script to make compiler under OS/2. 27 年之前
mdppc386.bat 47fd93dfa5 * more fixes to get it with delphi running 26 年之前
messages.pas 046acfb84b * made it compilable with Dlephi 4 again 26 年之前
mppc386.bat e53aceb9be + floating point register variables !! 26 年之前
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit 27 年之前
msgidx.inc 503d5a1cfa * const parameter is now checked 26 年之前
msgtxt.inc 503d5a1cfa * const parameter is now checked 26 年之前
og386.pas 79f1833059 * runerror => do_halt 26 年之前
og386cff.pas 96fdcfb1f2 * fix for DLL relocation problems 26 年之前
og386dbg.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 年之前
og386elf.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 年之前
options.pas 6db8e1edba * fix for cygwin make problem with -iTP 26 年之前
opts386.pas ace7ff6983 * all tokens now start with an underscore 26 年之前
opts68k.pas 1b369bb4bb + globtype,tokens,version unit splitted from globals 27 年之前
owar.pas 046acfb84b * made it compilable with Dlephi 4 again 26 年之前
owbase.pas f34e2067eb * don't write .o and link if errors occure during assembling 26 年之前
parser.pas 89b677a0ee * split type reading from pdecl to ptype unit 26 年之前
pass_1.pas 503d5a1cfa * const parameter is now checked 26 年之前
pass_2.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
pbase.pas 49fcd8aceb * forward type declaration rewritten 26 年之前
pdecl.pas 503d5a1cfa * const parameter is now checked 26 年之前
pexports.pas 503d5a1cfa * const parameter is now checked 26 年之前
pexpr.pas e0fe0916fd * check for object in extended new 26 年之前
pmodules.pas fefc839b29 * redesigned linker object 26 年之前
popt386.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
pp.pas 7f63615b43 * @procvar fixes for tp mode 26 年之前
ppc.dpr 046acfb84b * made it compilable with Dlephi 4 again 26 年之前
ppheap.pas 4fe0f4f1a2 * fix to get it self compiled 26 年之前
ppovin.pas 910372616a * typo correction 26 年之前
ppu.pas 5db2ac22e5 * ppu header writting now uses currentppuversion 26 年之前
pstatmnt.pas 89b677a0ee * split type reading from pdecl to ptype unit 26 年之前
psub.pas 503d5a1cfa * const parameter is now checked 26 年之前
psystem.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
ptconst.pas fa19f0aa09 - removed the hcodegen use in the new cg, use cgbase instead 26 年之前
ptype.pas 7ab2ee0e79 * fixed property reading 26 年之前
ra386.pas 5fc1435036 * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu) 26 年之前
ra386att.pas e838769af8 * fixed object field parsing 26 年之前
ra386dir.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
ra386int.pas e838769af8 * fixed object field parsing 26 年之前
ra68kmot.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
rautils.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
scandir.inc 1936476701 * bracket support for macro define 26 年之前
scanner.pas eb72952214 * fixed macro within macro endless-loop 26 年之前
script.pas fefc839b29 * redesigned linker object 26 年之前
switches.pas 910372616a * typo correction 26 年之前
symconst.inc ed8eb13d59 * moved bitmask constants to sets 26 年之前
symconst.pas 503d5a1cfa * const parameter is now checked 26 年之前
symdef.inc 503d5a1cfa * const parameter is now checked 26 年之前
symdefh.inc 503d5a1cfa * const parameter is now checked 26 年之前
symppu.inc fc0d67a752 + error if PPU modulename is different from what is searched 26 年之前
symsym.inc 0dd2b51943 * problems with readln fixed: esi wasn't restored correctly when 26 年之前
symsymh.inc 49fcd8aceb * forward type declaration rewritten 26 年之前
symtable.pas 503d5a1cfa * const parameter is now checked 26 年之前
systems.pas fefc839b29 * redesigned linker object 26 年之前
t_go32v1.pas 863f35e72b * reset linklibc 26 年之前
t_go32v2.pas 863f35e72b * reset linklibc 26 年之前
t_linux.pas fefc839b29 * redesigned linker object 26 年之前
t_os2.pas fefc839b29 * redesigned linker object 26 年之前
t_win32.pas a7ee8d9c4a * Libs can be link serveral times 26 年之前
tcadd.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
tccal.pas 503d5a1cfa * const parameter is now checked 26 年之前
tccnv.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
tccon.pas 2687d75c38 + constant pointer support which can happend with typecasting like 26 年之前
tcflw.pas 781429264d * bug exit('test') + fail for classes 26 年之前
tcinl.pas 00ef632f73 * fixed assert, the tree is now disposed in firstpass if assertions 26 年之前
tcld.pas 503d5a1cfa * const parameter is now checked 26 年之前
tcmat.pas 503d5a1cfa * const parameter is now checked 26 年之前
tcmem.pas 503d5a1cfa * const parameter is now checked 26 年之前
tcset.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
temp_gen.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
tgen68k.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 年之前
tgeni386.pas 6b1ab5eb31 * procinfo is now a pointer 26 年之前
todo.txt f011b3bdca + qword/int64 -> floating point type cast 26 年之前
tokendat.pas 91962591f3 * tokendat compiles for tp 26 年之前
tokens.dat 4e9c029777 * reinserted 26 年之前
tokens.pas 00b063c621 * fixed 1/s problem from mailing list 26 年之前
tpexcept.pas d04add7c9f * esp loading corrected 26 年之前
tree.pas 8e7dd52200 * error when properties are passed to var parameters 26 年之前
types.pas 503d5a1cfa * const parameter is now checked 26 年之前
verbose.pas cb8aeb3fd6 * V_Fatal=1, all other V_ are also increased 26 年之前
version.pas ace7ff6983 * all tokens now start with an underscore 26 年之前

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