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

Linux Ubuntu-64 Tango Compile

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



Joined: 17 Feb 2007
Posts: 139
Location: Washington, DC

PostPosted: Tue Jan 22, 2008 7:34 pm    Post subject: Linux Ubuntu-64 Tango Compile Reply with quote

Hello,

I just installed DMD, Tango, Derelict, and DSSS on my Linux machine. Whenever I try to compile, I get the following message:

/usr/bin/ld: i386:x86-64 architecture of input file `/home/mason/dsss/lib//libtango-base-dmd.a(critical.o)' is incompatible with i386 output

Does anyone have any insight as to why this is happening to me?!

Thanks,
Mason
Back to top
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Wed Jan 23, 2008 4:01 pm    Post subject: Reply with quote

DMD is 32bit only, try gdc (d front end for gcc)
Back to top
View user's profile Send private message
zzzzrrr



Joined: 17 Feb 2007
Posts: 139
Location: Washington, DC

PostPosted: Thu Jan 24, 2008 10:52 am    Post subject: Reply with quote

Ok, I've tried every combination of DMD, GDC, Tango, and DSSS, including installing Tango through DSSS net install. Still not working.

I think the easy solution will be to re-install 32-bit Linux. I'll just wait to use 64-bit Linux until the D community evolves a little bit more!
Back to top
View user's profile Send private message
Cyborg16



Joined: 28 Apr 2007
Posts: 39

PostPosted: Wed Feb 20, 2008 5:54 am    Post subject: DMD on 64-bit linux Reply with quote

No, I'm using DMD on 64-bit linux quite happily. I just had to install x86 compatibility libraries. I use debian and just had to install one of the provided packages; ia32-libs (possibly others also). This will give you a fully working x86 compiler.

Alternately, gdc supports 64-bit targets, but there have been quite a few problems with tango and 64-bit gdc. I haven't tried it for a while, but I can tell you that gdc 0.24 and older certainly won't work.
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 -> 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