Re: [OpenIndiana-discuss] Could you update your sysroot, jclulow?

2021-01-18 Thread Hung Nguyen Gia via openindiana-discuss
Thank you. I have do this for a long time. I'm trying to cross compile Pale Moon for OI from Linux, which is a very different story, though. On Mon, 18 Jan 2021 19:37:00 +0700 Stephan Althaus wrote > Hi! > > Building PaleMoon for your private use is easy on OI with this >

Re: [OpenIndiana-discuss] Could you update your sysroot, jclulow?

2021-01-18 Thread Stephan Althaus
Hi! Building PaleMoon for your private use is easy on OI with this informations, tried it yesterday: http://developer.palemoon.org/build/sunos/ Greetings, Stephan On 01/18/21 13:15, Hung Nguyen Gia via openindiana-discuss wrote: I ended up make my own sysroot using tar on a minimal OI

Re: [OpenIndiana-discuss] Could you update your sysroot, jclulow?

2021-01-18 Thread Till Wegmueller
Use pkg image-create on a directory then prepend "-R $IMAGE" to every pkg command. Use pkg as normal but with -R (alternative root) flag directly after pkg to modify the newly created image instead of the system image (Currently running BE) -Till On 18.01.21 09:09, Hung Nguyen Gia via

Re: [OpenIndiana-discuss] Could you update your sysroot, jclulow?

2021-01-18 Thread Hung Nguyen Gia via openindiana-discuss
I ended up make my own sysroot using tar on a minimal OI installation with gcc-10 installed. Now I have a working cross compiler, even for C++. The key is also include /usr/gcc/10/include and /usr/gcc/10/lib in the tarball. But I don't think I could cross compile Pale Moon for OI from Linux at

Re: [OpenIndiana-discuss] Could you update your sysroot, jclulow?

2021-01-18 Thread Hung Nguyen Gia via openindiana-discuss
Excuse me please but even having read this very long manual I still have no idea how to use pkg image-create for my purpose! https://docs.oracle.com/cd/E36784_01/html/E36870/pkg-1.html On Sun, 17 Jan 2021 20:23:31 +0700 Peter Tribble wrote > On Sun, Jan 17, 2021 at 11:15 AM Hung

Re: [OpenIndiana-discuss] Could you update your sysroot, jclulow?

2021-01-17 Thread Joshua M. Clulow via openindiana-discuss
On Sun, 17 Jan 2021 at 05:24, Peter Tribble wrote: > On Sun, Jan 17, 2021 at 11:15 AM Hung Nguyen Gia via openindiana-discuss < > openindiana-discuss@openindiana.org> wrote: > > I wanted to use your sysroot here to build a cross compiler for OI from > > Linux: > > > >

Re: [OpenIndiana-discuss] Could you update your sysroot, jclulow?

2021-01-17 Thread Peter Tribble
On Sun, Jan 17, 2021 at 11:15 AM Hung Nguyen Gia via openindiana-discuss < openindiana-discuss@openindiana.org> wrote: > I wanted to use your sysroot here to build a cross compiler for OI from > Linux: > > https://github.com/illumos/sysroot > > But it seemed you didn't include the C++ part. I

[OpenIndiana-discuss] Could you update your sysroot, jclulow?

2021-01-17 Thread Hung Nguyen Gia via openindiana-discuss
I wanted to use your sysroot here to build a cross compiler for OI from Linux: https://github.com/illumos/sysroot But it seemed you didn't include the C++ part. I couldn't find them. There is no C++ headers, e.g: cmath, iostream,... nor the C++ standard library itself. This sysroot is also a