This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: is there any little-endian and big-endian issue with cygwin?


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@cs.nyu.edu | igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]