FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[EPIC WIN] Success on Mac OS X 10.5.8

 
Post new topic   Reply to topic     Forum Index -> MiniD
View previous topic :: View next topic  
Author Message
Digited



Joined: 30 Oct 2007
Posts: 19

PostPosted: Tue Sep 29, 2009 10:41 pm    Post subject: [EPIC WIN] Success on Mac OS X 10.5.8 Reply with quote

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
View user's profile Send private message Visit poster's website
Digited



Joined: 30 Oct 2007
Posts: 19

PostPosted: Tue Sep 29, 2009 10:58 pm    Post subject: Reply with quote

Successfully built minidc with ldc, but it segfaults in runtime. Sad 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
View user's profile Send private message Visit poster's website
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Wed Sep 30, 2009 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Digited



Joined: 30 Oct 2007
Posts: 19

PostPosted: Fri Oct 02, 2009 1:30 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> MiniD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group