[Ohrrpgce] SVN: teeemcee/7970 mac: Support compiling with (patched) FB 1.06!

Ralph Versteegen teeemcee at gmail.com
Thu Apr 28 07:55:44 PDT 2016


On 29 April 2016 at 02:30,  <subversion at hamsterrepublic.com> wrote:
> teeemcee
> 2016-04-28 07:30:19 -0700 (Thu, 28 Apr 2016)
> 338
> mac: Support compiling with (patched) FB 1.06!
>
> Requires some patches to FB, which I will be contributing upstream soon for
> FB 1.06. May have to replace the -entry commandline flag though.
>
> Compiles both as 32 bit and 64 bit, but the 64 bit builds fail autotest.rpg
> under both Linux and Mac, with a stack underflow BUG message in battles.
> ---
> U   wip/SConscript
> U   wip/config.bi

Working on the Mac port of FB has been my project for the last couple
of weeks and I'm close to done. Although the mac port was already
good enough to compile FB itself if you made a couple edits to the
Makefile, there were still a number of broken things (although few of
them needed to be fixed to get the OHR working); the FB test cases
were far from compilable.
Apparently fbgfx actually works if you have XQuartz installed. And I
see that someone has started working on an SDL2-based backend for
fbgfx as well. So I should try that, although full gfx_fb support will
probably be too much bother.

The main problem is that it doesn't compile without a recent gcc for a
rather silly reason: fbc passes some -W (warning disable) flags that
older gcc  refuse to accept.

Likewise I will also clean up my android patches for FB 1.06, so that
very soon we can switch to requiring FB 1.05/1.06! Then we can make
use of recent FB features like polymorphic OO and dynamic arrays in
UDTs.

Another project is to fix 64 bit builds and make those official. It's
most likely to be an OHR bug.


More information about the Ohrrpgce mailing list