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

Bud 3.04 GDC 0.23 OS X 10.4

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



Joined: 20 Jul 2006
Posts: 17

PostPosted: Fri Mar 23, 2007 3:27 am    Post subject: Bud 3.04 GDC 0.23 OS X 10.4 Reply with quote

Hi all,
I'm trying to compile bud 3.04 on OS X with GDC 0.23, but seems that it's not supported (see below).
Someone can help me found around a bud executable for os x? I want to try Tango, but it seems that is requires bud to build also the "hello world" example...

Code:

invernizzi$ make -f Makefile.gdc
gdmd -op -release -inline -ofbuild build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro.d util/file2.d
util/fdt.d:71: module darwin cannot read file 'std/c/darwin/darwin.d'
util/fdt.d:71: module darwin cannot read file 'std/c/darwin/darwin.d'
util/fdt.d:71: module darwin cannot read file 'std/c/darwin/darwin.d'
make: *** [build] Error 1
Shocked Shocked Shocked Shocked
Back to top
View user's profile Send private message
Carlos



Joined: 19 Mar 2004
Posts: 396
Location: Canyon, TX

PostPosted: Fri Mar 23, 2007 6:38 am    Post subject: Reply with quote

Could you try changing those std.c.darwin.darwin to std.c.unix.unix?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Paolo Invernizzi



Joined: 20 Jul 2006
Posts: 17

PostPosted: Fri Mar 23, 2007 8:05 am    Post subject: Reply with quote

Carlos wrote:
Could you try changing those std.c.darwin.darwin to std.c.unix.unix?


Worked!

Code:

invernizzi$ make -f Makefile.gdc
gdmd -op -release -inline -ofbuild build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d util/linetoken_bn.d util/macro.d util/file2.d
invernizzi$


The second step failed WITH the op option

Code:

invernizzi$ ./build build -full -op
i686-apple-darwin8-gdc-4.0.1: str.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: str_bn.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: linetoken.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: linetoken_bn.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: booltype.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: fdt.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: fdt_bn.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: pathex.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: pathex_bn.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: file2.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: file2_bn.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: fileex.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: fileex_bn.o: No such file or directory
i686-apple-darwin8-gdc-4.0.1: macro.o: No such file or directory


But worked WITHOUT op:

Code:

invernizzi$ ./build build -full
invernizzi$
invernizzi$ ./bud
Path and Version : ./bud v3.04(2516)
  built on Fri Mar 23 14:31:40 2007
Usage: bud sourcefile [options objectfiles libraries]
...


What's the op for?
Thanks
Back to top
View user's profile Send private message
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