From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1198 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit (1.0.5) Date: Wed, 12 Jul 2006 15:16:17 +0000 Message-ID: <20060712151617.7641.qmail@1f003feddf5644.315fe32.mid.smarden.org> References: <1152627169.11798.22.camel@localhost> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1152717409 11940 80.91.229.2 (12 Jul 2006 15:16:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Jul 2006 15:16:49 +0000 (UTC) Original-X-From: supervision-return-1434-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Jul 12 17:16:44 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1G0gRT-0005Kq-Os for gcsg-supervision@gmane.org; Wed, 12 Jul 2006 17:15:59 +0200 Original-Received: (qmail 3224 invoked by uid 76); 12 Jul 2006 15:16:19 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 3219 invoked from network); 12 Jul 2006 15:16:19 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <1152627169.11798.22.camel@localhost> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1198 Archived-At: On Tue, Jul 11, 2006 at 04:12:49PM +0200, Pascal de Bruijn wrote: > I noticed runit, which looks really great! I intend to use it on my > homebuilt embedded linux os, which runs on a PC-Engines WRAP board > (which are low powered x86 compatible boards). > > I'm using buildroot/uclibc to build the embedded os. This is where the > trouble starts. buildroot more or less expects a standard autoconf > structure or at least something similar. And your build scripts don't > seem to allow for certain build parameters: > > --target=$(GNU_TARGET_NAME) > --host=$(GNU_TARGET_NAME) > --build=$(GNU_HOST_NAME) > > There build parameters are necessary because my compiler isn't called > just 'gcc' but 'i486-linux-gcc'. I'm basically cross compiling on the > from and to the same platform, because I don't want to rely on my > distribution supplied compiler. > > Is there any convenient way to make this work? You can configure the compiler and linker through src/conf-cc and src/conf-ld, here's an example for the dietlibc http://smarden.org/runit/usedietlibc.html For real cross-compiling, some handwork must be done. The build system uses runtime tests to detect support for platform specific features, see the sysdeps target in src/Makefile. If it cannot run test programs, you need to find out and manually choose the appropriate headers. HTH, Gerrit.