This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
*** 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 ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |