This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: is there any little-endian and big-endian issue with cygwin?
- From: Tim Beuman <timb at cdvinc dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 15 Feb 2007 08:50:40 -0800
- Subject: Re: is there any little-endian and big-endian issue with cygwin?
- References: <235031.47652.qm@web32401.mail.mud.yahoo.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/