Re: cross-compile skalibs

From: Colin Booth <colin_at_heliocat.net>
Date: Fri, 13 Sep 2019 21:22:34 +0000

On Fri, Sep 13, 2019 at 07:18:47PM +0200, Jens Rehsack wrote:
> Hi,
>
> I'm currently evaluating s6 in a series of init/supervision suites.
>
> Finally I stumbled over a very naive ./configure which misses:
> * tell exactly what it does and which failure it stumbles
> * externally override bogus (from target perspective) settings
> * https://skarnet.org/software/skalibs/crosscompile.html
>
> Long story short: suggesting running ./configure on any target we might want to
> support with openembedded or Yocto is at the same craziness level as the Perl5
> guys thought - but the did it 15 years earlier and 3 years ago they accepted
> (not understand) that it was wrong.
>
> I will be really happy adding s6 and other skaware to https://github.com/meta-layer/meta-sysinit
> to allow embedded people booting quickly and supervising their services, but out-of-the-box
> cross-compiling is mandatory.
Try `./configure --with-sysdeps=/path/to/your/sysdeps/database
--host=HOST_TYPE_TRIPLE` when
building skalibs.

Instead of autodetecting your cross-compilation differences, skalibs
wants a provided database that it then passes to its dependencies. You
can hand-roll the database, create one via a non-cross-compiled in-vm
build of skalibs, or potentially via one posted on the internet. There's
probably more to do, it all should be described in the skalibs/INSTALL
file.
>
> I'm happy to help, just drop a note. But mind NIH is deadly broken for configure stages :)
>
> Cheers
> --
> Jens Rehsack - rehsack_at_gmail.com
>



-- 
Colin Booth
Received on Fri Sep 13 2019 - 21:22:34 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC