Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
February 06, 2004 Darwin version? | ||||
---|---|---|---|---|
| ||||
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 :( |
February 06, 2004 Re: Darwin version? | ||||
---|---|---|---|---|
| ||||
Posted in reply to kinghajj | 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
|
February 06, 2004 Re: Darwin version? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andy Friesen | 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 |
February 06, 2004 Re: Darwin version? | ||||
---|---|---|---|---|
| ||||
Posted in reply to resistor | 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++ |
February 09, 2004 Re: Darwin version? | ||||
---|---|---|---|---|
| ||||
Posted in reply to kinghajj | "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 |
Copyright © 1999-2021 by the D Language Foundation