[fpc-devel] Revisiting MacOS for PPC (and possibly 68K)

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Mon Dec 10 12:15:44 CET 2012

I'm currently cross-compiling the MacOS RTL for PPC on a PC. I've fixed 
some trivial issues that had crept in since this was last maintained, 
some of which affect other targets, but am stuck at the errors below.

/usr/local/src/fpc/fpc-trunk/compiler/ppcXppc -Ur -Tmacos -Ppowerpc 
-XPpowerpc-macos- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../powerpc -FE. 
-FU/usr/local/src/fpc/fpc-trunk/rtl/units/powerpc-macos -dpowerpc 
-dRELEASE  -Us -Sg system.pp
text.inc(1789,14) Warning: Implicit string type conversion from 
"AnsiString" to "UnicodeString"
text.inc(2013,44) Warning: Implicit string type conversion with 
potential data loss from "UnicodeString" to "AnsiString"
system.pp(481,2) Warning: User defined: To be implemented - using 
system.pp(571) Fatal: Internal error 2003090901
Fatal: Compilation aborted
make[2]: *** [system.ppu] Error 1
make[2]: Leaving directory `/usr/local/src/fpc/fpc-trunk/rtl/macos'

Allowing that system.pp ends at line 570, I presume that something after 
  line 481 is confusing the compiler. Any suggestions would be appreciated.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-devel mailing list