32 or 64 bit

News and info about current and upcoming releases of the game client and server.
Post Reply
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

32 or 64 bit

Post by fox in the fog »

I have Ubuntu 10.10 64 bit, and I have downloaded BZFlag by Synaptic, because there is on the repositories, so I didn't download the deb package from the BZFlag website, and so now I have the 2.0.16 version. But... Is this version of BZFlag compatible with 32 bit and also 64 bit system? is there a only 64bit version?:roll:
Last edited by fox in the fog on Mon Mar 14, 2011 7:16 pm, edited 1 time in total.
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: 32 or 64 bit

Post by Cobra_Fast »

32 bit programs will run on a 64 bit operating system with the 32 bit libraries installed.
64 bit programs will NOT run on a 32 bit operating system.
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: 32 or 64 bit

Post by fox in the fog »

Yes, I know this, but a 32 bit programs will run on a 64 bit operating system not so good (it's going to be not so fast etc...) so I want only to know if there is a 32 bit BZFlag version that can run on 32 and 64 bit operating system and another version of BZFlag at 64 bit (only for 64 bit operating system) :D
User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 322
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: 32 or 64 bit

Post by Cobra_Fast »

There is no official 64 bit release of BZFlag as far as I know. You either have to modify and compile it yourself or ask/wait for someone to do it.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: 32 or 64 bit

Post by JeffM »

Actually many 32 bit apps run faster on 64 bit systems. Modern 64 bit CPUs can do some operations twice as fast if they know they are 32 bit operation. 64 bit doesn't mean faster, it means the app can use over 4 gigs of ram. BZFlag does not use over 4 gigs of ram so it gets no benefit from being 64 bit. In fact in some cases it runs slower and uses more ram when built with 64 bit ( pointers are larger).
ImageJeffM
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: 32 or 64 bit

Post by blast »

Also, there really isn't an "official" build for linux in any form (and definitely not any 'deb' file for 2.0.16 on our list of releases). The project only releases binaries for Windows and Mac OSX. It is up to the package maintainers on the various distributions to build the linux binary packages (though some of those maintainers are also BZFlag devs), so it would be them that would build 64-bit packages or not.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: 32 or 64 bit

Post by fox in the fog »

Ok many many thanks for all the information :D
snick
Private First Class
Private First Class
Posts: 95
Joined: Thu Jun 02, 2005 2:26 pm

Re: 32 or 64 bit

Post by snick »

JeffM wrote:Actually many 32 bit apps run faster on 64 bit systems. Modern 64 bit CPUs can do some operations twice as fast if they know they are 32 bit operation. 64 bit doesn't mean faster, it means the app can use over 4 gigs of ram. BZFlag does not use over 4 gigs of ram so it gets no benefit from being 64 bit. In fact in some cases it runs slower and uses more ram when built with 64 bit ( pointers are larger).
But then function arguments are more often passed using
registers, rather than the stack, which is faster. Moreover,
there are 64-bit instructions which can be more efficient
than the 32-bit alternatives (e.g., for rip-relative addressing).
anomaly
Private First Class
Private First Class
Posts: 220
Joined: Tue Jul 26, 2005 10:32 pm
Location: Gainesville Florida

Re: 32 or 64 bit

Post by anomaly »

Fox in the Fog wrote:... so I want only to know if there is a 32 bit BZFlag version that can run on 32 and 64 bit operating system and another version of BZFlag at 64 bit (only for 64 bit operating system) :D
If you installed BZFlag from the official repos on a 64-bit version of Ubuntu then BZFlag was compiled as a 64-bit app. If you install on a 32-bit Ubuntu system then it will have been compiled as a 32-bit app. Most Ubuntu software is like this, unless there is no way to compile as 64-bit. If you see 32 bit libs being installed as dependencies on a 64 bit OS then it is most likely a 32 app that you are installing.
User avatar
fox in the fog
Private First Class
Private First Class
Posts: 237
Joined: Fri Aug 06, 2010 7:21 am

Re: 32 or 64 bit

Post by fox in the fog »

Ah... ok, thanks anomaly, you have been clear :)
Post Reply