autoconf.h and a cygwin toolchain

Dan Kegel dank@kegel.com
Mon Jan 16 19:27:00 GMT 2006


On 1/16/06, Dave Korn <dave.korn@artimi.com> wrote:
> > First off, apply that patch.  Second, you must use a case-sensitive
> > filesystem to build the kernel!  The way to do this in cygwin
> > is to use the 'managed' mount option.  See
> > http://sourceware.org/ml/crossgcc/2005-05/msg00131.html
>
>   Or apply the crosstool patch so you don't have to!
>
> http://kegel.com/crosstool/crosstool-0.38/patches/linux-2.6.8/linux-2.6.8-buil
> d_on_case_insensitive_fs.patch

That patch isn't quite enough; one area it falls down is in
netfilter, where they use filenames whose case encodes
important state information *at runtime*; thus you absolutely
can't build a fully loaded Linux kernel on a case-sensitive
filesystem.  (If you don't configure netfilter, you may be ok,
but I don't know.)

>   Funnily enough I've just been doing all this stuff this morning, and 2.6.12
> seems to build fine for an ARM architecture without worrying about the
> .S-vs-.s files problem any more.

That'd be nice... Sam Ravnborg said he was going to fix that in
http://lkml.org/lkml/2004/10/16/96
but I'm afraid that the problem is still there in 2.6.15.1:

[dank@dual linux-2.6.15.1]$ find . -name 'Make*' | xargs grep '\.s' | wc
    164     839   13052
[dank@dual linux-2.6.15.1]$ find . -name 'Make*' | xargs grep '\.S' | wc
     65     265    4428

- Dan
--
Wine for Windows ISVs: http://kegel.com/wine/isv

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org



More information about the crossgcc mailing list