Am 09.05.2015 21:01 schrieb "Martin Frb" :
>
> On 09/05/2015 19:54, Martin Frb wrote:
>>
>>
>> It does not work for me in units. fpc trunk r30815.
>>
>> If I copy all the code into the main project, then it works (and I get
all the hints, about inlining disabled.).
>>
>> But the above, stopping wit
On 09/05/2015 19:54, Martin Frb wrote:
It does not work for me in units. fpc trunk r30815.
If I copy all the code into the main project, then it works (and I get
all the hints, about inlining disabled.).
But the above, stopping with the debugger, and stepping in:
- there is on "call" instruc
On 09.05.2015 18:12, Martin Frb wrote:
Are there any known conditions, in which inlining is applied, despite a
{$INLINE off}
on top of the unit?
(fpc trunk and 2.6.4)
$INLINE OFF only tells the compiler not to generate inlining information
for functions (either explicitely using "inline" or au
Are there any known conditions, in which inlining is applied, despite a
{$INLINE off}
on top of the unit?
(fpc trunk and 2.6.4)
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Jonas Maebe :
> > I've put this in t_linux.pas:
> >
> > {$ifdef aarch64}
> > xx xx xx
> > {$endif aarch64}
> >
> > But I'm getting compiler/ppcrossa64 without getting an error!
>
> Ah yes, you also still have to include that unit in the AArch64
> compiler, see compiler/aarch64/cputarg.pas
Than
On 09/05/15 13:49, Edmund Grimley Evans wrote:
> Jonas Maebe :
>
>> Code bracketed with {$ifdef aarch64} is included if you are compiling a
>> compiler that targets AArch64, regardless of the host architecture.
>
> I've put this in t_linux.pas:
>
> {$ifdef aarch64}
> xx xx xx
> {$endif aarch64}
Jonas Maebe :
> You indeed have to include the equivalents of
> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=29877 (in
> i_linux.pas) and
> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=29897 (in
> t_linux.pas).
Thanks.
> > but I find I can put whatev
Thanks for those explanations.
I modified packages/fpmkunit/src/fpmkunit.pp and
utils/fpcm/fpcmmain.pp by analogy with revisions 29899 and 29902, then:
make all
utils/fpcm/bin/i386-linux/fpcmake -Tall -r
make all OS_TARGET=linux CPU_TARGET=aarch64
After a while it objects to a missing aarch64/pr
On 09/05/15 11:16, Edmund Grimley Evans wrote:
> After a while it objects to a missing aarch64/prt0.as, but it has
> already made compiler/ppcrossa64. Naturally, this is still a Darwin
> compiler:
>
> $ compiler/ppcrossa64 /dev/null
> Free Pascal Compiler version 3.1.1 [2015/05/09] for aarch64
>
Am 08.05.2015 23:56 schrieb "Martin Frb" :
>
> What are the scoping rules?
>
> Example:
>
> TLazStorageMemBase = object
> private
> const
> CNT_OFFS = SizeOf(Pointer);
> DATA_OFFS = CNT_OFFS + (2 * SizeOf(Integer));
> private
> FMem: PByte;
> function GetCapacity: Integer;
10 matches
Mail list logo