X-Spam-Check-By: sourceware.org
Message-ID: <45D48F60.5080107@cdvinc.com>
Date: Thu, 15 Feb 2007 08:50:40 -0800
From: Tim Beuman <timb@cdvinc.com>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: is there any little-endian and big-endian issue with cygwin?
References: <235031.47652.qm@web32401.mail.mud.yahoo.com>
In-Reply-To: <235031.47652.qm@web32401.mail.mud.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Processed: dc.cdvinc.com, Thu, 15 Feb 2007 08:50:42 -0800 	(not processed: message from valid local sender)
X-Return-Path: timb@cdvinc.com
X-Envelope-From: timb@cdvinc.com
X-MDaemon-Deliver-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

David,

Java uses big-endian while Windows/DOS (and cygwin) uses little-endian.

Tim

winner wei wrote:
> Hi,
> 
> My code works fine in Cygwin by command line, but when I run it through a Java GUI launched from DOS the result is incorrect with all the data which are not zero. The java Gui does nothing more than launching the executables and provide a parameter file (I used the exactly same parameter file by the command line run). So I guess if there is any differences in the storage arrangement btw Cygwin and DOS/Windows, or any other reason?
> 
> Thanks for your help!
> 
> David
> 
> 
>  
> ____________________________________________________________________________________
> No need to miss a message. Get email on-the-go 
> with Yahoo! Mail for Mobile. Get started.
> http://mobile.yahoo.com/mail
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

