[Linux Lobby] AFLobby Beta 3.9.7
Moderator: Moderators
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
Yeah, but he could be running a 32bit linux, and then it should be fine (right?)AF wrote:x86 != x64 how could you even ask such a question?!?!?!?!?
You cant mix 32bit and 64bit binary executables. A 32bit lib cant load anything 64bit and vice versa. a 64bit java unitsync would only be usable on 64bit linux, whereas a 32bit would work for all.
If you are running a 64bit linux, seriously try and compile it once more; use your distributions package manager and install sun-java6-jdk (not free-java-sdk like i said before) It should work perfectly then.
Ye but who said he had a 64 bit library? He could have 32bit os + 32bit library on 64-bit hardware (e.g. like most windows xp users who've bought a comp in the past ~2 years)AF wrote:32bit linux +64 bit library == truncated pointers == horendous crashbugs.
But ye, I agree, he probably wouldn't be asking if he didn't have a 64bit version of linux.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
You mean good job Tobi and AF!Relative wrote:OMG!! Yay it works, good job Lippy! So does this mean Beta 1 is going public now?
Code: Select all
svn checkout https://spring.clan-sy.com/svn/spring/trunk/
cd trunk
scons configure
scons

Java isnt 32 bit ro 64bit or any bit. Java is compiled bytecode, it doesnt ahve any machine specific instructions.
UnitSync is C++. C++ does have architecture specific instructions. 64bit unitsync wont work on 32 bit linux/windows, and I asume the 64bit java runtime wont like the 32bit java unitsync.
AFLobby itself wont need 64bit and 32 bit versions, only untisync does.
also
multicore != 64bit
I could have a dual core cpu thats 32bit and a monocore cpu thats 64bit.
In 32bit architecture a number is a chain of 32bits. aka if a number is 33 bits long it wont be valid and it overflows. This is what limits memory, e.g. if you take the largest memory address thatll fit into 32 bits and icnrement it by 1 you cant access that location. aka 4GB+
So the biggest whole number available with a 32bit unsigned integer is 4294967295 and for 64bit 18446744073709551615.
Some programs need the bigger numbers on 32bit so they piece togetehr 2 32bit integers to make a 64bit one which requires extra calculations and processing to emulate 64bit math.
UnitSync is C++. C++ does have architecture specific instructions. 64bit unitsync wont work on 32 bit linux/windows, and I asume the 64bit java runtime wont like the 32bit java unitsync.
AFLobby itself wont need 64bit and 32 bit versions, only untisync does.
also
multicore != 64bit
I could have a dual core cpu thats 32bit and a monocore cpu thats 64bit.
In 32bit architecture a number is a chain of 32bits. aka if a number is 33 bits long it wont be valid and it overflows. This is what limits memory, e.g. if you take the largest memory address thatll fit into 32 bits and icnrement it by 1 you cant access that location. aka 4GB+
So the biggest whole number available with a 32bit unsigned integer is 4294967295 and for 64bit 18446744073709551615.
Some programs need the bigger numbers on 32bit so they piece togetehr 2 32bit integers to make a 64bit one which requires extra calculations and processing to emulate 64bit math.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
lol, you don't really get a choice, seeing as all current-gen consumer desktop cpus now are 64bit and most are multicore (dual core mainly moving towards quadcore)clericvash wrote:Thanks for clearing that up, i will deffinatly pick milticore over 64bit probably :).
I will probably test AF lobby sometime soon as well.
- clericvash
- Posts: 1394
- Joined: 05 Oct 2004, 01:05
64bit windows/linux is faster than the 32bit versions. i'd advise to use 64bit versions of vista or linux when possible. 64bit is worth having, if only for the ability to address more than 4GB of ram, aswell as the greater efficiency it gives to some operations.
You dont have much of a choice 64bit quad and dual cores are standard equipment nowadays, and have been for at least a year where dual cores concerned, and its been long overdue.
You dont have much of a choice 64bit quad and dual cores are standard equipment nowadays, and have been for at least a year where dual cores concerned, and its been long overdue.