X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org X-VR-Score: -30.00 X-Authority-Analysis: v=1.0 c=1 a=TK8hhPemurYA:10 a=U1KvCYAr2xFsDtLJE8YA:9 a=KY6gIMcO1dHCffCS-uGH2BFfinoA:4 X-CM-Score: 0.00 Message-ID: <4A875A3A.7040803@ou.edu> Date: Sat, 15 Aug 2009 20:00:42 -0500 From: "Stephen M. Kenton" User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Building the Linux 2.6.30 kernel under Cygwin 1.7 almost works out of the box Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I wanted to try the case sensitivity feature of 1.7 on ntfs so I tweaked the registry key and tried a kernel build. Using the stock 1.7 tools I build a couple of cross tool chains with binutils-2.19.1 and gcc 4.4.1 from source tar balls. Using the cross tool chains I successfully built defconfig 2.6.30 kernels for i386 and arm. The only hack was to add these includes for use by modpost to modpost.h between the include of elf.h and elfconfig.h There were also a few redefinition warnings, but they seemed to be benign - but I have not boot tested the kernels. scripts/mod/modpost.h #include #define R_386_32 1 #define R_386_PC32 2 #define R_ARM_ABS32 2 #define R_ARM_PC24 1 #define R_MIPS_26 4 #define R_MIPS_32 2 #define R_MIPS_HI16 5 #define R_MIPS_LO16 6 #include "elfconfig.h" FYI - Steve -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple