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

rebuild build problem

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
mwarning



Joined: 01 Apr 2007
Posts: 56

PostPosted: Sat Jun 09, 2007 9:22 am    Post subject: rebuild build problem Reply with quote

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. Question

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
View user's profile Send private message
teqdruid



Joined: 11 May 2004
Posts: 390
Location: UMD

PostPosted: Sun Jun 10, 2007 10:57 am    Post subject: Reply with quote

I'm getting a 404 on your link.

~John
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS 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