supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* runit not ready for cross-compilation
@ 2005-12-12  0:50 Radek Podgorny
  2005-12-12  2:21 ` Alejandro Mery
  2006-01-03 14:12 ` Gerrit Pape
  0 siblings, 2 replies; 17+ messages in thread
From: Radek Podgorny @ 2005-12-12  0:50 UTC (permalink / 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 --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-01-06 18:42 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-12  0:50 runit not ready for cross-compilation Radek Podgorny
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

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).