[Gambas-user] Gambas3 and Cross-Compiler

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Oct 3 14:02:44 CEST 2023


My misunderstanding.
However, it's good to note that cross compilation features do not
automatically make the code cross compatible. Perhaps you knew it already,
but not sure others really know what the issue really is.

Jussi

On Mon, Oct 2, 2023 at 10:10 PM T Lee Davidson <t.lee.davidson at gmail.com>
wrote:

> On 10/2/23 14:14, Jussi Lahtinen wrote:
> >     If you *really* want to do cross-compilation, you might want to take
> a look at Zig (lang) which claims to be a drop-in
> >     replacement C (cross-)compiler. It hasn't reached v1.0 yet, but is
> usable. I compiled a simple "hello world" program for an
> >     embedded MIPS 24K SoC by simply specifying the correct target, and
> it worked flawlessly.
> >
> >
> > Different architecture is not the problem. Different operating system is.
> >
> > Jussi
>
> Okay. ???
>
> I didn't say the different architecture is the only problem; nor did I say
> that a different operating system is not the problem.
> I simply related my experience. There is no need to read more into what I
> said than that.
>
> `zig targets | grep -i windows`
>    "windows",
>    "aarch64_be-windows-gnu",
>    "aarch64-windows-gnu",
>    "armeb-windows-gnu",
>    "arm-windows-gnu",
>    "x86-windows-gnu",
>    "x86_64-windows-gnu",
>
> Do you know for a fact that Zig will not target Windows?
>
>
> --
> Lee
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231003/ea261b1e/attachment.htm>


More information about the User mailing list