Forums
64 bit vs. 32 bit - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: General Discussion (https://www.vdrift.net/Forum/forumdisplay.php?fid=8)
+--- Thread: 64 bit vs. 32 bit (/showthread.php?tid=279)

Pages: 1 2 3


- thelusiv - 07-28-2006

Hmmm, it seems like you should not use -m32 with -march=athlon64 maybe? I'm not sure, just a guess. -target might be it...I havent' a clue Sad


- clytle374 - 07-28-2006

Well there i go editing while your posting, again.


- alex25 - 07-28-2006

clytle374 Wrote:I think i'm missing the 32 bit somthing here, Any ideas on what?

you are missing the 32 bits development libraries. on a debian system that would be ia32-libs, lib32gcc1, lib32stdc++6 and friends. i am sure your distribution has something similar (assuming you use linux, that is).

--alex--


- alex25 - 07-28-2006

thelusiv Wrote:Thanks for pointing that out alex, somehow I totally missed that.

So for -m32, how do you force a 64-bit build? I'm guessing -m64?

Is it possible to cross-compile 64-bit binaries on a 32-bit machine, running 32-bit libraries?

assuming you have the 64-bit development libraries installed and the appropriate compiler you would pass -m64 to gcc to generate 64-bit code. i'll be damned, debian actually has packages to build 64-bit applications on a 32-bit system.

--alex--


- thelusiv - 07-28-2006

clytle374 Wrote:Also the arch=athlon64 got me about +8FPS, very nice.
So there is a point to a natively compiled A64 package, if only for compiler optimizations. 8FPS is a nice big chunk of framerate! Smile


- thelusiv - 07-28-2006

alex25 Wrote:i'll be damned, debian actually has packages to build 64-bit applications on a 32-bit system.
Hmmm, sounds like cross-compiling is an option...


- clytle374 - 07-29-2006

I need a new distro, FC5 fourms are to full of use YUM, well YUM doesn't allow me to install the libs because there are new libs, well they won't work with the old gcc, so update gcc, well now it's all YUMed up. I can't do a gentoo stage one yet, what do you recomend? I miss redhat 6.
debian??
Thanks


- thelusiv - 07-29-2006

I recommend Ubuntu if you want a really polished OS. Before Dapper came out I decided to try Debian Etch to see how much I liked it, and so far it's pretty good. I'd still like to install Ubuntu Dapper but Etch works, and so I don't.

Sigh, RedHat 6 is ancient...that was my first Linux distro! /me feels old...

I have mixed feelings about Fedora. I won't say it's bad. It's just that, a lot of people seem to think it will replace RedHat 6/7/8...and it doesn't. It's very bleeding edge, and while that's nice for some folks, that isn't exactly what old free RedHat was. Fedora should be classed along with Gentoo, Debian unstable, and such other "development" distros.

But again, if you want a really good, stable, easy-to-use, polished free OS, go with Ubuntu. They have a 64-bit flavor, and you can get Kubuntu if you're not into Gnome.


- joevenzon - 07-29-2006

I'd like to take this opportunity to bang the gentoo drum once. It's the only distro that I haven't gotten disgusted with and reinstalled or uninstalled after a year. There are occasional hiccups, but those are nothing compared to the show-stoppers I've always ended up with when using any binary distro. I've still got an up-to-date, stable system four years after I installed it.


- clytle374 - 07-29-2006

OK that's what i thought, do you do a stage one or what?? I like raided drives (cheap+fast), last time i checked it wouldn't, unless you do a stage one. Small price to pay, to know what is on you machine, and WHY.

Thanks
Cory


- joevenzon - 07-29-2006

I used the normal stage 3 install, which happens to be the only supported type these days. I use a RAID array, and didn't run into problems. As I understand it, the only difference with a stage 1 or stage 2 is that you build everything from scratch, where with a stage 3 you start with binaries of things like gcc. Once you're up and running, you can always go back and emerge gcc to have it recompiled with any specific optimizations. I'd recommend using a stage 3.


- clytle374 - 07-29-2006

I've been on the gentoo site for hours now, guide printed CD burning.
and
I found an intersting article on 64 bit on gentoo's site:
http://enterprise.linux.com/enterprise/05/06/09/1413209.shtml?tid=121
It helped me so, i guess you did something right in the code.

Thanks
Cory


- thelusiv - 07-29-2006

I ran Gentoo for a long time too, it's one of the better Linux distributions if you are looking to learn more about the operating system.


- clytle374 - 08-01-2006

Almost there, one udev problem to go.
Gentoo is sweet.
Do i scons vdriftthe same way?, several places on the net say only use emerge and ebuild.

Cory


- thelusiv - 08-01-2006

VDrift should work just fine on Gentoo, just the way you're used to. There is an ebuild in the works, you can download it here: http://bugs.gentoo.org/show_bug.cgi?id=98094