X-Spam-Check-By: sourceware.org Message-ID: <4e41f5c20707280930p3f2512bco97c9ce72d0378bc5@mail.gmail.com> Date: Sat, 28 Jul 2007 10:30:43 -0600 From: "Morgan Gangwere" <0 DOT fractalus AT gmail DOT com> To: cygwin AT cygwin DOT com Subject: Re: Compiling a Linux kernel using Cygwin In-Reply-To: <20070728151927.GA7166@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46AA047E DOT 3060902 AT gmail DOT com> <46AB1C3D DOT 1050903 AT x-ray DOT at> <20070728151927 DOT GA7166 AT ednor DOT casa DOT cgf DOT cx> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On 7/28/07, Christopher Faylor wrote: > On Sat, Jul 28, 2007 at 12:36:45PM +0200, Reini Urban wrote: > > Claudio Scordino schrieb: > >> More general question: did anybody build succesfully a Linux kernel under > >> cygwin? > > > > Not a kernel but binutils, gcc-core, gcc-g++ and the stdlibc++, which is > > about as complex as the kernel. Target was a fedora core. > > > > Managed mounts help a lot, but manual fixing case by case helps also. > > I've built linux kernels under Cygwin but, IIRC, there were some case > sensitivity issues to deal with. There should be someone out there > in the wide world of google who has accomplished this feat. > > cgf > > -- > 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/ > > What i would do Is take and build the basic nessesary binaries (ie binutils, g++, bash, etc.) and send them to the target machine (an arm box). then I would focus on building the kernel. I would go for byte-compiling each one as a static object and then going about linking. Have you built a kernel before? Also, Debian has pre-made ARM kernels built -- check out packages.us.debian.org -- there should be a fairly recent kernel simply tar/gz'd (thats How Debs Work). I tired building an LFS (Linux From Scratch) for an ARM once and it wasnt the most efficient -- timing said that it took a good 6 hours (i left it over night). Hope that helps. (also, using a system like debian gives you a certain amount of flexibility) -- Morgan gangwere "Space does not reflect society, it expresses it." -- Castells, M., Space of Flows, Space of Places: Materials for a Theory of Urbanism in the Information Age, in The Cybercities Reader, S. Graham, Editor. 2004, Routledge: London. p. 82-93. -----BEGIN PGP SIGNATURE----- Version: Gmail/GnuPG Min32 Hack Comment: Using GnuPG and Gmail - ask me about Grim Fandango (working on getting a key on the keyservers) iD8DBQFGV3KQCF9T/dUsmAgRAvESAKDfZYbRtebNO+WPfx6DryIvIwt9TgCgukZG cIj5nSWws/pAeW2ESlj7GuM= =Y4uC -----END PGP SIGNATURE----- -- 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/