[fpc-devel] AArch64 port committed to svn trunk

Edmund Grimley Evans edmund.grimley.evans at gmail.com
Sat May 9 13:49:17 CEST 2015

Jonas Maebe <jonas.maebe at elis.ugent.be>:

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


> > but I find I can put whatever
> > I like in those files bracketed with {$ifdef aarch64} or {$ifdef
> > cpuaarch64} and it has no effect because those symbols are never
> > defined there, it seems.
> 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}

But I'm getting compiler/ppcrossa64 without getting an error!


More information about the fpc-devel mailing list