Return-Path: Received: (majordomo@vger.rutgers.edu) by vger.rutgers.edu via listexpand id ; Sat, 29 Jul 2000 09:06:26 -0400 Received: by vger.rutgers.edu id ; Sat, 29 Jul 2000 09:06:05 -0400 Received: from enterprise.cistron.net ([195.64.68.33]:1889 "EHLO enterprise.cistron.net") by vger.rutgers.edu with ESMTP id ; Sat, 29 Jul 2000 09:04:18 -0400 From: miquels@cistron.nl (Miquel van Smoorenburg) Subject: Re: RLIM_INFINITY inconsistency between archs Date: 29 Jul 2000 13:23:49 GMT Organization: Cistron Internet Services B.V. Message-ID: <8lult5$q1q$1@enterprise.cistron.net> In-Reply-To: <20000728232030.C8868@gnu.org> X-Trace: enterprise.cistron.net 964877029 26682 195.64.65.200 (29 Jul 2000 13:23:49 GMT) X-Complaints-To: abuse@cistron.nl To: linux-kernel@vger.rutgers.edu Sender: owner-linux-kernel@vger.rutgers.edu Content-Length: 1416 Lines: 32 In article , Adam Sampson wrote: >On Thu, Jul 27, 2000 at 07:03:57PM +0200, Jamie Lokier wrote: >> But instead, how about a script: /lib/modules/VERSION/compile-module. >> The script would know where to find the kernel headers. That could be >> /lib/modules/include for distributions, and /my/kernel/tree/include for >> folks who used `make modules_install' recently. > >I'll second that suggestion. This kind of thing works very well indeed for >projects like Apache. It is indeed a very good idea. The script could just spit out the CFLAGS used for kernel compilation like this: #! /bin/sh cat <