[quake3] [PATCH] Mac OSX support
Mike Davis
only_mortal at mac.com
Mon Apr 10 16:20:27 EDT 2006
On 10 Apr 2006, at 20:47, Ryan C. Gordon wrote:
>
>> Oh, sorry. I guess I was just a bit confused by the comments in
>> Anders' SDL
>> patch which seemed to indicate that dlopen() should be used
>> pre-10.3. And
>> also by the fact that ioq3 did not use .bundle previously.
>
> There's no dlopen() function in Mac OS X before 10.3. SDL
> reimplements dlopen() internally using lower level Carbon calls to
> retain 10.2 compatibility.
I used to use some code that did what dlopen() does using the mach
loader apis (in ViaVoice OSX and SafeCast specifically). I seem to
remember some code in an older Darwin that did dlopen(). Either that
or someone wrote some stub code for dlopen().
>
> Dynamic libraries, unlike bundles, can't be unloaded on Mac OS X,
> which might be why ET has that requirement.
>
> --ryan.
>
More information about the quake3
mailing list