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

Bud on 64-bit linux

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



Joined: 04 Dec 2006
Posts: 1

PostPosted: Mon Dec 04, 2006 4:23 pm    Post subject: Bud on 64-bit linux Reply with quote

While linking bud does not use -m32 option while running gcc. As a result, on the 64-bit linux system linker does not find appropriate libphobos.
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Tue Dec 05, 2006 1:07 am    Post subject: Reply with quote

So how would Bud know if its running on a 64-bit system? Can I use the version(x86_64 ) statement?
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
zzzzrrr



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

PostPosted: Sat Feb 17, 2007 4:32 pm    Post subject: Re: Bud on 64-bit linux Reply with quote

aengus wrote:
While linking bud does not use -m32 option while running gcc. As a result, on the 64-bit linux system linker does not find appropriate libphobos.


I have just discovered this issue on my x86_64 Suse 10.2 box. Has anyone found a solution? Any help would be appreciated!
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Sat Feb 17, 2007 6:26 pm    Post subject: Re: Bud on 64-bit linux Reply with quote

zzzzrrr wrote:
aengus wrote:
While linking bud does not use -m32 option while running gcc. As a result, on the 64-bit linux system linker does not find appropriate libphobos.


I have just discovered this issue on my x86_64 Suse 10.2 box. Has anyone found a solution? Any help would be appreciated!

Can't you just add the -m32 to the linker switches?

Code:

-L-m32

_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
zzzzrrr



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

PostPosted: Sat Feb 17, 2007 8:06 pm    Post subject: Re: Bud on 64-bit linux Reply with quote

[/quote]
Can't you just add the -m32 to the linker switches?

Code:

-L-m32
[/quote]

I actually modified the build.d file on line 155 to:

string vArgDelim = " -m32 ";

And it works!!! Whoo-Ho!

Not bad for a newb!
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Sun Feb 18, 2007 5:25 am    Post subject: Re: Bud on 64-bit linux Reply with quote

zzzzrrr wrote:

Can't you just add the -m32 to the linker switches?

Code:

-L-m32
[/quote]

I actually modified the build.d file on line 155 to:

string vArgDelim = " -m32 ";

And it works!!! Whoo-Ho!

Not bad for a newb![/quote]
But not what I'd advocate. The configuration file is there for a purpose. The next release will force the configruation file to be used because there will be no compile-time literals defined for the various configurations.

However, the source is open so do what you see fit, but I cannot tell you that I will be putting them into the base source release.
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
zzzzrrr



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

PostPosted: Sun Feb 18, 2007 10:59 am    Post subject: Re: Bud on 64-bit linux Reply with quote

[/quote]
But not what I'd advocate. The configuration file is there for a purpose. The next release will force the configruation file to be used because there will be no compile-time literals defined for the various configurations.

However, the source is open so do what you see fit, but I cannot tell you that I will be putting them into the base source release.[/quote]

Ok, thanks for the help. Since I'm VERY green to 'D', how do I go about modifying the linker switches with "-L-m32"?

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