Re: Building the kernel with Cygwin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/25/05, Chris du Quesnay <[email protected]> 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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux