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

Compiling Build-2.10 on MacOSX using gdc

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
gmiller



Joined: 20 Jan 2006
Posts: 4

PostPosted: Sun Apr 09, 2006 8:57 pm    Post subject: Compiling Build-2.10 on MacOSX using gdc Reply with quote

Not sure if you've already received feedback on this but I had some initial issues building build-2.10 on MacOSX 10.3 using gdc-0.17. They were easily fixed with the following changes

Makefile.gdc
Add util/booltype.d to the list of SOURCES

util/fileex.d
Add 'import util.str;' within the private import scope at the top of the file.

I can email my copies of the Makefile.gdc and util.fileex.d if you wish. My apologies if you've already fixed these and I missed something

Gordon
Back to top
View user's profile Send private message Send e-mail
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Sun Apr 09, 2006 9:10 pm    Post subject: Re: Compiling Build-2.10 on MacOSX using gdc Reply with quote

gmiller wrote:
Not sure if you've already received feedback on this but

...

My apologies if you've already fixed these and I missed something


Thanks heaps. Every bit of help to improve this product is very welcome. Of course, I'll incorporate your changes in the next release.
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
gmiller



Joined: 20 Jan 2006
Posts: 4

PostPosted: Sun Apr 09, 2006 9:15 pm    Post subject: Trying to follow std dependencies Reply with quote

When trying to build my project using 2.10 I get the error that std/stdio.d cannot be found. When I run using -v it shows me the following lines:

Scanning sys.d
Module name set to 'owc.sys'
module->file std.stdio => std/stdio.d
module->file std.string => std/string.d
file->module std/stdio.d => std.stdio
Time not recorded for std/stdio.d
Time not recorded for std/stdio.o
Scanning std/stdio.d
Error: File 'std/stdio.d' not found.

I did not get this behavior in 2.09. When I run using 2.09 it gives me the same module lines as above but doesn't give me the error.
Back to top
View user's profile Send private message Send e-mail
gmiller



Joined: 20 Jan 2006
Posts: 4

PostPosted: Sun Apr 09, 2006 9:52 pm    Post subject: Reply with quote

With regards to the previous post, the problem appears that in build.d the vModulesToIgnore has "phobos" as the only entry. I simply added the line

vModulesToIgnore ~= "std";

immediately following the phobos line and that problem is now gone.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build 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