digitalmars.D.learn - Installing D on MacOS X
- Duke Normandin (20/20) May 25 2010 Hey...
- Steven Schveighoffer (11/29) May 25 2010 I'll preface this by saying I am not and have never really been a MAC
- Ellery Newcomer (4/22) May 25 2010 It's the first time I've read those instructions, but I find them highly...
- Jacob Carlborg (4/22) May 26 2010 You did get answers in the D newsgroup ?
Hey... 2 hours into my D language experience.... Got some instructions from th digitalmars-d list for getting D installed on my Intel OS X box. Still having problems: dnormandin ~/programming/dmd2/code 06:40 am >> dmd 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 ld: can't open output file for writing: firstApp, errno=21 collect2: ld returned 1 exit status --- errorlevel 1 First of all, if there are any D language developers tuned in, how about getting a $%&^* makefile happening to install _all_ language-related stuff where it's suppose to go? Anyway, what's the problem _now_, given the above error message? -- Duke
May 25 2010
On Tue, 25 May 2010 09:50:52 -0400, Duke Normandin <dukeofperl ml1.net> wrote:Hey... 2 hours into my D language experience.... Got some instructions from th digitalmars-d list for getting D installed on my Intel OS X box. Still having problems: dnormandin ~/programming/dmd2/code 06:40 am >> dmd 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 ld: can't open output file for writing: firstApp, errno=21 collect2: ld returned 1 exit status --- errorlevel 1 First of all, if there are any D language developers tuned in, how about getting a $%&^* makefile happening to install _all_ language-related stuff where it's suppose to go? Anyway, what's the problem _now_, given the above error message?I'll preface this by saying I am not and have never really been a MAC user, but I have a lot of experience on Linux. Could it be that you have a 64-bit MacOS and the 32-bit compatible libraries aren't installed? I'm not sure how mac works, but i386 is a 32-bit architecture, and it looks like your linking with files named x86_64. dmd is a 32-bit only compiler for now. Again, no idea how to do this on a Mac. -Steve
May 25 2010
On 05/25/2010 08:50 AM, Duke Normandin wrote:Hey... 2 hours into my D language experience.... Got some instructions from th digitalmars-d list for getting D installed on my Intel OS X box. Still having problems: dnormandin ~/programming/dmd2/code 06:40 am>> dmd 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 ld: can't open output file for writing: firstApp, errno=21 collect2: ld returned 1 exit status --- errorlevel 1 First of all, if there are any D language developers tuned in, how about getting a $%&^* makefile happening to install _all_ language-related stuff where it's suppose to go?It's the first time I've read those instructions, but I find them highly suspect. You shouldn't need to copy anything outside the folders from the zip file.Anyway, what's the problem _now_, given the above error message?
May 25 2010
On 2010-05-25 15.50, Duke Normandin wrote:Hey... 2 hours into my D language experience.... Got some instructions from th digitalmars-d list for getting D installed on my Intel OS X box. Still having problems: dnormandin ~/programming/dmd2/code 06:40 am>> dmd 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 ld: can't open output file for writing: firstApp, errno=21 collect2: ld returned 1 exit status --- errorlevel 1 First of all, if there are any D language developers tuned in, how about getting a $%&^* makefile happening to install _all_ language-related stuff where it's suppose to go? Anyway, what's the problem _now_, given the above error message?You did get answers in the D newsgroup ? -- /Jacob Carlborg
May 26 2010