BZFlag 2.0.4 Released
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
ThankYou very much daemon. The app seems to work very well. try to keep that link active for a while. Thanks again.
Take a look at my Defender game mode concept.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
Client BZFS and BZadmin all good, on the server list now.
Universal, Idunno, clicking "get info" on the installed application, gives no results, no window opens at all.
Edit,
Now the window opens, says it's an intel application. Not universal or PPC
Universal, Idunno, clicking "get info" on the installed application, gives no results, no window opens at all.
Edit,
Now the window opens, says it's an intel application. Not universal or PPC
Take a look at my Defender game mode concept.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
- optic delusion
- Special Forces
- Posts: 1054
- Joined: Sat Sep 25, 2004 2:29 pm
- Location: Planet MoFo
- Contact:
There is no real need to do that Daemon. It doesn't really matter if it's universal or not.
If you're going to compile a new image, why not BZFlag 2.0.5 from CVS?
It is plugin enabled, has other features not available in 2.0.4.
If you're going to compile a new image, why not BZFlag 2.0.5 from CVS?
It is plugin enabled, has other features not available in 2.0.4.
Take a look at my Defender game mode concept.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom
May I ask you, please, did you have to changeDaemon wrote:I have just compiled BZFlag 2.0.4 for Intel Macs. It seems to work fine on my iMac Core Duo.
anything to get it through compilation? If so, it
would be nice to know what you did.
Thanks,
Snick.
Compile Intel/Universal Binary on ppc Mac
NOTE: I am almost positive this works without problems. I compiled bzflag for intel, and created a universal binary, but I do not have an intel mac to test it on.
ANOTHER NOTE: This only applies if you are on a ppc mac.
If you are interested in compiling BZFlag for Intel macs, or creating a universal binary of BZFlag, here is how I did it.
I added "-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386" to CPPFLAGS and CFLAGS in each makefile. I also added "-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386" to LDFLAGS in each makefile. I did this by changing configure.ac.
Here is a small shell script that helps get around some of the "quirks" of the BZFlag Xcode project by automating all the steps..
To make a universal binary, you need to first compile for ppc. Then change the makefiles, and compile for the Intel architecture. After you have both binaries, use this command.
The output, each time lipo is run, will be a universal binary that you can add to BZFlag.app/Contents/MacOS/.
ANOTHER NOTE: This only applies if you are on a ppc mac.
If you are interested in compiling BZFlag for Intel macs, or creating a universal binary of BZFlag, here is how I did it.
I added "-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386" to CPPFLAGS and CFLAGS in each makefile. I also added "-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386" to LDFLAGS in each makefile. I did this by changing configure.ac.
Here is a small shell script that helps get around some of the "quirks" of the BZFlag Xcode project by automating all the steps..
Code: Select all
#!/bin/sh
#
# makebz.sh
#
############################################################################
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
###########################################################################
# $1 should be the path to the bzflag folder
# Example: /volumes/untitled/bzflag
# $2 parameter can be
# "all" - runs ./autogen.sh, ./configure, and xcodebuild
#
# runs only xcodebuild if no value is given
build ()
{
if cd $1
then
#remove current build
rm -rf build/default/bzflag.app
if [ "$2" = "all" ]; then
./autogen.sh
./configure
fi
if xcodebuild setting=Default
then
cp -Rf data/* build/Default/BZFlag.app/Contents/Resources
fi
fi
}
build $1 $2
To make a universal binary, you need to first compile for ppc. Then change the makefiles, and compile for the Intel architecture. After you have both binaries, use this command.
Code: Select all
lipo -create <bzflag_ppc | bzfs_ppc | bzadmin_ppc> <bzflag_i386 | bzfs_i386 | bzadmin_i386> -output <bzflag | bzfs | bzadmin>
Last edited by Enigma on Tue Jun 06, 2006 4:52 pm, edited 1 time in total.
-
- Sergeant
- Posts: 250
- Joined: Wed Jan 05, 2005 3:12 pm
Re: Compile Intel/Universal Binary on ppc Mac
Please post a link to your build so it can be tested. There are many who would want to use it.Slayer++ wrote:NOTE: I am almost positive this works without problems. I compiled bzflag for intel, and created a universal binary, but I do not have an intel mac to test it on.
If you don't have the space/bandwidth to host it yourself, you could use www.yousendit.com for a temporary place to put it.
It looks like autoconf determines if the host system is big endian or little endian. WORDS_BIGENDIAN needs to be 0 for Intel.
bzflag/include/config.h
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#define WORDS_BIGENDIAN 1
This is a good document:
http://developer.apple.com/documentati ... inary.pdf
Anyways, I'm just trying to build BZFlag for Intel macs because, for some reason, it interests me. And I thought I'd post what I am doing to compile BZFlag because it might be useful to someone else, but it probably isn't.
bzflag/include/config.h
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#define WORDS_BIGENDIAN 1
This is a good document:
http://developer.apple.com/documentati ... inary.pdf
Are you positive? Are people really going trust a build that I release?There are many who would want to use it.
Anyways, I'm just trying to build BZFlag for Intel macs because, for some reason, it interests me. And I thought I'd post what I am doing to compile BZFlag because it might be useful to someone else, but it probably isn't.