Jan Nieuwenhuizen <jann...@gnu.org> writes:

> I'm working on a cross target in an effort to get rid of GUB 1) in
> favour of Guix and could do with some help.
>
> I have just succeeded in cross-building hello and running it,
> doing
>
>    18:18:36 janneke@drakenvlieg:~/src/mingw-guix
>    $ ./pre-inst-env guix build --keep-failed --target=i686-w64-mingw32 hello
>    /gnu/store/6556syz1732jnffnp0njikr5g6diqvch-hello-2.10
>    18:18:36 janneke@drakenvlieg:~/src/mingw-guix
>    $ /gnu/store/5y252qkblhpj639g3bnrc671mz8x920w-profile/bin/wine 
> /gnu/store/6556syz1732jnffnp0njikr5g6diqvch-hello-2.10/bin/hello.exe 
>    Hello, world!
>    18:18:39 janneke@drakenvlieg:~/src/mingw-guix

That’s very cool!

> See https://github.com/janneke/guix/tree/wip-mingw32 or attached patch.
> This platform does not have glibc, it uses --with-newlib and I'm not
> sure how to fit that in.

I have also been working on a cross-compiler using newlib:

   http://lists.gnu.org/archive/html/guix-devel/2016-03/msg00106.html

I’m not sure it’s fully working as I only have one board to test it.
Maybe there’s something in there you find useful?

~~ Ricardo


Reply via email to