Installing D on MacOS X Leopard box

Duke Normandin dukeofperl at ml1.net
Tue May 25 06:55:26 PDT 2010


On Tue, 25 May 2010, Jacob Carlborg wrote:

> On 2010-05-25 03.56, Duke Normandin wrote:
> > Hello list...
> >
> > I'm new to D, but not programming. I've followed the instructions on
> >
> > http://www.digitalmars.com/d/2.0/dmd-osx.html
> >
> > However, I keep on getting this error:
> >
> > dnormandin@ ~/programming/dmd2/code
> > 04:38 pm>>  dmd -w firstApp.d
> > object.d: Error: module object is in file 'object.d' which cannot be
> > read
> > import path[0] = /etc/../../src/phobos
> > import path[1] = /etc/../../src/druntime/import
> >
> > My guess is that dmd.conf is hosed somehow. I haven't edited the
> > default one - I've got it living in /etc/.
>
> You can just unzip the zip file, add executable permission on dmd/osx/bin/dmd
> and use it just where it is.

dnormandin@ ~/programming/dmd2/osx/bin
07:53 am >> ./dmd ../../code/firstApp.d
ld warning: in /usr/local/gnat/lib/libgcc_s.10.5.dylib, missing
required architecture i386 in file
ld warning: in
/usr/local/gnat/lib/gcc/x86_64-apple-darwin9.6.0/4.3.4/libgcc.a, file
is not of required architecture

Now what?
-- 
duke


More information about the Digitalmars-d mailing list