Installing D on MacOS X Leopard box

Duke Normandin dukeofperl at ml1.net
Tue May 25 08:34:37 PDT 2010


On Tue, 25 May 2010, Michel Fortin wrote:

> On 2010-05-25 10:30:44 -0400, Duke Normandin <dukeofperl at ml1.net> said:
>
> > I simply followed the installation instructions on:
> >
> > http://www.digitalmars.com/d/2.0/dmd-osx.html
> >
> > I also installed the XCode plugin for D. Could _that_ have hosed my
> > install?
>
> Unlikely. The two errors you wrote about:
>
> > > 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
>
> Noticed that both refer to files in /usr/local/gnat? "GNAT", isn't this a
> GCC-based ADA compiler? My guess is that some of you environment variables
> have the "/usr/local/gnat" path before the standard system path, and "gnat"
> seems to include single-architecture (x86_64) copies of the GCC libraries. If
> that's the case, GCC running in 64 bit will work using these libraries, but
> since DMD is 32 bit it won't.

Nice catch! You must be French! ;) (like me..) Have to go out of town
for a few days, so I'll get back to this stuff at the end of the
week. L8r..
-- 
duke


More information about the Digitalmars-d mailing list