Re: Problem with removing config.h from gen-scmconfig when cross-compiling

2014-03-13 Thread Ludovic Courtès
Mark H Weaver m...@netris.org skribis: Commit 8cb0d6d7fa9aaac316c29a64c541336b51b6f93d build: Don't include config.h in native programs when cross-compiling. apparently broke cross-compiling. Madsy on #guile, who successfully cross-compiled e1bb79f for mingw, ran into this problem with

Re: Memory accounting in libgc

2014-03-13 Thread Neil Jerram
On 2014-03-12 06:57, Mark H Weaver wrote: Andy Wingo wi...@pobox.com writes: How does this affect libgc? First of all, it gives an answer to the question of how much memory does an object use -- simply stop the world, mark the heap in two parts (the first time ignoring the object in

Re: Problem with removing config.h from gen-scmconfig when cross-compiling

2014-03-13 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: Commit 8cb0d6d7fa9aaac316c29a64c541336b51b6f93d build: Don't include config.h in native programs when cross-compiling. apparently broke cross-compiling. Madsy on #guile, who successfully cross-compiled e1bb79f

Re: Problem with removing config.h from gen-scmconfig when cross-compiling

2014-03-13 Thread Ludovic Courtès
Mark H Weaver m...@netris.org skribis: l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: Commit 8cb0d6d7fa9aaac316c29a64c541336b51b6f93d build: Don't include config.h in native programs when cross-compiling. apparently broke cross-compiling. Madsy on #guile,

Re: Problem with removing config.h from gen-scmconfig when cross-compiling

2014-03-13 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: I agree that this is fragile and should be reworked somehow, but for 2.0.10, I wonder if we could just revert the part of 8cb0d6d having to do with gen-scmconfig.c. What do you think? You’re right. So for

Re: Problem with removing config.h from gen-scmconfig when cross-compiling

2014-03-13 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: (BTW, we can test cross-compilation to GNU/Linux with guix build guile --with-source=guile-2.0.9.xyz.tar.xz --target=mips64el-linux-gnu.) I tried this on my x86_64 box with guix master (v0.5-355-g9037ea2), freshly built (autoreconf -vfi, configure, make

Re: Problem with removing config.h from gen-scmconfig when cross-compiling

2014-03-13 Thread Ludovic Courtès
Mark H Weaver m...@netris.org skribis: l...@gnu.org (Ludovic Courtès) writes: Mark H Weaver m...@netris.org skribis: I agree that this is fragile and should be reworked somehow, but for 2.0.10, I wonder if we could just revert the part of 8cb0d6d having to do with gen-scmconfig.c. What

Re: Problem with removing config.h from gen-scmconfig when cross-compiling

2014-03-13 Thread Ludovic Courtès
Mark H Weaver m...@netris.org skribis: l...@gnu.org (Ludovic Courtès) writes: (BTW, we can test cross-compilation to GNU/Linux with guix build guile --with-source=guile-2.0.9.xyz.tar.xz --target=mips64el-linux-gnu.) I tried this on my x86_64 box with guix master (v0.5-355-g9037ea2),