unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: rfc/rfh: i686-w64-mingw32 cross target
Date: Thu, 31 Mar 2016 22:16:44 +0200	[thread overview]
Message-ID: <877fgio11v.fsf@elephly.net> (raw)
In-Reply-To: <87vb492l7s.fsf@drakenvlieg.flower>


Jan Nieuwenhuizen <janneke@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

  parent reply	other threads:[~2016-03-31 20:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-26 17:38 rfc/rfh: i686-w64-mingw32 cross target Jan Nieuwenhuizen
2016-03-27 14:20 ` [RFCv2] build: i686-w64-mingw32: new " Jan Nieuwenhuizen
2016-03-27 16:17   ` Pjotr Prins
2016-03-31 20:16 ` Ricardo Wurmus [this message]
2016-03-31 20:26   ` rfc/rfh: i686-w64-mingw32 " Jan Nieuwenhuizen
2016-03-31 20:48     ` Ricardo Wurmus
2016-04-02  7:30       ` Jan Nieuwenhuizen
2016-04-07 21:12         ` Ludovic Courtès
2016-04-14  6:30           ` Jan Nieuwenhuizen
2016-04-19 14:54             ` Ludovic Courtès
2016-04-24 21:40               ` [PATCH v4 1/9] gnu: cross: Use CROSS_*_INCLUDE_PATH for system headers Jan Nieuwenhuizen
2016-04-25 10:38                 ` Andy Wingo
2016-04-25 11:28                   ` Jan Nieuwenhuizen
2016-04-26  8:00                     ` Andy Wingo
2016-04-26  8:37                       ` Jan Nieuwenhuizen
2016-04-26  9:03                         ` Jan Nieuwenhuizen
2016-04-25 22:06                 ` Jan Nieuwenhuizen
2016-04-26  9:02                   ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fgio11v.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=janneke@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).