Re: Building the kernel with Cygwin
From: Dmitry Torokhov
Date: Thu Aug 25 2005 - 12:15:58 EST
On 8/25/05, Chris du Quesnay <duquesnay@xxxxxxxxxxx> 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
Attachment:
cygwin-warnings.patch
Description: Binary data
#!/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