View previous topic :: View next topic |
Author |
Message |
Paolo Invernizzi
Joined: 20 Jul 2006 Posts: 17
|
Posted: Fri Mar 23, 2007 3:27 am Post subject: Bud 3.04 GDC 0.23 OS X 10.4 |
|
|
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
| |
|
Back to top |
|
|
Carlos
Joined: 19 Mar 2004 Posts: 396 Location: Canyon, TX
|
Posted: Fri Mar 23, 2007 6:38 am Post subject: |
|
|
Could you try changing those std.c.darwin.darwin to std.c.unix.unix? |
|
Back to top |
|
|
Paolo Invernizzi
Joined: 20 Jul 2006 Posts: 17
|
Posted: Fri Mar 23, 2007 8:05 am Post subject: |
|
|
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 |
|
|
|