On 07/08/13 16:03, Mark Morgan Lloyd wrote:
martin wrote:
On 07/08/13 13:47, Mark Morgan Lloyd wrote:
martin wrote:

Using 2.6.2 on Linux, trunk (with bigide) currently doesn't build on SPARC or PPC unless PascalScript and EditorMacroScript are hacked out. I can't currently test ARM, MIPS etc.

what errors does the compiler give? IIRC they used to compile and work on ppc

This on Linux PPC, something similar on Linux SPARC:

...
uPSRuntime.pas(8717,8) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead. powerpc.inc(5,4) Fatal: User defined: This code is Darwin specific at the moment!
Fatal: Compilation aborted

try to replace the {$fatal ... } directive, with a
 raise exception.create('not supported on ...');

the IDE checks on start, and will permanently disable

Sorry to sound dense, but where should I be doing this? I'd add that I was building from a shell session with make bigide rather than from inside the IDE.



powerpc.inc should be in components/PascalScript/Source

line 269, start of
function TPSExec.InnerfuseCall
(after the nested ...)


and remove BOTH $fatal at the top of file

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to