delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/15/11:51:12

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 AT cdvinc DOT com>
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: is there any little-endian and big-endian issue with cygwin?
References: <235031 DOT 47652 DOT qm AT web32401 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <235031.47652.qm@web32401.mail.mud.yahoo.com>
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 AT cdvinc DOT com
X-Envelope-From: timb AT cdvinc DOT com
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019