Re: [fpc-devel] New commandline switch

2005-02-06 Thread Olle Raab
05-02-06 22.41, skrev Peter Vreman följande: > The compiler has a new commandline switch -Fa[,unit2]. When a > program is compiled the compiler will first load unit1 and unit2 before > the uses line is parsed. This can be used to load units that need to early > initialization like cmem,cthreads,li

[fpc-devel] New commandline switch

2005-02-06 Thread Peter Vreman
The compiler has a new commandline switch -Fa[,unit2]. When a program is compiled the compiler will first load unit1 and unit2 before the uses line is parsed. This can be used to load units that need to early initialization like cmem,cthreads,lineinfo,heaptrc. Example: "-g -Faheaptrc,lineinfo" thi

Re: [fpc-devel] XMLCfg leaking

2005-02-06 Thread Michael . VanCanneyt
On Sun, 6 Feb 2005, Ales Katona wrote: > Try this program with a corrupted xml file(just delte part of a tag or > something) > Compile with -ghl and you'll get a few bytes leaked. I believe this is the bug Vincent Snijders was talking about. I will look at it; I need to change the xmlread and

[fpc-devel] XMLCfg leaking

2005-02-06 Thread Ales Katona
Try this program with a corrupted xml file(just delte part of a tag or something) Compile with -ghl and you'll get a few bytes leaked. program xmltest; {$mode objfpc}{$H+} uses SysUtils, XMLCfg; function LoadXML(var axml: TXmlConfig; const filename: string): boolean; begin writeln('Loading');

Re: [fpc-devel] porting

2005-02-06 Thread Peter Vreman
> peter green wrote: > >> i want to atempt to port FPC to a new CPU target (PIC18F452) >> >> there don't seem to be any guides to starting a port. any idea where one >> sohuld start when porting fpc. >> >> note: the cpu architecture in question has nowhere near enough power to >> support the compil

Re: [fpc-devel] porting

2005-02-06 Thread Florian Klaempfl
peter green wrote: i want to atempt to port FPC to a new CPU target (PIC18F452) there don't seem to be any guides to starting a port. any idea where one sohuld start when porting fpc. note: the cpu architecture in question has nowhere near enough power to support the compiler so all compilation for

[fpc-devel] porting

2005-02-06 Thread peter green
i want to atempt to port FPC to a new CPU target (PIC18F452) there don't seem to be any guides to starting a port. any idea where one sohuld start when porting fpc. note: the cpu architecture in question has nowhere near enough power to support the compiler so all compilation for this target will