Jonas Maebe cca5461149 * fixed bug in type conversions between enum subranges (it didn't take 25 vuotta sitten
..
m68k e7aca136a1 + Initial import 25 vuotta sitten
new 2949824a69 + Patch to 1.1 25 vuotta sitten
utils 4549ef44e1 * merges from fixes 25 vuotta sitten
Makefile 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
Makefile.fpc 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
README 889e43db8a * fixed some vmt problems, especially related to overloaded methods 25 vuotta sitten
aasm.pas e955ac6135 * packenum 1 fixes (merged) 25 vuotta sitten
ag386att.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
ag386bin.pas 4549ef44e1 * merges from fixes 25 vuotta sitten
ag386int.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
ag386nsm.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
ag68kgas.pas 650fbb86aa + removed logs 25 vuotta sitten
ag68kmit.pas 650fbb86aa + removed logs 25 vuotta sitten
ag68kmot.pas 650fbb86aa + removed logs 25 vuotta sitten
ag68kmpw.pas 650fbb86aa + removed logs 25 vuotta sitten
aopt386.pas 2949824a69 + Patch to 1.1 25 vuotta sitten
assemble.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
browcol.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
browlog.pas 650fbb86aa + removed logs 25 vuotta sitten
bsdcompile 26081ed999 * Simple script which specifies the right params for a try out BSD build 25 vuotta sitten
catch.pas 650fbb86aa + removed logs 25 vuotta sitten
cg386add.pas 4549ef44e1 * merges from fixes 25 vuotta sitten
cg386cal.pas 41f84e639c * save/reset/restore regvar info around inlined code 25 vuotta sitten
cg386cnv.pas 89f0a308a2 * fixed ie(10) when using -Or and shortstring -> ansistring conversions 25 vuotta sitten
cg386con.pas 650fbb86aa + removed logs 25 vuotta sitten
cg386flw.pas 67ac676004 + added is_addr field for labels, if they are only used for getting the address 25 vuotta sitten
cg386inl.pas 4549ef44e1 * merges from fixes 25 vuotta sitten
cg386ld.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
cg386mat.pas e1226b074f * fixed bug in secondshlshr where ecx was released too soon in some 25 vuotta sitten
cg386mem.pas ba86afd3b0 * refined previous fix (sometimes the number of necessary registers was 25 vuotta sitten
cg386set.pas 83eeb7b9f7 * added missing register deallocation (could cause IE10 i some cases) 25 vuotta sitten
cg68kadd.pas 650fbb86aa + removed logs 25 vuotta sitten
cg68kcal.pas 650fbb86aa + removed logs 25 vuotta sitten
cg68kcnv.pas 650fbb86aa + removed logs 25 vuotta sitten
cg68kcon.pas 650fbb86aa + removed logs 25 vuotta sitten
cg68kflw.pas 650fbb86aa + removed logs 25 vuotta sitten
cg68kinl.pas 650fbb86aa + removed logs 25 vuotta sitten
cg68kld.pas 650fbb86aa + removed logs 25 vuotta sitten
cg68kmat.pas 650fbb86aa + removed logs 25 vuotta sitten
cg68kmem.pas 650fbb86aa + removed logs 25 vuotta sitten
cg68kset.pas 650fbb86aa + removed logs 25 vuotta sitten
cga68k.pas 650fbb86aa + removed logs 25 vuotta sitten
cgai386.pas ede6479557 + emit_push_mem_size() which pushes a value in memory of a certain size 25 vuotta sitten
cobjects.pas deb46cc56f * removed note 25 vuotta sitten
comphook.pas 650fbb86aa + removed logs 25 vuotta sitten
compiler.pas 4549ef44e1 * merges from fixes 25 vuotta sitten
comprsrc.pas 4549ef44e1 * merges from fixes 25 vuotta sitten
cpuasm.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
cpubase.pas e955ac6135 * packenum 1 fixes (merged) 25 vuotta sitten
cpuinfo.pas 650fbb86aa + removed logs 25 vuotta sitten
crc.pas 650fbb86aa + removed logs 25 vuotta sitten
cresstr.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
csopt386.pas 5d7597c09f * improved detection of range of instructions which use a register 25 vuotta sitten
daopt386.pas ce46621762 * daopt386: changes to getnextinstruction/getlastinstruction so they 25 vuotta sitten
depend e525797c51 * updated copyright to 2000 26 vuotta sitten
dmisc.pas 650fbb86aa + removed logs 25 vuotta sitten
errord.msg cca5f1fadc * Fixed translation for sym_w_function_result_not_set 25 vuotta sitten
errore.msg eea4c2eab3 * fixed some more texts 25 vuotta sitten
errores.msg 957d4cdc89 * new message files layout with msg numbers (but still no code to 25 vuotta sitten
errorf.msg 957d4cdc89 * new message files layout with msg numbers (but still no code to 25 vuotta sitten
errorn.msg 957d4cdc89 * new message files layout with msg numbers (but still no code to 25 vuotta sitten
errorr.msg cf026bfb89 * fixed missing option_help_pages 25 vuotta sitten
errorrw.msg 89c01a785a + Initial implementation by Michail Baikov 25 vuotta sitten
export.pas 650fbb86aa + removed logs 25 vuotta sitten
files.pas 650fbb86aa + removed logs 25 vuotta sitten
fpc.pas 650fbb86aa + removed logs 25 vuotta sitten
gdb.pas 650fbb86aa + removed logs 25 vuotta sitten
gendef.pas 650fbb86aa + removed logs 25 vuotta sitten
globals.pas 227e983397 * first things for default parameters 25 vuotta sitten
globtype.pas e955ac6135 * packenum 1 fixes (merged) 25 vuotta sitten
hcgdata.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
hcodegen.pas c999d3b17d + allow regvars to be used inside inlined procs, which required the 25 vuotta sitten
htypechk.pas cca5461149 * fixed bug in type conversions between enum subranges (it didn't take 25 vuotta sitten
i386att.inc 3b4a3a2cee * several FPU instructions weren't marked as reading operand one (like 25 vuotta sitten
i386atts.inc 3b4a3a2cee * several FPU instructions weren't marked as reading operand one (like 25 vuotta sitten
i386ins.dat 3b4a3a2cee * several FPU instructions weren't marked as reading operand one (like 25 vuotta sitten
i386int.inc 3b4a3a2cee * several FPU instructions weren't marked as reading operand one (like 25 vuotta sitten
i386nop.inc 86e515e1a5 + i386nop.inc now contains the number of opcodes 25 vuotta sitten
i386op.inc 3b4a3a2cee * several FPU instructions weren't marked as reading operand one (like 25 vuotta sitten
i386prop.inc 3b4a3a2cee * several FPU instructions weren't marked as reading operand one (like 25 vuotta sitten
i386tab.inc 3b4a3a2cee * several FPU instructions weren't marked as reading operand one (like 25 vuotta sitten
impdef.pas 650fbb86aa + removed logs 25 vuotta sitten
import.pas 650fbb86aa + removed logs 25 vuotta sitten
innr.inc 650fbb86aa + removed logs 25 vuotta sitten
link.pas cb8d634547 * merged from fixes branch (v_hint to v_tried changed when attempting 25 vuotta sitten
make.cmd e525797c51 * updated copyright to 2000 26 vuotta sitten
mdppc386.bat 47fd93dfa5 * more fixes to get it with delphi running 26 vuotta sitten
messages.pas 650fbb86aa + removed logs 25 vuotta sitten
mppc386.bat e53aceb9be + floating point register variables !! 26 vuotta sitten
mppc68k.bat 0e8616ed1f + temporary variables now in temp_gen.pas unit 27 vuotta sitten
msgidx.inc 650fbb86aa + removed logs 25 vuotta sitten
msgtxt.inc 650fbb86aa + removed logs 25 vuotta sitten
og386.pas ec3f05fe39 * merged patches name generation in lib and asm constant eval 25 vuotta sitten
og386cff.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
og386dbg.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
og386elf.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
options.pas cca5461149 * fixed bug in type conversions between enum subranges (it didn't take 25 vuotta sitten
opts386.pas f2123cbcc1 * release alignopts 25 vuotta sitten
opts68k.pas 650fbb86aa + removed logs 25 vuotta sitten
owar.pas 650fbb86aa + removed logs 25 vuotta sitten
owbase.pas 650fbb86aa + removed logs 25 vuotta sitten
parser.pas 650fbb86aa + removed logs 25 vuotta sitten
pass_1.pas 650fbb86aa + removed logs 25 vuotta sitten
pass_2.pas c999d3b17d + allow regvars to be used inside inlined procs, which required the 25 vuotta sitten
pbase.pas 650fbb86aa + removed logs 25 vuotta sitten
pdecl.pas 227e983397 * first things for default parameters 25 vuotta sitten
pexports.pas 650fbb86aa + removed logs 25 vuotta sitten
pexpr.pas 4549ef44e1 * merges from fixes 25 vuotta sitten
pmodules.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
popt386.pas 195bc075eb * $ifdef go32v2 -> target_info.target=go32v2 25 vuotta sitten
pp.pas 650fbb86aa + removed logs 25 vuotta sitten
ppc.dpr e7aca136a1 + Initial import 25 vuotta sitten
ppheap.pas 650fbb86aa + removed logs 25 vuotta sitten
ppovin.pas 650fbb86aa + removed logs 25 vuotta sitten
ppu.pas 650fbb86aa + removed logs 25 vuotta sitten
pstatmnt.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
psub.pas 658a1f4fcd * default parameters working ! 25 vuotta sitten
psystem.pas 650fbb86aa + removed logs 25 vuotta sitten
ptconst.pas e955ac6135 * packenum 1 fixes (merged) 25 vuotta sitten
ptype.pas 95253a2759 * overload fixes (merged) 25 vuotta sitten
ra386.pas 650fbb86aa + removed logs 25 vuotta sitten
ra386att.pas 650fbb86aa + removed logs 25 vuotta sitten
ra386dir.pas 650fbb86aa + removed logs 25 vuotta sitten
ra386int.pas c5da6c53fd * merged fixes 25 vuotta sitten
ra68kmot.pas 650fbb86aa + removed logs 25 vuotta sitten
rautils.pas ec3f05fe39 * merged patches name generation in lib and asm constant eval 25 vuotta sitten
regvars.pas debe8d1498 * correct version (I also had a regvars.pp locally, which was used 25 vuotta sitten
scandir.inc 650fbb86aa + removed logs 25 vuotta sitten
scanner.pas 650fbb86aa + removed logs 25 vuotta sitten
script.pas 650fbb86aa + removed logs 25 vuotta sitten
switches.pas 650fbb86aa + removed logs 25 vuotta sitten
symconst.pas 658a1f4fcd * default parameters working ! 25 vuotta sitten
symdef.inc 658a1f4fcd * default parameters working ! 25 vuotta sitten
symdefh.inc 658a1f4fcd * default parameters working ! 25 vuotta sitten
symppu.inc 650fbb86aa + removed logs 25 vuotta sitten
symsym.inc 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
symsymh.inc 650fbb86aa + removed logs 25 vuotta sitten
symtable.pas 650fbb86aa + removed logs 25 vuotta sitten
systems.pas d63d102d25 * Back to external assembler till peter fixes gdb 25 vuotta sitten
t_go32v1.pas 650fbb86aa + removed logs 25 vuotta sitten
t_go32v2.pas 650fbb86aa + removed logs 25 vuotta sitten
t_linux.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
t_os2.pas 650fbb86aa + removed logs 25 vuotta sitten
t_win32.pas 67ac676004 + added is_addr field for labels, if they are only used for getting the address 25 vuotta sitten
tcadd.pas 2fc7533375 * removed obsolete typeconversion (it got removed by the compiler in 25 vuotta sitten
tccal.pas 658a1f4fcd * default parameters working ! 25 vuotta sitten
tccnv.pas 8e76008e98 - undid my changes from the previous two commits because it was a bug 25 vuotta sitten
tccon.pas 650fbb86aa + removed logs 25 vuotta sitten
tcflw.pas a0d91b1b85 * fixed crash when an undeclared identifier is used in a raise statement 25 vuotta sitten
tcinl.pas fcaa820523 * fixed crash when passing undeclared identifiers to str() (merged from 25 vuotta sitten
tcld.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
tcmat.pas 650fbb86aa + removed logs 25 vuotta sitten
tcmem.pas 4549ef44e1 * merges from fixes 25 vuotta sitten
tcset.pas 650fbb86aa + removed logs 25 vuotta sitten
temp_gen.pas 650fbb86aa + removed logs 25 vuotta sitten
tgen68k.pas 650fbb86aa + removed logs 25 vuotta sitten
tgeni386.pas 2c86bfd561 * fixed build prob without support_mmx 25 vuotta sitten
todo.txt 51f8c5a754 * lineifno 25 vuotta sitten
tokendat.pas 650fbb86aa + removed logs 25 vuotta sitten
tokens.dat c5da6c53fd * merged fixes 25 vuotta sitten
tokens.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
tpexcept.pas 650fbb86aa + removed logs 25 vuotta sitten
tree.pas 658a1f4fcd * default parameters working ! 25 vuotta sitten
types.pas 665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 25 vuotta sitten
verbose.pas 650fbb86aa + removed logs 25 vuotta sitten
version.pas 1d541f4095 + Adapted wordversion 25 vuotta sitten

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