View previous topic :: View next topic |
Author |
Message |
aengus
Joined: 04 Dec 2006 Posts: 1
|
Posted: Mon Dec 04, 2006 4:23 pm Post subject: Bud on 64-bit linux |
|
|
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 |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Tue Dec 05, 2006 1:07 am Post subject: |
|
|
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 |
|
|
zzzzrrr
Joined: 17 Feb 2007 Posts: 139 Location: Washington, DC
|
Posted: Sat Feb 17, 2007 4:32 pm Post subject: Re: Bud on 64-bit linux |
|
|
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 |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Sat Feb 17, 2007 6:26 pm Post subject: Re: Bud on 64-bit linux |
|
|
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?
_________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
zzzzrrr
Joined: 17 Feb 2007 Posts: 139 Location: Washington, DC
|
Posted: Sat Feb 17, 2007 8:06 pm Post subject: Re: Bud on 64-bit linux |
|
|
[/quote]
Can't you just add the -m32 to the linker switches?
[/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 |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Sun Feb 18, 2007 5:25 am Post subject: Re: Bud on 64-bit linux |
|
|
Can't you just add the -m32 to the linker switches?
[/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 |
|
|
zzzzrrr
Joined: 17 Feb 2007 Posts: 139 Location: Washington, DC
|
Posted: Sun Feb 18, 2007 10:59 am Post subject: Re: Bud on 64-bit linux |
|
|
[/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 |
|
|
|