Any version of any D compiler that works properly on Mac OS X
zonk
nospam at thx.com
Mon Nov 2 15:17:28 PST 2009
Anders F Björklund Wrote:
> GDC "should" be able to build for Mac OS X 10.6,
> if using the legacy gcc-4.0 compiler (gcc-5484)
>
> http://opensource.apple.com/tarballs/gcc/gcc-5484.tar.gz (Xcode 3.1)
> http://downloads.sourceforge.net/gdcmac/gdc-trunk-r229-apple-gcc-5484.patch
I'm not sure if I applied this patch correctly, it complained about missing files.
I also don't know right configure flags to build GCC. With just ../gcc-5484/configure && make it doesn't compile:
Undefined symbols:
"_build_modify_expr", referenced from:
_ix86_darwin_handle_regparmandstackparm in libbackend.a(i386.o)
"_store_init_value", referenced from:
_convert_to_vector in libbackend.a(convert.o)
"_objc_create_init_utf16_var", referenced from:
_darwin_build_constant_cfstring in libbackend.a(darwin.o)
(lots of errors follow).
> But there is no GDC installer for Snow Leopard,
> and I don't think that gcc-4.2 works yet either ?
It is the default compiler in XCode (i686-apple-darwin10-gcc-4.2.1).
More information about the Digitalmars-d
mailing list