supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Radek Podgorny <radek@podgorny.cz>
Subject: runit not ready for cross-compilation
Date: Mon, 12 Dec 2005 01:50:00 +0100	[thread overview]
Message-ID: <200512120150.02803.radek@podgorny.cz> (raw)

[-- Attachment #1: Type: text/plain, Size: 1142 bytes --]

Hi,

I'm trying to make runit run on my arm-based PDA. There's a problem that I 
have to cross-compile runit on my i686 host and it doesn't work. To be more 
specific, it works until the point where it tries to run some compiled 
program...

...
./compile sig_pause.c
./compile wait_nohang.c
./compile wait_pid.c
./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
./chkshsgr || ( cat warn-shsgr; exit 1 )
/bin/sh: ./chkshsgr: cannot execute binary file
./compile fifo.c
...

The root of this problem is that you have to distinguish between host (build) 
machine and target machine arch. Only single conf-cc and stuff simply isn't 
enough. The same for ./compile script and so on.

Could you please fix this to compile all build-time executables (for checking 
stuff) using compiler1 and the target executables using compiler2? I would do 
it myself but I got lost in your build system... :-(

Thanks
Radek Podgorny

-- 
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x98E56D84

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2005-12-12  0:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-12  0:50 Radek Podgorny [this message]
2005-12-12  2:21 ` Alejandro Mery
2005-12-16 15:33   ` Charlie Brady
2005-12-17 22:58     ` Radek Podgorny
2005-12-17 23:06       ` Charlie Brady
2005-12-18 10:30         ` Radek Podgorny
2006-01-03 14:12 ` Gerrit Pape
2006-01-03 19:49   ` Radek Podgorny
2006-01-03 20:16     ` Charlie Brady
2006-01-05 15:01       ` Charles Duffy
2006-01-05 15:17         ` Charlie Brady
2006-01-06  3:54         ` Alejandro Mery
2006-01-06 11:07           ` Radek Podgorny
2006-01-06 12:51           ` Charles Duffy
2006-01-06 13:54           ` OT: cross compilation and autoconf [was: Re: runit not ready for cross-compilation] Charles Duffy
2006-01-06 16:54             ` Laurent Bercot
2006-01-06 18:42               ` Charlie Brady

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200512120150.02803.radek@podgorny.cz \
    --to=radek@podgorny.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).