delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/30/11:45:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 30 Jul 2004 11:45:30 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Povolotsky, Alexander" <Alexander DOT Povolotsky AT marconi DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Clarifications RE original qustions posted in : How to configure Korn shell (having MKS installed) for the latest Cygwin version (just rec ently downloaded)?
In-Reply-To: <313680C9A886D511A06000204840E1CF08F430A4@whq-msgusr-02.pit.comms.marconi.com>
Message-ID: <Pine.GSO.4.58.0407301141100.13714@slinky.cs.nyu.edu>
References: <313680C9A886D511A06000204840E1CF08F430A4 AT whq-msgusr-02 DOT pit DOT comms DOT marconi DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

Alex,

Please make sure your mailer respects the Reply-To header -- I set it for
a reason.  Also, <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

Secondly, asking people to help you use Cygwin to later use a "competing"
product is bordering off-topic for this list.  However, I would be
surprised if the Linux kernel didn't build in the ksh environment.  Unless
the configure scripts contain some bash-isms, it should just work.
	Igor

On Fri, 30 Jul 2004, Povolotsky, Alexander wrote:

> Hello,
>
> Igor - thanks for the info on the configuring Cygwin to use Korn shell
> (ksh).
>
> > Further, would you by any chance know whether cross-compiling/building
> > Linux work in Cygwin, configured with Korn ksh shell (instead of bash
> shell) ?
>
> >As for your last question, ISTR that someone did cross-compile the Linux
> >kernel on Cygwin (for some handheld device, IIRC).  I'm not sure if they
> >used bash or ksh...  BTW, Googling for "cygwin Linux kernel cross-compile"
> >turns up some promising matches, but I don't have the time to look at them
> >in detail.
>
> I am already cross-compiling Linux (2.6.7.rc2 to be exact) for PowerPC using
> Cygwin's default bash shell.
> So the question is - did any one tried to do it using Cygwin configured for
> Korn ksh shell ?
> My reason for doing it (cross-compiling Linux) on ksh ( ... and originally I
> did not want to convolute my line of questioning...) is to integrate Cygwin
> into Sniff+ IDE (on Microsoft Windows), which is MKS's Korn shell based.
>
> Thanks,
> Alex
> -----Original Message-----
> From: Igor Pechtchanski [mailto:pechtcha AT XX DOT XXX DOT XXX]
> Sent: Friday, July 30, 2004 9:44 AM
> To: Povolotsky, Alexander
> Cc: cygwin AT XXXXXX DOT XXX
> Subject: Re: How to configure Korn shell (having MKS installed) for the
> latest Cygwin version (just recently downloaded)?
>
>
> On Fri, 30 Jul 2004, Povolotsky, Alexander wrote:
>
> > Hi Igor ,
> > Could (in general) Cygwin be configured for Korn shell instead of bash
> > shell ?
> >
> > I have MKS Unix emulation on Windows, installed (it is Korn shell based)
> > - what would be the procedure in that case for configuring Korn shell
> > for Cygwin ?
> >
> > Further, would you by any chance know whether cross-compiling/building
> > Linux work in Cygwin, configured with Korn shell (instead of bash shell) ?
> >
> > Thanks (Spasibo) ,
> > Best Regards,
> > Alex (Sasha)
>
> Alex,
>
> It is, in general, a good idea to address Cygwin questions to the Cygwin
> mailing list.  Not only will you get access to more expertise than any one
> person can provide, but your question (and answers to it) will be archived
> on the web for others to find.
>
> To answer your first question, yes, Cygwin can be configured to use ksh
> instead of bash.  The two places that should be changed are "/Cygwin.bat"
> (you'll have to invoke "pdksh.exe", though, since "ksh.exe" is a symlink),
> and "/etc/passwd" (change your default shell to "/usr/bin/ksh").  At the
> moment, I can't think of any other places that might need changing, but
> perhaps someone on the list will.  Please let the list know if this works.
>
> I'm not sure I understand your second question.  Are you asking whether
> Cygwin will interfere with MKS (and vice versa)?  AFAIK, if you keep the
> tools separate, and make sure that either all Cygwin paths precede the MKS
> ones, or all the MKS paths come first, there shouldn't be a conflict.  If
> you're asking whether you can use Cygwin from MKS, why would you want to
> do that?
>
> As for your last question, ISTR that someone did cross-compile the Linux
> kernel on Cygwin (for some handheld device, IIRC).  I'm not sure if they
> used bash or ksh...  BTW, Googling for "cygwin linux kernel cross-compile"
> turns up some promising matches, but I don't have the time to look at them
> in detail.
>
> Hope this helps (nadeyus', pomozhet),
> 	Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

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