Just one more thing...

Sean Kelly sean at invisibleduck.org
Mon Feb 23 08:28:11 PST 2009


Anders F Björklund wrote:
> Anders Bergh wrote:
> 
>>>> If you upload some 10.4 binaries I can try it on my machine.
>>> Already done. Just redownload it.
>>
>> Just downloaded it and I can confirm that it does run on 10.4:
>>
>> $ ./dmd
>> Digital Mars D Compiler v1.040
>> Copyright (c) 1999-2009 by Digital Mars written by Walter Bright
>> Documentation: http://www.digitalmars.com/d/1.0/index.html
> 
> I also got further with this one, than with the previous two:
> 
> $ dmd/osx/bin/dmd dmd/samples/d/hello.d
> /usr/bin/ld: Undefined symbols:
> _pthread_mutexattr_destroy$UNIX2003
> collect2: ld returned 1 exit status
> --- errorlevel 1
> 
> Apparently it's still using some Leopard symbols for pthread.
> 
> 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.



Sean


More information about the Digitalmars-d-announce mailing list