lkml.org 
[lkml]   [2005]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Building the kernel with Cygwin
On 8/25/05, Chris du Quesnay <duquesnay@hotmail.com> wrote:
> Hi Dick. Thanks for your suggestion.
>
> I tried it, however, and attempted the make again, and got the same error.
>
> The scripts/basic directory contains a fixdep.exe after the make is run.
> There is
> no fixdep file. I tried renaming the fixdep.exe to fixdep, but that also
> resulted in
> the same make error.
>
> Any further suggestions?
> Thx,
> Chris.
>

I use the following "cross" script to build for i386 on Cygwin. And
you need a patch, otherwise it won't build.

--
Dmitry
[unhandled content-type:application/octet-stream]#!/bin/sh
export ARCH=i386
export CROSS_COMPILE=i686-unknown-linux-gnu-
W=/usr/local/crosstool/i686-unknown-linux-gnu/gcc-3.4.3-glibc-2.3.2/bin

MAKE="make"

if [ -z "$1" ]
then
WHAT="vmlinux"
else
WHAT="$1"
fi

MAKE_ARGS="ARCH=i386 CROSS_COMPILE=$W/i686-unknown-linux-gnu-"

$MAKE $MAKE_ARGS CC="$W/$CROSS_COMPILE""gcc" $WHAT
\
 
 \ /
  Last update: 2005-08-25 19:17    [W:0.049 / U:5.696 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site