RE: 64-bit vs 32-bit scenery build

"Corrubia, Stacie K" <[email protected]> Tue, 26 Jul 2005 15:21:38 -0500
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <AF425B46F7DA9D4B8690C2E1EACFC17F0B8406@xch-mw-10.mw.nos.boeing.com>
Thanks for the feedback on the 64-bit vs 32-bit scenery builds.  

I compared the binaries from the 32-bit machine to that of the 64-bit
machine and found differences.  

Searching on the web I found a reference to data type differences
between 32-bit and 64-bit machines.
http://developers.sun.com/solaris/articles/solarisupgrade/64bit/Convert.
html#intandlong
It appears that "long" data types in 32-bit machines are 32 bits while
"long" data types on 64-bit processors are 64 bits.  So perhaps one
could leave all of the intermediate files the same and just change the
data type to a 32-bit float for the information being written to the
final scenery binary files?

Thanks,
Stacie





-----Original Message-----
From: [email protected]
[mailto:[email protected]] 
Sent: Tuesday, July 26, 2005 12:01 PM
To: [email protected]
Subject: Terragear-devel Digest, Vol 27, Issue 7


Send Terragear-devel mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://mail.flightgear.org/mailman/listinfo/terragear-devel
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Terragear-devel digest..."


Today's Topics:

   1. 64 bit avail (Alex Perry)
   2. Re: 64 bit avail (Jason Cox)
   3. Re: 64 bit avail (Erik Hofman)
   4. Re: 64 bit avail (Jason Cox)


----------------------------------------------------------------------

Message: 1
Date: Mon, 25 Jul 2005 19:06:52 -0700 (PDT)
From: Alex Perry <[email protected]>
Subject: [Terragear-devel] 64 bit avail
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII

From: "Corrubia, Stacie K" <[email protected]>
> Does anyone us a 64-bit machine to create scenery files?

I've got quite a few around ... they're AMD64 running Debian pure64. All
currently have a bunch of proprietary software on their drives.
(a) I can get permission to temporarily swap out a hard drive, or
(b) Whoever wants access to the machine can sign the corporate NDA.

Probably the biggest obstacle to (a) is actually getting hold of a
laptop form factor disk drive.  We don't have any spare ones around.
Unless someone with a more convenient solution responds in the interim,
I'll look into the details of setting up a public machine in 16 hours.

Alex.



------------------------------

Message: 2
Date: Tue, 26 Jul 2005 16:48:46 +1000
From: Jason Cox <[email protected]>
Subject: Re: [Terragear-devel] 64 bit avail
To: TerraGear developers discussions <[email protected]>
Message-ID: <1122360526.25632.12.camel@linux>
Content-Type: text/plain

I have a AMD64 with Gento on it. I ahve never had any luck in the past
with building scenery but, FGSD now produces files just like yours. I
have spoken with Fred via email, and so far havent a solution. I belive
it is somthing in simagear that causes the problem on 64 Bit machine
creating the files. Interestingly being "Pure" of multilib makes no
change. I have been wondering if it's and Edian problem but have no way
to test.

If I can be of help let me know as I want to get back to scenery
modification and belive the problems are both related.


Jason Cox


On Mon, 2005-07-25 at 19:06 -0700, Alex Perry wrote:
> From: "Corrubia, Stacie K" <[email protected]>
> > Does anyone us a 64-bit machine to create scenery files?
> 
> I've got quite a few around ... they're AMD64 running Debian pure64. 
> All currently have a bunch of proprietary software on their drives.
> (a) I can get permission to temporarily swap out a hard drive, or
> (b) Whoever wants access to the machine can sign the corporate NDA.
> 
> Probably the biggest obstacle to (a) is actually getting hold of a 
> laptop form factor disk drive.  We don't have any spare ones around. 
> Unless someone with a more convenient solution responds in the 
> interim, I'll look into the details of setting up a public machine in 
> 16 hours.
> 
> Alex.
> 
> _______________________________________________
> Terragear-devel mailing list
> [email protected] 
> http://mail.flightgear.org/mailman/listinfo/terragear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
> 




------------------------------

Message: 3
Date: Tue, 26 Jul 2005 09:54:37 +0200
From: Erik Hofman <[email protected]>
Subject: Re: [Terragear-devel] 64 bit avail
To: TerraGear developers discussions <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Jason Cox wrote:
> I have a AMD64 with Gento on it. I ahve never had any luck in the past

> with building scenery but, FGSD now produces files just like yours. I 
> have spoken with Fred via email, and so far havent a solution. I 
> belive it is somthing in simagear that causes the problem on 64 Bit 
> machine creating the files. Interestingly being "Pure" of multilib 
> makes no change. I have been wondering if it's and Edian problem but 
> have no way to test.

You could run a binary diff against two files, one generated on a 32-bit

machine and one on a 64-bit machine.

Chances are there is a size difference for int or long.

Erik



------------------------------

Message: 4
Date: Tue, 26 Jul 2005 17:58:57 +1000
From: Jason Cox <[email protected]>
Subject: Re: [Terragear-devel] 64 bit avail
To: TerraGear developers discussions <[email protected]>
Message-ID: <1122364737.25632.21.camel@linux>
Content-Type: text/plain

I think you clould be right.
It will take a while to produce scenery....
.


On Tue, 2005-07-26 at 09:54 +0200, Erik Hofman wrote:
> Jason Cox wrote:
> > I have a AMD64 with Gento on it. I ahve never had any luck in the 
> > past with building scenery but, FGSD now produces files just like 
> > yours. I have spoken with Fred via email, and so far havent a 
> > solution. I belive it is somthing in simagear that causes the 
> > problem on 64 Bit machine creating the files. Interestingly being 
> > "Pure" of multilib makes no change. I have been wondering if it's 
> > and Edian problem but have no way to test.
> 
> You could run a binary diff against two files, one generated on a 
> 32-bit
> machine and one on a 64-bit machine.
> 
> Chances are there is a size difference for int or long.
> 
> Erik
> 
> _______________________________________________
> Terragear-devel mailing list
> [email protected] 
> http://mail.flightgear.org/mailman/listinfo/terragear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
> 




------------------------------

_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel


End of Terragear-devel Digest, Vol 27, Issue 7
**********************************************

_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d