> Mike A. Harris on Sun, Aug 16, 1998 at 07:01:25AM -0400:
> > You cannot compile ANY 2.0.x kernel with anything other than
> > gcc-2.7.2 and expect it to work.
> >
> > Some people report that their kernels work when compiled by egcs
> > or pgcc, but further probing shows that most of them have
> > modified the kernel by using 2.1.x files for ioport.c, or other
> > things.
> >
> > A stock 2.0.x kernel does not support compilation by any other
> > compiler.
>
> It works fine here with *stock* 2.0.35 sources, and egcs-1.0.3a. STM,
> X, svgalib apps, all work with no difficulty. The kernel compile has
> consistent, repeated warnings but it compiles and works fine.
>
if that is from string.h, I have a solution for it (it works...)
there are two lines in /usr/src/linux/include/(asm?)/string.h that
looks like
switch(n % 4) {
case 0:
case 1:
case 2:
case 3:
}
and egcs warnes that the control reaches the end of blah-blah-....
I changed "case 3" to "default" and no problem from that point.
.-'''''-.
.' `.
: : Sang Woo Kang
: :
: _/| : swk @ acm . org
: =/_/ :
`._/ | .' (http) kahuna.sdsu.edu/~skang/
( / ,|...-'
\_/^\/||__ It is practically impossible to teach good programming
_/~ `""~`"` \_ style to students that have had prior exposure to BASIC:
__/ -'/ `-._ `\_\__ as potential programmers they are mentally mutilated
/ /-'` `\ \ \-.\ beyond hope of regeneration. -- Dijkstra
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html