Installing D on MacOS X Leopard box
doob at me.com
Tue May 25 07:10:32 PDT 2010
On 2010-05-25 15.55, Duke Normandin wrote:
> 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
>>> 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
>>> import path = /etc/../../src/phobos
>>> import path = /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?
What have you done with your developer tools installation ?? It doesn't
install anything in /usr/local by default. And by default all libraries
are universal binaries so you shouldn't have that problem.
It seems you have installed a new gcc version and you haven't build it
the Apple way, that is building with support for universal builds.
More information about the Digitalmars-d