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: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

32 or 64 bit

Post by Fox in the Fog » Thu Mar 03, 2011 7:31 pm

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.
Image

User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 321
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: 32 or 64 bit

Post by Cobra_Fast » Thu Mar 03, 2011 7:39 pm

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: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: 32 or 64 bit

Post by Fox in the Fog » Thu Mar 03, 2011 7:57 pm

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
Image

User avatar
Cobra_Fast
Dev Monkey
Dev Monkey
Posts: 321
Joined: Sat Oct 07, 2006 11:51 am
Location: Germany
Contact:

Re: 32 or 64 bit

Post by Cobra_Fast » Thu Mar 03, 2011 10:27 pm

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: 5172
Joined: Fri Dec 13, 2002 4:11 am
Location: [Redacted]
Contact:

Re: 32 or 64 bit

Post by JeffM » Thu Mar 03, 2011 10:40 pm

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).

User avatar
blast
General
General
Posts: 4682
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: 32 or 64 bit

Post by blast » Thu Mar 03, 2011 11:51 pm

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: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: 32 or 64 bit

Post by Fox in the Fog » Fri Mar 04, 2011 6:25 pm

Ok many many thanks for all the information :D
Image

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 » Sat Apr 16, 2011 4:13 pm

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 » Sun Apr 17, 2011 2:58 pm

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: 227
Joined: Fri Aug 06, 2010 7:21 am
Location: Planet Earth
Contact:

Re: 32 or 64 bit

Post by Fox in the Fog » Mon Apr 18, 2011 12:38 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests