delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/14/13:55:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20031214134614.03a5cda0@127.0.0.1>
X-Sender:
Date: Sun, 14 Dec 2003 13:53:10 -0500
To: "roland" <for_spam AT gmx DOT de>, <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: cross-compiler problems on win98
In-Reply-To: <082401c3c253$0e9cff70$2000000a@schlepptopp>
References: <082401c3c253$0e9cff70$2000000a AT schlepptopp>
Mime-Version: 1.0

At 10:00 AM 12/14/2003, roland you wrote:
>hi !
>i have a strange problem and perhaps anbody can give me a hint, how to analyze this further:
>
>i run cygwin on my windows XP machine and built gcc&binutils from sources to make a hitachi sh1 crosscompile environment. after
>setup, it works flawlessly - i can compile all my stuff and the resulting binary runs on sh1 platform.
>
>if i copy this environment to another "nt-based" os (i.e. NT/2000/XP) by tarring/untarring and copying the registry settings, all

                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is at least not recommended and certainly highly discouraged.  Cygwin's
use of the registry is an implementation detail and could (read as "will")
change at any moment.  But, since you're doing a non-standard installation,
you must have accepted that you're "living on the edge".  Problems resulting
from that are, of course, your own.


>works fine, too. it also usually WORKED fine, when doing the same somewhat "illegal transfer" to win95/98 machines.
>
>now i switched to the latest cygwin (1.5.5-1) environemnt and wanted to "go" as usual.
>On nt-based OS it works as expected - but on Win98 i get strange errors and the compile fails (see at the bottom of this mail)
>IMHO, this must be a cygwin or "cygwin-setup" issue and not a problem with the source, because it compiles fine on my XP box and it
>was working (after "transfer" to `98) without problems on an older cygwin release.
>
>can someone point me to the differences between running cygwin on "NT-based, i.e. NT/2000/XP" OS or "DOS-based, i.e. 95/98)
>platform?
>is there a difference in setup now (i.e. win9x specific files in cygwin) ?


1.5.x apps use 64-bit I/O by default.  That's the major change.


>i thought, cygwin binary stuff is "win32 generic" - but maybe there are "magical windows xp internals" compiled into my
>sh1-elf-gcc.exe which makes it fail on 95/98 ?


No, there will be no non-9x/Me calls made for 9x/Me.


>do i need to build gcc/binutils from sources on win95/98 machine ?


You may need a debugging environment, though you could try strace and 
look to see if its output helps you.


--
Larry 


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