lkml.org 
[lkml]   [2001]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Compiling manually
Date
On 11 Nov 2001 16:57:41 +0000, 
pocm@rnl.ist.utl.pt (Paulo J. Matos aka PDestroy) wrote:
>I'm trying to compile kernel 2.4.14.
>The problem is that the famous gcc 3.0.x bug of giving error when
>trying to compile 8139too.c is getting me crazy.
>The work around is to remove -O2 optimization.
>How can I compile the kernel with optimization except
>optimization for that particular file?

In drivers/net/Makefile, add this line _before_ include Rules.make.

CFLAGS_8139too.o += -O1

Warning: removing optimization can cause its own problems, some bits of
the kernel assume that they are built with -O2. YMMV.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.053 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site