delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/18/22:38:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <200101190335.f0J3Zf301111@capella.ssd.hal.com>
Subject: Re: running C programs in Cygwin
To: cygwin AT sourceware DOT cygnus DOT com (Cygwin Mailing List)
Date: Thu, 18 Jan 2001 19:35:41 -0800 (PST)
In-Reply-To: <20010119002748.42109.qmail@web11601.mail.yahoo.com> from "Zakir Kanbur" at Jan 18, 2001 04:27:48 PM
From: "J. J. Farrell" <jjf AT bcs DOT org DOT uk>
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0

> From: Zakir Kanbur <zkanbur AT yahoo DOT com>
> 
> I have recently installed cygwin in my pc-computer and
> now I am using it. I have a
> program packet that contains C source programes so I
> need run it properly in 
> cygwin. Preveously I used the packet in Sun
> workstation.
> 
> I compiled the program using gcc compiler and I did
> not have any problem ignoring 
> some warnings and I use bash (I was usin csh in Sun).
> The problem I countered is 
> related the results. I can not have proper results as
> I had before in Sun. When I 
> display the result in a viewer, I realized the result
> involve some extrime values that I 
> have never had. Cygwin is a different platform then I
> used before (same thing is 
> happening in Linux too). I think I am missing
> something. I do everthing same in both 
> platform. Is there anything I should concider or what
> should I do? Please send me 
> your comment about this problem.

It is most likely caused by a bug in your program, which happens
to be harmless on the Sun. Such bugs are often caused by unintended
dependencies in your program on some implementation-defined feature
of the compiler or libraries. It is difficult to say more without
more information, but one major difference between SPARC and IA32
processors is byte-ordering - SPARC is big-endian and IA32 is
little-endian. That might be one area to look at.

This isn't really an appropriate mailing list for this sort of
problem, especially if the same problem is seen in other environments
such as Linux. You might be best to take this to a C mailing list
or news group such as news:comp.lang.c


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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