View previous topic :: View next topic |
Author |
Message |
mwarning
Joined: 01 Apr 2007 Posts: 56
|
Posted: Sat Jun 09, 2007 9:22 am Post subject: rebuild build problem |
|
|
Hi,
I have troubles compiling a Dummy program using rebuild (0.64).
System is Linux using dmd-1.0.14.
I use the Tango libs instead of Phobos.
My Dummy.d file:
Code: |
module Dummy;
import tango.io.Stdout;
void main(char[][] args)
{
Stdout("Hello World").newline;
} |
When I try to compile it using rebuild:
http://paste.dprogramming.com/dpwl5i8t.php
rebuild was configured before (cp etc/rebuild/dmd-posix-tango /etc/rebuild/default).
Using dmd directly is working fine.
But somehow I can't map the flags to be used with rebuild.
Code: |
$ dmd -version=Posix -version=Tango -I/usr/include -I/opt/dmd/import -L-L/opt/dmd/lib -L/opt/dmd/lib/libtango.a -L/opt/dmd/lib/libphobos.a -ofDummy Dummy.d
gcc Dummy.o -o Dummy -m32 -Xlinker -L/opt/dmd/lib -Xlinker /opt/dmd/lib/libtango.a -Xlinker /opt/dmd/lib/libphobos.a -lphobos -lpthread -lm
|
EDIT: changed the link and update working (non rebuild) example
Last edited by mwarning on Mon Jun 11, 2007 11:15 am; edited 2 times in total |
|
Back to top |
|
|
teqdruid
Joined: 11 May 2004 Posts: 390 Location: UMD
|
Posted: Sun Jun 10, 2007 10:57 am Post subject: |
|
|
I'm getting a 404 on your link.
~John |
|
Back to top |
|
|
|