D - Darwin version?
- kinghajj (3/3) Feb 05 2004 Is there a plan to port DMD to Darwin (the MacOS kernel)? I tried the li...
- Andy Friesen (3/6) Feb 05 2004 You'll have to wait for the GCC front end. (check the D.gnu newsgroup)
- resistor mac.com (5/11) Feb 06 2004 I have personally tried compiling the GCC frontend of Mac OS X, but with...
- kinghajj (4/4) Feb 06 2004 I have GCC 3.3 for MacOS X.3: it comes with Xcode. The install script fo...
-
Ben Hinkle
(24/24)
Feb 08 2004
"kinghajj"
wrote in message
Is there a plan to port DMD to Darwin (the MacOS kernel)? I tried the linux version, but I get a message that it cannot execute the binary file :(
Feb 05 2004
kinghajj wrote:Is there a plan to port DMD to Darwin (the MacOS kernel)? I tried the linux version, but I get a message that it cannot execute the binary file :(You'll have to wait for the GCC front end. (check the D.gnu newsgroup) -- andy
Feb 05 2004
I have personally tried compiling the GCC frontend of Mac OS X, but without success. It might still be possible, but will require significant hacking. Feel free to try it though. Owen In article <bvva4g$2eme$1 digitaldaemon.com>, Andy Friesen says...kinghajj wrote:Is there a plan to port DMD to Darwin (the MacOS kernel)? I tried the linux version, but I get a message that it cannot execute the binary file :(You'll have to wait for the GCC front end. (check the D.gnu newsgroup) -- andy
Feb 06 2004
I have GCC 3.3 for MacOS X.3: it comes with Xcode. The install script for Xcode is at (/Applications/Installers/Developer/) You should see some "package"-looking file, and run that. Xcode will install, and with it so will GCC and G++
Feb 06 2004
"kinghajj" <kinghajj_member pathlink.com> wrote in message news:bvv919$2cu0$1 digitaldaemon.com... | Is there a plan to port DMD to Darwin (the MacOS kernel)? I tried the linux | version, but I get a message | that it cannot execute the binary file :( I finally got the gcc front end built on OS X. Get the gdmd frontend source from my web site http://home.comcast.net/~benhinkle/gdmd-0.2.tar.gz and get the GCC-3.4 source from one of the mirrors at http://gcc.gnu.org/mirrors.html You'll need bison-1.35 (my mac had bison-1.28). You can get that from GNU, too. One little issue I had with bison is that I had to trim the link list since 1.35 didn't seem to build out of the box. Again, it might be my setup. Anyhow, once you get all that follow the instructions in the gdmd README and you should be able to build. Once it is built I had to setenv DYLD_LIBRARY_PATH <path to gcc build directory containing libgcc_s.dylib> and possibly also add that directory to the PATH as well. Also make sure you put -L. on the gdmd command line so that crt2.o is found. I'll keep plugging away at cleaning this stuff up, so stay tuned. Good luck, -Ben
Feb 08 2004