delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/15/10:47:45

X-Spam-Check-By: sourceware.org
Date: Thu, 15 Feb 2007 10:47:18 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: winner wei <blueleaf4tg AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: is there any little-endian and big-endian issue with cygwin?
In-Reply-To: <235031.47652.qm@web32401.mail.mud.yahoo.com>
Message-ID: <Pine.GSO.4.63.0702151042450.23730@access1.cims.nyu.edu>
References: <235031 DOT 47652 DOT qm AT web32401 DOT mail DOT mud DOT yahoo DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Hi,

<http://cygwin.com/acronyms/#PCYMTWLL>.  Thanks.  More below.

On Thu, 15 Feb 2007, winner wei wrote:

> 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?

Endianness is usually a property of the architecture[*].  Since both
Cygwin and Windows run on the same architecture, there are no endianness
issues.

However, Cygwin and Windows do have different formats for filesystem
paths, and may also have different concepts of line endings.  You need to
make sure that the path your Cygwin executable gets is in the format that
Cygwin understands.  If that is not your problem, you'll need to provide
more details, and perhaps a <http://cygwin.com/acronyms/#STC>.
	Igor
[*] Yes, I know, except for special cases like network data layout, but
we're not considering those here.
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

--
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