Re: Linux kernel compilation for x86 on Cygwin
Samuel Thibault wrote: > Mmm, does this really matter since a kernel uses non-hosted mode? That doesn't really matter when your assembler creates COFF format object files and expects COFF format assembly directives. Brian -- 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/
Re: Linux kernel compilation for x86 on Cygwin
Brian Dessent, le Wed 01 Aug 2007 08:41:31 -0700, a écrit : > You *are* building a cross compiler, right? Because the native Cygwin > gcc will not be usable for building anything linux. Mmm, does this really matter since a kernel uses non-hosted mode? Samuel -- 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/
Re: Linux kernel compilation for x86 on Cygwin
Claudio Scordino wrote: > I'm trying to compile the Linux kernel using the gcc toolchain of cygwin. > This time, I'm trying to compile the kernel for the host machine (x86). You *are* building a cross compiler, right? Because the native Cygwin gcc will not be usable for building anything linux. Just because gcc on Cygwin and gcc on Linux both happen to generate code that runs on the x86 does not mean they are in any way the same platform, so you absolutely cannot use the Cygwin gcc to build a Linux kernel. But you can use the Cygwin gcc to build a Linux-targeted Cygwin-hosted cross-gcc, and then use that to build the Linux kernel. Brian -- 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/
Re: Linux kernel compilation for x86 on Cygwin
Claudio Scordino, le Wed 01 Aug 2007 12:01:36 +0200, a écrit : > >You need libncurses. > > Cygwin's setup.exe says that libncurses is already installed. You also need the -devel part, of course. Samuel -- 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/
Re: Linux kernel compilation for x86 on Cygwin
Samuel Thibault wrote: Claudio Scordino, le Wed 01 Aug 2007 11:26:42 +0200, a écrit : 2) make HOST_LOADLIBES="-lintl" menuconfig $ make HOST_LOADLIBES="-lintl" menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/lxdialog/checklist.o In file included from scripts/kconfig/lxdialog/checklist.c:24: scripts/kconfig/lxdialog/dialog.h:32:20: curses.h: No such file or directory You need libncurses. Cygwin's setup.exe says that libncurses is already installed. I tried also to re-install this package, but I get the same error... Am I missing something ?? Many thanks, Claudio -- 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/
Re: Linux kernel compilation for x86 on Cygwin
Claudio Scordino, le Wed 01 Aug 2007 11:26:42 +0200, a écrit : > 2) make HOST_LOADLIBES="-lintl" menuconfig > > $ make HOST_LOADLIBES="-lintl" menuconfig > HOSTCC scripts/basic/fixdep > HOSTCC scripts/basic/docproc > HOSTCC scripts/kconfig/lxdialog/checklist.o > In file included from scripts/kconfig/lxdialog/checklist.c:24: > scripts/kconfig/lxdialog/dialog.h:32:20: curses.h: No such file or directory You need libncurses. Samuel -- 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/
Linux kernel compilation for x86 on Cygwin
Hi, I'm trying to compile the Linux kernel using the gcc toolchain of cygwin. This time, I'm trying to compile the kernel for the host machine (x86). I'm using a managed mountpoint (should I mount the mountpoint with the --executable or --text options too ?) and I have installed gcc-core, gcc-g++, binutils, cpio, make, patch, tar, vim, gettext, libintl and libncurses on cygwin using the setup.exe However, I'm encountering the following problems. Any help or suggestion is very welcome. Many thanks in advance, Claudio 1) make HOST_LOADLIBES="-lintl" HOSTCC scripts/genksyms/parse.o HOSTLD scripts/genksyms/genksyms CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h Error: not ELF make[2]: *** [scripts/mod/elfconfig.h] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 2) make HOST_LOADLIBES="-lintl" menuconfig $ make HOST_LOADLIBES="-lintl" menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/lxdialog/checklist.o In file included from scripts/kconfig/lxdialog/checklist.c:24: scripts/kconfig/lxdialog/dialog.h:32:20: curses.h: No such file or directory -- 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/