[uae] How is the Mac OS X binary built?

  • From: "Byron Q. Desnoyers Winmill" <byron@xxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Mon, 10 May 2004 00:20:21 -0400

How are the Mac OS X binaries built?

After adding the filesystem option to my .uaerc file, the binaries
I build generate a bus error.  This problem is not evident in the
official binary (I'm using uae-0.8.25-20040302-osx-sdl.zip).  It
would be nice to build my own functional binaries for two reasons:
X is faster than SDL under Mac OS X, and I like avoiding too many
dependencies (ie. gtk+ and libsdl).

The problem appears to be in the filesys_thread().
The bus error is generated when the following line is called:
  put_long (get_long (morelocks), get_long (ui->self->locklist));
I have established that morelocks = 0, immediately after the call:
  morelocks = (uae_u32)read_comm_pipe_int_blocking (ui->unit_pipe);
This is what it would return if td-none/thread.h was included,
though there may be other circumstances when this would happen
(because I really don't understand what is going on here :).

I've tried building with a plain "./configure" and a ever so slightly
less plain "./configure --disable-threads".  The same chunk of code
is being called in both cases (it doesn't look like it should be,
if I believe the #ifdef).  Of course, gtk+ and sdl aren't detected
because they don't exist (well, the libraries for the latter are
there -- but not the headers).

I'm trying to build it on Mac OS X 10.3 with the developer tools
that shipped with it (ie. Xcode hasn't been updated).

Any comments would be appreciated.

Byron.

Other related posts: