Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261555AbTIXWhJ (ORCPT ); Wed, 24 Sep 2003 18:37:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261589AbTIXWhI (ORCPT ); Wed, 24 Sep 2003 18:37:08 -0400 Received: from kinesis.swishmail.com ([209.10.110.86]:10259 "HELO kinesis.swishmail.com") by vger.kernel.org with SMTP id S261555AbTIXWhC (ORCPT ); Wed, 24 Sep 2003 18:37:02 -0400 Message-ID: <3F721D2B.7070703@techsource.com> Date: Wed, 24 Sep 2003 18:39:39 -0400 From: Timothy Miller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrzej Krzysztofowicz CC: kernel list Subject: Re: Minimizing the Kernel References: <200309241732.h8OHWj05015957@green.mif.pg.gda.pl> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 758 Lines: 24 Andrzej Krzysztofowicz wrote: >>>Well for starters dont use gcc 3 or above.. code size has increased >>>dramatically with thoose versions. sure they give you more optimization >> >>Hmm, has anyone tried -Os with gcc3+ ? >>Maybe that'd be good for size optimization? > > > AFAIK, the -Os optimization in gcc3 gives you larger binary than -Os in > gcc2. > Any ideas why? I mean, what does all the extra code DO? And have you considered that some of that extra code might be there for correctness purposes? - 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/