MirBSD Weblog

Sponsored by
HostEurope Logo

MirBSD Weblog

⚠ This page contains old, outdated, obsolete, … historic or WIP content! No warranties e.g. for correctness!

All 1 2 3 4 5 6 7 8 9 10 11

I am making the first steps on my new MacBook Pro – a fine machine. I had had a bug report last year that MirMake does not build on a new Intel Mac running Mac OS 10.5 "Leopard". During 24C3, I had tried unsuccessfully to fix this. Now I finally know the reason.

It is an incompatibility between the getopt.h and getopt_long.c that come with MirMake and the ones in Leopard's libSystem. It seems that Apple has changed some function implementations to be UNIX2003 compatible. The old ones have been preserved for binary compatibility, and the choice is done via "symbol variants", like _getopt@UNIX2003. The upshot is that you need to use the system header.

I devised a fix (use the system getopt(3) in Darwin) but I now I need to figure out how to make a new mirmake release.

In other news, I am working on the talk for FOSDEM 2008 in Bruxelles. Stay tuned for more stuff about build systems (see news).

MirOS Logo