Commit Graph

183 Commits

Author SHA1 Message Date
carl
f113d708d8 + ppc.cfg is now configuration file for compiler.
(first tries loading ppc386.cfg for backward compatibility)
2001-11-23 02:48:46 +00:00
peter
17d62feebe * $calling directive and -Cc commandline patch added
from Pavel Ozerski
2001-10-23 21:49:42 +00:00
peter
45dab81414 * merged netbsd, fpu-overflow from fixes branch 2001-09-17 21:29:10 +00:00
marco
3b9df162d1 * fix from peter 2001-09-12 12:46:54 +00:00
peter
2d610e9be3 * asbsd merged 2001-08-30 20:57:09 +00:00
peter
f88f6eb571 * rtti/init table updates
* rttisym for reusable global rtti/init info
  * support published for interfaces
2001-08-30 20:13:52 +00:00
florian
07495c8526 * renamed messages unit to cmsgs to avoid conflicts with the
win32 messages unit
2001-08-20 10:58:48 +00:00
peter
fd8e5fa78c * palmos support from v10 merged 2001-08-19 11:22:22 +00:00
peter
19e153abd3 * under development flag for targets 2001-08-12 17:57:06 +00:00
peter
7d45ac61de * list targets with -i 2001-08-07 18:42:46 +00:00
Jonas Maebe
367f7a0362 + "compilerproc" directive support, which turns both the public and mangled
name to lowercase(declaration_name). This prevents a normal user from
    accessing the routine, but they can still be easily looked up within
    the compiler. This is used for helper procedures and should facilitate
    the writing of more processor independent code in the code generator
    itself (mostly written by Peter)
  + new "createintern" constructor for tcal nodes to create a call to
    helper exported using the "compilerproc" directive
  + support for high(dynamic_array) using the the above new things
  + definition of 'HASCOMPILERPROC' symbol (to be able to check in the
    compiler and rtl whether the "compilerproc" directive is supported)
2001-08-01 15:07:29 +00:00
peter
899f2ad0bb * removed fpu_in_rtl define (merged) 2001-07-31 19:38:46 +00:00
peter
121f1a09a0 * declare fpu in rtl for m68k linux 2001-07-30 21:39:26 +00:00
peter
db87f86f00 * Length made internal
* Add array support for Length
2001-07-09 21:15:40 +00:00
peter
ca8d604964 * various widestring updates, it works now mostly without charset
mapping supported
2001-07-08 21:00:14 +00:00
peter
b10e754536 * alignmentinfo record added
* -Oa argument supports more alignment settings that can be specified
    per type: PROC,LOOP,VARMIN,VARMAX,CONSTMIN,CONSTMAX,RECORDMIN
    RECORDMAX,LOCALMIN,LOCALMAX. It is possible to set the mimimum
    required alignment and the maximum usefull alignment. The final
    alignment will be choosen per variable size dependent on these
    settings
2001-07-01 20:16:15 +00:00
peter
05e12f6894 * patch from Pavel Ozerski to support +/- better 2001-06-29 19:41:54 +00:00
Jonas Maebe
ea7b4b5367 * fixed typo in NOBOUNDCHECK define 2001-06-19 14:55:45 +00:00
peter
e24474d9ac * -Ur switch (merged)
* masm fixes (merged)
  * quoted filenames for go32v2 and win32
2001-06-18 20:36:23 +00:00
peter
8ee0413cf7 * extradefines field added to target_info, so that targets don't
need to put code in options.pas for it
2001-06-02 19:21:45 +00:00
peter
25e006b364 * endian define 2001-05-18 22:28:59 +00:00
peter
b9cb031a39 * simplify_ppu is now the default, a recompile of the compiler now
only compiles pp.pas
2001-05-12 12:11:31 +00:00
peter
0c03535b5b * registration of targets and assemblers 2001-04-18 22:01:53 +00:00
peter
a7cf57524e * symtable change to classes
* range check generation and errors fixed, make cycle DEBUG=1 works
  * memory leaks fixed
2001-04-13 01:22:06 +00:00
peter
b2c26bdd42 * fixed -Se (merged) 2001-03-25 12:27:31 +00:00
florian
e964449b71 + some stuff to compile FreeCLX added 2001-03-23 00:16:07 +00:00
peter
939f49375f * message loading fixes from Sergey (merged) 2001-03-13 20:59:56 +00:00
peter
9be4aa216f * don't check messagefile for numbers, this allows the usage of
1.1 msgfiles with a 1.0.x compiler
2001-03-10 13:19:10 +00:00
peter
e49f13a393 * press enter moved to errore.msg 2001-03-05 21:50:28 +00:00
Jonas Maebe
af38291233 * simplified and optimized range checking code, FPC_BOUNDCHECK is no longer necessary 2001-03-03 12:41:22 +00:00
peter
684970ea22 * merged generic m68k updates from fixes branch 2001-02-26 19:44:52 +00:00
Jonas Maebe
c7af813c76 * fixed bug in type checking for compatibility of set elements (merged)
* released fix in options.pas from Carl also for FPC (merged)
2001-02-26 12:47:46 +00:00
michael
71e170f80f * option_help_pages:
allow to omit an option (use one space char insteed an option)
   but to indent a continuation line as if option is present. For lines:
     3*2CX_first line
     3*2 _second line
     3*2*_third line
   we could get:
     -CX        first line
                second line
     third line
2001-02-26 08:08:39 +00:00
michael
c6f78731ed Support replacements for all -F<x> options 2001-02-26 07:49:50 +00:00
peter
6656025337 * applied patches from Sergey Korshunoff 2001-02-05 21:26:36 +00:00
Tomas Hajny
ee51dcc980 + APPTYPE support under OS/2, app_fs, GetEnvPChar for OS/2 2001-01-20 18:32:52 +00:00
peter
9964f294bd * fixed writing of quickinfo when no ppc386.cfg is available 2001-01-12 19:21:09 +00:00
florian
00917cb46f * the info about exception frames is stored now on the stack
instead on the heap
2001-01-05 17:35:50 +00:00
peter
32b9cdb7cf + new tlinkedlist class (merge of old tstringqueue,tcontainer and
tlinkedlist objects)
2000-12-25 00:07:25 +00:00
peter
6d8398ab9f * use system.paramstr() 2000-12-24 12:21:41 +00:00
peter
be95b0758b * object to class conversion
* more verbosity for -vt and -vd
  * -i options can be put after eachother so the Makefiles only need
    to call fpc once for all info (will be twice as the first one will
    be to check the version if fpc supports multiple info)
2000-12-23 19:46:49 +00:00
Jonas Maebe
4f791d04b4 - removed all ifdef cardinalmulfix code 2000-12-16 15:56:18 +00:00
Jonas Maebe
0a70f9b06e * only return int64's from functions if it int64funcresok is defined
+ added int64funcresok define to options.pas
2000-12-15 13:26:01 +00:00
florian
9107f49c03 * opts386 renamed 2000-11-30 22:48:23 +00:00
florian
b9796f6a7f * unused units removed from uses clause
* some changes for widestrings
2000-11-29 00:30:30 +00:00
marco
b65958a61e * Renamefest 2000-11-13 15:26:12 +00:00
peter
5ac2599649 * create generic toutputsection for binary writers 2000-11-12 22:20:37 +00:00
marco
e85fea41f5 * Define UNIX for FreeBSD and Linux. Checked crosscompile thingy. 2000-11-07 15:09:27 +00:00
marco
54897380bd * FreeBSD defines (FreeBSD,Linux,BSD,Unix) Linux defines (Linux,Unix) 2000-11-07 14:25:08 +00:00
peter
8df98007d6 * more fixes to get make cycle working 2000-11-06 20:30:54 +00:00
florian
51527ba1c9 + merged Attila's changes for interfaces, not tested yet 2000-11-04 14:25:19 +00:00
Jonas Maebe
fa38093530 * initmodeswitches is changed is you change the compiler mode from the
command line (the -S<x> switches didn't work anymore for changing the
    compiler mode) (merged from fixes branch)
2000-09-26 10:50:41 +00:00
peter
24fc983597 * message updates merges 2000-09-24 21:33:46 +00:00
peter
a71e44ac49 * use defines.inc 2000-09-24 15:06:10 +00:00
marco
0b7a6a9a6a * Definition of multiple FreeBSD target defines moved to after error check
commandline parsing
2000-09-18 12:28:41 +00:00
peter
4003cdb728 * freebsd support merged 2000-09-16 12:22:52 +00:00
peter
4c94659743 * moved some util functions from globals,cobjects to cutils
* splitted files into finput,fmodule
2000-08-27 16:11:48 +00:00
Jonas Maebe
cca5461149 * fixed bug in type conversions between enum subranges (it didn't take
the packenum directive into account)
  + define PACKENUMFIXED symbol in options.pas
   (merged from fixes branch)
2000-08-07 11:31:04 +00:00
michael
2949824a69 + Patch to 1.1 2000-07-14 05:11:48 +00:00
michael
665c1f6410 + patched to 1.1.0 with former 1.09patch from peter 2000-07-13 12:08:24 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +00:00
peter
957d4cdc89 * new message files layout with msg numbers (but still no code to
show the number on the screen)
2000-06-30 20:23:33 +00:00
pierre
ee9d8f5248 * smart link is default on win32 2000-06-19 19:57:19 +00:00
pierre
947fa03cb0 + check of compatibility between selected assembler
output and target OS
2000-05-23 21:28:19 +00:00
pierre
536829e4bc + -CR option to enable check for object virtual method 2000-05-16 20:19:05 +00:00
peter
d9cef95ac7 * -Se<x> option extended to increase errorcount for
warning,notes or hints
2000-05-10 13:40:19 +00:00
peter
8818701433 * added enhancedraise define 2000-04-24 13:34:29 +00:00
pierre
ed95777843 * get -g-l to work 2000-04-10 11:36:19 +00:00
peter
1f082db3ad * correctfldcw define added 2000-04-07 14:56:18 +00:00
pierre
38224e3cf6 * no unitdir automatically added if -n option present 2000-04-05 21:57:34 +00:00
michael
26c924229c + Added switch to swicth on assertions. 2000-03-13 20:06:59 +00:00
florian
b2efa0f338 * disable FIXED data type per default 2000-02-15 14:36:45 +00:00
peter
5aec5872b6 * addpath fixed with list of paths when inserting at the beginning
* if exepath=currentdir then it's not inserted in path list
  * searchpaths in ppc386.cfg are now added at the beginning of the
    list instead of at the end. (commandline is not changed)
  * check paths before inserting in list
2000-02-10 11:45:48 +00:00
peter
4a4a24b6e8 * log truncated 2000-02-09 13:22:42 +00:00
peter
1612077d8d * -Xt option to link staticly against c libs 2000-02-09 10:35:48 +00:00
peter
f0efb42197 * -gl switch for auto lineinfo including 2000-02-06 17:20:52 +00:00
peter
4d0c25c096 * fixed default unit location for linux when fpcdir was not set 2000-01-31 15:55:42 +00:00
sg
de3a50306d * Fixed typo in line 1375 ("fpidr" instead of "fpcdir") 2000-01-23 18:20:50 +00:00
peter
39faeb7440 * better auto RTL dir detection 2000-01-23 16:36:37 +00:00
daniel
4ad408eab3 * also support ; comments in cfg file 2000-01-20 10:36:44 +00:00
peter
a58242957b * fixed interpret_envvar whcih crashed when the envvar was not set
* also warn if the envvar is empty (=not set)
2000-01-17 22:50:28 +00:00
pierre
72cc83f234 + parsecmd supports "filename with spaces" for IDE 2000-01-14 15:33:15 +00:00
pierre
99d8f90aec + some warnings for wrong lines inside config files 2000-01-14 14:33:53 +00:00
peter
895c8b9efc * fixed memory leak with options, you must use StopOptions instead of
Stop
  * fixed memory leak with forward resolving, make_ref is now false
2000-01-10 11:14:19 +00:00
marco
510b51be7a * Added $target support for -FD 2000-01-07 22:22:02 +00:00
peter
e525797c51 * updated copyright to 2000 2000-01-07 01:14:18 +00:00
peter
2085b5abde * wildcard support for directory adding, this allows the use of units/*
in ppc386.cfg
2000-01-06 15:48:59 +00:00
pierre
bed6bb6b2a + $description $version 1999-12-20 23:23:28 +00:00
pierre
3e399a860d + dllversion global variable
* FPC_USE_CPREFIX code removed, not necessary anymore
    as we use .edata direct writing by default now.
1999-12-20 21:42:34 +00:00
florian
89c403c529 * very basic widestring support 1999-12-18 14:54:34 +00:00
Jonas Maebe
80f18b22ee * fixed type conversions of results of operations with cardinals
(between -dcardinalmulfix)
1999-12-11 18:53:31 +00:00
peter
768200b8d0 * fixed parameter orderning 1999-12-10 10:03:54 +00:00
pierre
5169b7b86b + allow use of unit var in exports of DLL for win32
by using direct export writing by default instead of use of DEFFILE
    that does not allow assembler labels that do not
    start with an underscore.
    Use -WD to force use of Deffile for Win32 DLL
1999-12-08 10:39:59 +00:00
peter
ada779a989 * support !ENVVAR for long commandlines
* win32/go32v2 write short pathnames to link.res so c:\Program Files\ is
    finally supported as installdir.
1999-12-06 18:21:03 +00:00
peter
c5410eee5c * preprocessor support. But it fails on the caret in type blocks 1999-12-02 17:34:34 +00:00
pierre
221382d99c + cond FPC_USE_CPREFIX (needs also some RTL changes)
this allows to use unit global vars as DLL exports
    (the underline prefix seems needed by dlltool)
1999-11-20 01:22:18 +00:00
pierre
5fa01cdc9e * -g disables reloc section for win32 1999-11-15 17:42:40 +00:00
peter
e169c592f8 * searchpaths changed to stringqueue object 1999-11-12 11:03:49 +00:00
peter
23ca9de3b3 * esi_offset -> selfpointer_offset to be newcg compatible
* hcogegen -> cgbase fixes for newcg
1999-11-09 23:06:44 +00:00