Message-Id: <199903030946.KAA07020@mail2.it.kth.se> X-Mailer: exmh version 2.0.2 2/24/98 To: pgcc AT delorie DOT com From: Janne Johansson X-url: http://www.it.kth.se/~jj/ Subject: Re: problems with pgcc and linux kernel module (2.2.x) In-reply-to: <199903021043.KAA01638@romario.bu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Mar 1999 10:46:34 +0100 Sender: jj AT it DOT kth DOT se Reply-To: pgcc AT delorie DOT com > > > This is a good idea anyway, since the linux-kernel has a few bugs that > > > keep it from working with the egcs or pgcc snapshots at the moment (maybe > > > even with the releases). > > > > I've compiled 2.2.0, 2.2.1 and 2.2.2 with egcs-1.1.1 with the appropriate > > pgcc-patch applied with no (visible ;) problems at all. > > > > Could you please tell us what options have you used ? I changed so that the Makefile in /usr/src/linux said -O6 instead of O2, and the arch/i386/Makefile so that the test for 4/5/686 (in my case 686) to have -m486 changed to -mpentiumpro -march=pentiumpro. Then I put the path to pgcc/egcs-gcc first in my PATH and did make as usual. Dunno if -O6 is "best", "recommended optimizer option" or anything else, but it worked fine for me. -- "Backwards compatible" means: "if it isn't backwards, it's not compatible." Http://www.it.kth.se/~jj