peter 68c2c36d36 * nested try blocks work again 26 سال پیش
..
m68k a0badc3a30 * initial revision 26 سال پیش
new c3a92e5260 * compiles again 26 سال پیش
utils 26a239136d * update to use i386ins.dat 26 سال پیش
Makefile 7583de7a4f - removed freelabel() 26 سال پیش
Makefile.fpc ada779a989 * support !ENVVAR for long commandlines 26 سال پیش
README 46ae55d3cd * makefile.fpc note 26 سال پیش
aasm.pas 7583de7a4f - removed freelabel() 26 سال پیش
ag386att.pas 22ba06f140 * Bug reported by Marco fixed: Intel assembler reader: fld qword ptr x 26 سال پیش
ag386bin.pas 7583de7a4f - removed freelabel() 26 سال پیش
ag386int.pas 23a62aa23a * generation of LOCALS @@ removed 26 سال پیش
ag386nsm.pas 0887060ff2 * truncated log to 20 revs 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 0887060ff2 * truncated log to 20 revs 26 سال پیش
aopt386.pas cc5683ace5 + if you define "newOptimizations", all extra optimizations that 26 سال پیش
assemble.pas e169c592f8 * searchpaths changed to stringqueue object 26 سال پیش
browcol.pas beb3db8d92 * don't redefine sw_integer for FPC : corrected version 26 سال پیش
browlog.pas 0512ba80fb + ttype, tsymlist 26 سال پیش
catch.pas da93f32ae0 * resources are working again 26 سال پیش
cg386add.pas 80f18b22ee * fixed type conversions of results of operations with cardinals 26 سال پیش
cg386cal.pas 7583de7a4f - removed freelabel() 26 سال پیش
cg386cnv.pas 7583de7a4f - removed freelabel() 26 سال پیش
cg386con.pas 0887060ff2 * truncated log to 20 revs 26 سال پیش
cg386flw.pas 68c2c36d36 * nested try blocks work again 26 سال پیش
cg386inl.pas 7583de7a4f - removed freelabel() 26 سال پیش
cg386ld.pas 7583de7a4f - removed freelabel() 26 سال پیش
cg386mat.pas b528749138 * Notes/Hints for local syms changed to 26 سال پیش
cg386mem.pas d3b404c1a4 * fixed bug #698 26 سال پیش
cg386set.pas 368452de05 * fixed wrong assembler with in-node 26 سال پیش
cg68kadd.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 سال پیش
cg68kcal.pas 7583de7a4f - removed freelabel() 26 سال پیش
cg68kcnv.pas 7583de7a4f - removed freelabel() 26 سال پیش
cg68kcon.pas 71f28ed588 * cs_create_smart instead of cs_smartlink 26 سال پیش
cg68kflw.pas 7583de7a4f - removed freelabel() 26 سال پیش
cg68kinl.pas 3e399a860d + dllversion global variable 26 سال پیش
cg68kld.pas 7583de7a4f - removed freelabel() 26 سال پیش
cg68kmat.pas b528749138 * Notes/Hints for local syms changed to 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 62da9bd4c0 * Notes/hints changes 26 سال پیش
cgai386.pas 7583de7a4f - removed freelabel() 26 سال پیش
cobjects.pas 7583de7a4f - removed freelabel() 26 سال پیش
comphook.pas b528749138 * Notes/Hints for local syms changed to 26 سال پیش
compiler.pas c5410eee5c * preprocessor support. But it fails on the caret in type blocks 26 سال پیش
comprsrc.pas d3b404c1a4 * fixed bug #698 26 سال پیش
cpuasm.pas 0512ba80fb + ttype, tsymlist 26 سال پیش
cpubase.pas fb5d979f58 * more A_LOOP<Cond> to is_calljmp 26 سال پیش
cpuinfo.pas be3155fdde + initial revision 26 سال پیش
cresstr.pas 0887060ff2 * truncated log to 20 revs 26 سال پیش
csopt386.pas 8272526892 * CSE of constant loading in regs works properly again 26 سال پیش
daopt386.pas 8272526892 * CSE of constant loading in regs works properly again 26 سال پیش
depend 7f720c64ef Added compiler call 27 سال پیش
dmisc.pas 046acfb84b * made it compilable with Dlephi 4 again 26 سال پیش
errord.msg 62c9663d4f Latest message file from Alexander Stohr 26 سال پیش
errore.msg 7583de7a4f - removed freelabel() 26 سال پیش
errores.msg 02c2611b20 * bugs 593 and 607 fixed 26 سال پیش
errorf.msg b4a852e74b * merged 26 سال پیش
errorn.msg 6d332cfc77 * Vertalingsfouten verbeterd. 26 سال پیش
errorr.msg c68cf725c6 New error message file from Michael Baikov 26 سال پیش
export.pas 0887060ff2 * truncated log to 20 revs 26 سال پیش
files.pas f7b72f4a8f * fixed circular unit reference checking. loaded_from was reset after 26 سال پیش
gdb.pas 3fa7ed902e * some DBX work 26 سال پیش
gendef.pas bed6bb6b2a + $description $version 26 سال پیش
globals.pas 7583de7a4f - removed freelabel() 26 سال پیش
globtype.pas e169c592f8 * searchpaths changed to stringqueue object 26 سال پیش
hcgdata.pas 561c6abe7c * write also parameters for override info 26 سال پیش
hcodegen.pas dcaad61969 * no_fast_exit if procedure contains implicit termination code 26 سال پیش
htypechk.pas 89c403c529 * very basic widestring support 26 سال پیش
i386att.inc 67589c0532 * fixed typo 26 سال پیش
i386atts.inc 67589c0532 * fixed typo 26 سال پیش
i386ins.dat 2392d09110 * reinserted jonas version 26 سال پیش
i386int.inc 67589c0532 * fixed typo 26 سال پیش
i386op.inc 67589c0532 * fixed typo 26 سال پیش
i386prop.inc 0a2e7859d2 * Jcc doesn't destroy anything (instead of everyting) 26 سال پیش
i386tab.inc 67589c0532 * fixed typo 26 سال پیش
import.pas 0887060ff2 * truncated log to 20 revs 26 سال پیش
innr.inc 1c638f2952 * small fix to operator overloading when in MMX mode 26 سال پیش
link.pas 8049831c3f * Give better info in script 26 سال پیش
make.cmd 8aaf209cec + Make script to make compiler under OS/2. 27 سال پیش
mdppc386.bat 47fd93dfa5 * more fixes to get it with delphi running 27 سال پیش
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 28 سال پیش
msgidx.inc 7583de7a4f - removed freelabel() 26 سال پیش
msgtxt.inc 7583de7a4f - removed freelabel() 26 سال پیش
og386.pas df694c76e8 * filename fixes for win32 imports for units with multiple needed dll's 26 سال پیش
og386cff.pas c3fb5e5237 * relocation with debug info in rva (only with internal compiler) 26 سال پیش
og386dbg.pas 19443ae269 * import library fixes for win32 26 سال پیش
og386elf.pas ca53eee67e * renamed i386asm and i386base to cpuasm and cpubase 26 سال پیش
options.pas bed6bb6b2a + $description $version 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 27 سال پیش
parser.pas c5410eee5c * preprocessor support. But it fails on the caret in type blocks 26 سال پیش
pass_1.pas 577edbbd3f + compiler checks now if a goto leaves an exception block 26 سال پیش
pass_2.pas 7583de7a4f - removed freelabel() 26 سال پیش
pbase.pas 0887060ff2 * truncated log to 20 revs 26 سال پیش
pdecl.pas 903ac0f0dc * also check elementtype of arraydef for forwarddef 26 سال پیش
pexports.pas bed6bb6b2a + $description $version 26 سال پیش
pexpr.pas 6d8f8ef3f9 * web bug769 fix 26 سال پیش
pmodules.pas c3fb5e5237 * relocation with debug info in rva (only with internal compiler) 26 سال پیش
popt386.pas 8272526892 * CSE of constant loading in regs works properly again 26 سال پیش
pp.pas 0887060ff2 * truncated log to 20 revs 26 سال پیش
ppc.dpr 046acfb84b * made it compilable with Dlephi 4 again 26 سال پیش
ppheap.pas 62da9bd4c0 * Notes/hints changes 26 سال پیش
ppovin.pas 910372616a * typo correction 26 سال پیش
ppu.pas 11b8f997c7 * INFTPPU define to write the ppu of the interface to .ppu.intf 26 سال پیش
pstatmnt.pas 7583de7a4f - removed freelabel() 26 سال پیش
psub.pas 7583de7a4f - removed freelabel() 26 سال پیش
psystem.pas 89c403c529 * very basic widestring support 26 سال پیش
ptconst.pas 89c403c529 * very basic widestring support 26 سال پیش
ptype.pas 0512ba80fb + ttype, tsymlist 26 سال پیش
ra386.pas 0202416219 * only check suffixsize for byte,word,long 26 سال پیش
ra386att.pas 3806c22d23 * allow para+offset 26 سال پیش
ra386dir.pas 0512ba80fb + ttype, tsymlist 26 سال پیش
ra386int.pas 22ba06f140 * Bug reported by Marco fixed: Intel assembler reader: fld qword ptr x 26 سال پیش
ra68kmot.pas 614fff10f0 * adapted to procinfo as pointer 26 سال پیش
rautils.pas 8725fa32a1 * label are set to used so an error is given if used but not defined 26 سال پیش
scandir.inc bed6bb6b2a + $description $version 26 سال پیش
scanner.pas c5410eee5c * preprocessor support. But it fails on the caret in type blocks 26 سال پیش
script.pas fefc839b29 * redesigned linker object 26 سال پیش
switches.pas 0887060ff2 * truncated log to 20 revs 26 سال پیش
symconst.pas 89c403c529 * very basic widestring support 26 سال پیش
symdef.inc aeb5fb9b9a * has_rtti should be saved in the ppu for objects 26 سال پیش
symdefh.inc 0512ba80fb + ttype, tsymlist 26 سال پیش
symppu.inc 0512ba80fb + ttype, tsymlist 26 سال پیش
symsym.inc 3e399a860d + dllversion global variable 26 سال پیش
symsymh.inc 577edbbd3f + compiler checks now if a goto leaves an exception block 26 سال پیش
symtable.pas 89c403c529 * very basic widestring support 26 سال پیش
systems.pas 0887060ff2 * truncated log to 20 revs 26 سال پیش
t_go32v1.pas 32d3653596 * use outputexedir for link.res location 26 سال پیش
t_go32v2.pas ada779a989 * support !ENVVAR for long commandlines 26 سال پیش
t_linux.pas 32d3653596 * use outputexedir for link.res location 26 سال پیش
t_os2.pas 0512ba80fb + ttype, tsymlist 26 سال پیش
t_win32.pas bed6bb6b2a + $description $version 26 سال پیش
tcadd.pas 80f18b22ee * fixed type conversions of results of operations with cardinals 26 سال پیش
tccal.pas 878b1b28e6 * constant array type conversion fixed 26 سال پیش
tccnv.pas 84b60272b4 * bug reported by Alex S. fixed: it wasn't possible to type cast nil in const 26 سال پیش
tccon.pas 2687d75c38 + constant pointer support which can happend with typecasting like 26 سال پیش
tcflw.pas 577edbbd3f + compiler checks now if a goto leaves an exception block 26 سال پیش
tcinl.pas 17950502e1 + added support for succ/pred(<qword/int64>) 26 سال پیش
tcld.pas dcaad61969 * no_fast_exit if procedure contains implicit termination code 26 سال پیش
tcmat.pas 80f18b22ee * fixed type conversions of results of operations with cardinals 26 سال پیش
tcmem.pas 0512ba80fb + ttype, tsymlist 26 سال پیش
tcset.pas 0512ba80fb + ttype, tsymlist 26 سال پیش
temp_gen.pas 18bbeebf9e * problem with persistant temp fixed 26 سال پیش
tgen68k.pas fbbf8a505c * m68k compiler is again compilable (only gas writer, no assembler reader) 26 سال پیش
tgeni386.pas 0887060ff2 * truncated log to 20 revs 26 سال پیش
todo.txt f011b3bdca + qword/int64 -> floating point type cast 26 سال پیش
tokendat.pas 91962591f3 * tokendat compiles for tp 26 سال پیش
tokens.dat be864a992e * updated 26 سال پیش
tokens.pas 94f418dc11 + one field added for ttoken record for operator 26 سال پیش
tpexcept.pas d04add7c9f * esp loading corrected 26 سال پیش
tree.pas 7583de7a4f - removed freelabel() 26 سال پیش
types.pas 0512ba80fb + ttype, tsymlist 26 سال پیش
verbose.pas 0887060ff2 * truncated log to 20 revs 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
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