[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rfc/rfh: i686-w64-mingw32 cross target
From: |
Ricardo Wurmus |
Subject: |
Re: rfc/rfh: i686-w64-mingw32 cross target |
Date: |
Thu, 31 Mar 2016 22:16:44 +0200 |
User-agent: |
mu4e 0.9.13; emacs 24.5.1 |
Jan Nieuwenhuizen <address@hidden> 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 address@hidden:~/src/mingw-guix
> $ ./pre-inst-env guix build --keep-failed --target=i686-w64-mingw32 hello
> /gnu/store/6556syz1732jnffnp0njikr5g6diqvch-hello-2.10
> 18:18:36 address@hidden:~/src/mingw-guix
> $ /gnu/store/5y252qkblhpj639g3bnrc671mz8x920w-profile/bin/wine
> /gnu/store/6556syz1732jnffnp0njikr5g6diqvch-hello-2.10/bin/hello.exe
> Hello, world!
> 18:18:39 address@hidden:~/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