From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/945 Path: news.gmane.org!not-for-mail From: Radek Podgorny Newsgroups: gmane.comp.sysutils.supervision.general Subject: runit not ready for cross-compilation Date: Mon, 12 Dec 2005 01:50:00 +0100 Message-ID: <200512120150.02803.radek@podgorny.cz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1823707.Vu9BQkaeJU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134348674 27967 80.91.229.2 (12 Dec 2005 00:51:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2005 00:51:14 +0000 (UTC) Original-X-From: supervision-return-1181-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Dec 12 01:51:12 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1ElbtF-0007Gq-Sb for gcsg-supervision@gmane.org; Mon, 12 Dec 2005 01:50:05 +0100 Original-Received: (qmail 25552 invoked by uid 76); 12 Dec 2005 00:50:26 -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 25546 invoked from network); 12 Dec 2005 00:50:25 -0000 Original-To: supervision@list.skarnet.org User-Agent: KMail/1.8.3 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:945 Archived-At: --nextPart1823707.Vu9BQkaeJU Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm trying to make runit run on my arm-based PDA. There's a problem that I= =20 have to cross-compile runit on my i686 host and it doesn't work. To be more= =20 specific, it works until the point where it tries to run some compiled=20 program... =2E.. =2E/compile sig_pause.c =2E/compile wait_nohang.c =2E/compile wait_pid.c =2E/makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o \ byte_rchr.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o str_chr.o \ str_diff.o str_len.o str_start.o =2E/chkshsgr || ( cat warn-shsgr; exit 1 ) /bin/sh: ./chkshsgr: cannot execute binary file =2E/compile fifo.c =2E.. The root of this problem is that you have to distinguish between host (buil= d)=20 machine and target machine arch. Only single conf-cc and stuff simply isn't= =20 enough. The same for ./compile script and so on. Could you please fix this to compile all build-time executables (for checki= ng=20 stuff) using compiler1 and the target executables using compiler2? I would = do=20 it myself but I got lost in your build system... :-( Thanks Radek Podgorny =2D-=20 GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=3Dget&search=3D0x98E56D84 --nextPart1823707.Vu9BQkaeJU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDnMk67mej6pjlbYQRAmS6AJ9/Q5lLO+J3MZNYIBSKRTLr3tX/9ACgh+m6 n3qgKaPSncxi/H/xYS2VBbk= =0U60 -----END PGP SIGNATURE----- --nextPart1823707.Vu9BQkaeJU--