From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14351 invoked by alias); 2 Aug 2004 09:56:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14327 invoked from network); 2 Aug 2004 09:56:11 -0000 Received: from unknown (HELO mailgate.pit.comms.marconi.com) (169.144.68.6) by sourceware.org with SMTP; 2 Aug 2004 09:56:11 -0000 Received: from mailman.pit.comms.marconi.com (mailman.pit.comms.marconi.com [169.144.2.12]) by mailgate.pit.comms.marconi.com (8.12.10+Sun/8.12.10) with ESMTP id i729uBvL002484; Mon, 2 Aug 2004 05:56:11 -0400 (EDT) Received: from uspitsmsgrtr01.pit.comms.marconi.com (uspitsmsgrtr01.pit.comms.marconi.com [169.144.2.221]) by mailman.pit.comms.marconi.com (8.9.3/8.9.3) with ESMTP id FAA27510; Mon, 2 Aug 2004 05:56:11 -0400 (EDT) Received: by uspitsmsgrtr01.pit.comms.marconi.com with Internet Mail Service (5.5.2657.72) id <38MXTRA5>; Mon, 2 Aug 2004 05:56:10 -0400 Message-ID: <313680C9A886D511A06000204840E1CF08F430AC@whq-msgusr-02.pit.comms.marconi.com> From: "Povolotsky, Alexander" To: "'cygwin@cygwin.com'" , "'crossgcc'" Subject: problems with configuring ksh (pdksh) in Cygwin and following pro blems with Linux cross-compilation there Date: Mon, 02 Aug 2004 09:56:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2004-08/txt/msg00011.txt.bz2 *** Igor Pechtchanski wrote: *** >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. Based on above advise, I have assumed that I need to install from scratch the pdksh package first. I have installed source for pdksh-5.2.14 and have built ksh (pdksh) from there (in Cygwin's b'ash window). "Make install" has put ksh into Cygwin's /usr/local/bin and I copied it into Cygwin's /bin folder To incorporate ksh (pdksh ), I modified my Cygwin bat file (commented out bash line and added ksh line )as follows: ********************** @echo off C: chdir C:\cygwin\bin REM bash --login -i ksh -l *************** I think it works (did not try cross compilation yet ;-)), but I get some annoing errors at the start of the Cygwin's shell now: : not foundrofile[2]: : not foundrofile[8]: : not foundrofile[11]: : not foundrofile[14]: : not foundrofile[17]: : not foundrofile[20]: : not foundrofile[23]: : not foundrofile[26]: : not foundrofile[30]: : not foundrofile[36]: ksh: /etc/profile[63]: syntax error: `done' unexpected $ ps -l PID PPID PGID WINPID TTY UID STIME COMMAND 3852 1 3852 3852 con 91693 04:37:11 /usr/bin/ksh 164 3852 164 2436 con 91693 04:37:22 /usr/bin/ps What do I need to do to get rid of ": not foundrofile" errors ? *** Christopher Faylor wrote: *** >If you are talking about using pdksh, then, if you already have a >cross-compilation environment set up you should simply try it and >report problems. So I am trying - that is what I get: $ pwd /cygdrive/d/Profiles/apovolot/linux-2.6.8-rc2/linux-2.6.7 $ make clean make: *** /cygdrive/d/Profiles/apovolot/linux-2.6.8-rc2/linux-2.6.7/arch/ppc: Is a directory. Stop. $ make oldconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/libkconfig.o HOSTCC scripts/kconfig/mconf.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf -o arch/ppc /Kconfig input in flex scanner failed make[1]: *** [oldconfig] Error 2 make: *** [oldconfig] Error 2 $ make menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc HOSTLD scripts/kconfig/mconf HOSTCC scripts/lxdialog/checklist.o HOSTCC scripts/lxdialog/inputbox.o HOSTCC scripts/lxdialog/lxdialog.o HOSTCC scripts/lxdialog/menubox.o HOSTCC scripts/lxdialog/msgbox.o HOSTCC scripts/lxdialog/textbox.o HOSTCC scripts/lxdialog/util.o HOSTCC scripts/lxdialog/yesno.o HOSTLD scripts/lxdialog/lxdialog Info: resolving _COLS by linking to __imp__COLS (auto-import) Info: resolving _LINES by linking to __imp__LINES (auto-import) Info: resolving _stdscr by linking to __imp__stdscr (auto-import) scripts/kconfig/mconf arch/ppc /Kconfig input in flex scanner failed make[1]: *** [menuconfig] Error 2 make: *** [menuconfig] Error 2 -- 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/