View previous topic :: View next topic |
Author |
Message |
Digited
Joined: 30 Oct 2007 Posts: 19
|
Posted: Tue Sep 29, 2009 10:41 pm Post subject: [EPIC WIN] Success on Mac OS X 10.5.8 |
|
|
http://dsource.org/projects/minid/wiki/Installation
Quote: | Mac users! I need your help. As of version 1.040, DMD now works on OSX 10.5. I have no idea if MiniD compiles under it and I own neither an Apple nor a hackintosh-compatible machine. Please to be the compiling and the testing. |
Hi, Jarrett,
Today i compiled & am using miniD2 on Mac OS X 10.5.8 (Mac Mini device).
- made & installed libconfig
- made & installed cmake
- made & installed LLVM 2.6 prerelease branch
- LDC trunk from a week ago
- Tango trunk from a week ago
- MiniD trunk from today
Without build tools:
1. svn co http://svn.dsource.org/projects/minid/trunk minid
2. cd minid/minid
3. ldc ../mdcl.d `ls *.d` -I=..
Thanks again for a great language!
p.s. using mdcl, i get a standard ldc's mac's bus error on exit (of every d program, compiled with it)
p.p.s. step 3 (compiling) took about 27 seconds on a c2d 1.83 GHz in a single thread.
Last edited by Digited on Wed Sep 30, 2009 1:56 am; edited 4 times in total |
|
Back to top |
|
|
Digited
Joined: 30 Oct 2007 Posts: 19
|
Posted: Tue Sep 29, 2009 10:58 pm Post subject: |
|
|
Successfully built minidc with ldc, but it segfaults in runtime. I suppose it's LDC's (or LLVM's) issue, same as bus error on exit.
At least mdcl works fine.
p.s. minidc test.md, btw, output test.mdm, so i guess it succeeded, but for now i dunno what to do with .mdm files... |
|
Back to top |
|
|
JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Wed Sep 30, 2009 3:01 am Post subject: |
|
|
Awesome! I don't have any access to a Mac so it's nice to see someone trying to use it there.
Also, .mdm files are treated almost the same as .md files. If you do "mdcl test", it'll look for both "test.md" and "test.mdm" and load whichever is newer. Alternatively you can just do "mdcl ./test.mdm" to load it directly. |
|
Back to top |
|
|
Digited
Joined: 30 Oct 2007 Posts: 19
|
Posted: Fri Oct 02, 2009 1:30 am Post subject: |
|
|
Here's a quick way to build mdcl on windows (like "ldc ..\mdcl.d `ls *.d` -I=.." on Posix with ldc):
1. cd <minid_folder>\minid
2. dir /b *.d > minid_modules.txt
3. dmd ..\mdcl.d @minid_modules.txt -I.. |
|
Back to top |
|
|
|