Just one more thing...

Anders F Björklund afb at algonet.se
Thu Mar 5 23:51:02 PST 2009


Sean Kelly wrote:

>>>> Could also be that dmd is now alright, but libphobos.a isn't.
>>>> But as long as those two (MDT+SDK) are applied, it should be.
>>> Darnit... using 10.4 pthreads might be difficult.  Posix support was a
>>> tad weak on OSX until 10.5.  We'd have to version the library code on OS
>>> version, which would be a tad weird since Apple doesn't really support
>>> old versions of its OS anyway.
>> The pthread symbol is there, just not in the UNIX2003 variant.
>> So at this point it's just a linker issue, even if more behind.
> 
> Phew!  Better that than disabling features.

Rebuilding Phobos with MDT+SDK* makes it work on Mac OS X 10.4.

At least for DMD 1.04x and the basic things, which puts it on
par with the other compilers (GDC and LDC) and is OK with me...

Haven't done D2 for any of them yet, so that might be trickier.

--anders

* http://www.algonet.se/~afb/d/dmd-osx.diff (copied from dmd)


More information about the Digitalmars-d-announce mailing list