Re: problems solved by AC_LIB_HAVE_LINKFLAGS [was: cross building 1.9.14 for mingw]

2011-03-20 Thread Jan Nieuwenhuizen
Andy Wingo schreef op vr 04-03-2011 om 12:11 [+0100]: Hi Andy, [sorry for the long quote] > Let's say you are building and installing Guile on Fedora. You download > the tarball, ./configure && make && make install, and voila. You run > Guile and it works. Sweet! > > So now you follow the ma

Re: problems solved by AC_LIB_HAVE_LINKFLAGS [was: cross building 1.9.14 for mingw]

2011-03-20 Thread Ralf Wildenhues
Hello, * Jan Nieuwenhuizen wrote on Sun, Mar 20, 2011 at 09:08:20AM CET: > It would be nicer still if looking in /usr at compile/build time could > be turned off (from your use cases that seems to be possible), or > be turned off for $DESTDIR builds. That could be done with a single > flag. It w

Re: problems solved by AC_LIB_HAVE_LINKFLAGS [was: cross building 1.9.14 for mingw]

2011-03-20 Thread Jan Nieuwenhuizen
Ralf Wildenhues schreef op zo 20-03-2011 om 09:21 [+0100]: > Bruno already explained why it is not a good idea to let DESTDIR > be the indicator of whether to look in /usr or not. Ouch, I think I missed that. Does someone have a pointer? Also, why look in /usr before looking in gcc's library sea

Re: problems solved by AC_LIB_HAVE_LINKFLAGS [was: cross building 1.9.14 for mingw]

2011-03-20 Thread Ralf Wildenhues
* Jan Nieuwenhuizen wrote on Sun, Mar 20, 2011 at 09:34:37AM CET: > Ralf Wildenhues schreef op zo 20-03-2011 om 09:21 [+0100]: > > > Bruno already explained why it is not a good idea to let DESTDIR > > be the indicator of whether to look in /usr or not. > > Ouch, I think I missed that. Does some

Re: Cross-compiling Guile 2.0

2011-03-20 Thread Ludovic Courtès
Hello! Andy Wingo writes: > It's true that a simple command-line argument and fluid could work, but > the situation will get more complicated, so we will need some part of > Guile to define the host and target triplets. That's the questions I > was really asking: where in Guile to define those?

Re: Cross-compiling Guile 2.0

2011-03-20 Thread Andy Wingo
Hi :) On Sun 20 Mar 2011 14:50, l...@gnu.org (Ludovic Courtès) writes: > There’s already ‘%host-type’. Ah, cool. > However, I don’t think defining ‘%target-type’ would make sense > since: > > 1. Of the GNU triplet, only the $target_arch matters for bytecode; > > 2. You can really choose at

Re: Cross-compiling Guile 2.0

2011-03-20 Thread Ludovic Courtès
Hi! Andy Wingo writes: > On Sun 20 Mar 2011 14:50, l...@gnu.org (Ludovic Courtès) writes: [...] >> However, I don’t think defining ‘%target-type’ would make sense >> since: >> >> 1. Of the GNU triplet, only the $target_arch matters for bytecode; >> >> 2. You can really choose at run-time w

Re: Using libunistring for string comparisons et al

2011-03-20 Thread Ludovic Courtès
Hello Unicode fellows! :-) Mark H Weaver writes: > Andy Wingo writes: >>> Ludovic, Andy and I discussed this on IRC, and came to the conclusion >>> that UTF-8 should be the encoding assumed by functions such as >>> scm_c_define, scm_c_define_gsubr, scm_c_define_gsubr_with_generic, >>> scm_c_ex

Re: Cross-compiling Guile 2.0

2011-03-20 Thread Andy Wingo
On Sun 20 Mar 2011 22:31, l...@gnu.org (Ludovic Courtès) writes: > What I meant to say here, is that via a couple of knobs akin to > ‘current-target-endianness’, you could actually cross-build for any > target. Yes, provided you have the compiler of course. > Thus ‘%target-type’ would be inappro

Re: Using libunistring for string comparisons et al

2011-03-20 Thread Ludovic Courtès
Hi Mark, Mark H Weaver writes: > l...@gnu.org (Ludovic Courtès) writes: >>> We keep wide (UTF-32) stringbufs as-is, but we change narrow stringbufs >>> to UTF-8, along with a flag that indicates whether it is known to be >>> ASCII-only. >> >> The whole point of the narrow/wide distinction was to

Re: Trouble joining with threads from C

2011-03-20 Thread Ludovic Courtès
Hi! Thanks for the brave threading debugging. :-) Andy Wingo writes: > No, the issue is elsewhere, that the thread-exit handlers were not being > called I just tried with 60582b7c2a495957012f9a20cd8691dc6307a850 and ‘on_thread_exit’ /is/ called after something like ‘(call-with-new-thread (lam

Re: proposal: enhance and rename guile-tools

2011-03-20 Thread Ludovic Courtès
Hey! Andy Wingo writes: > it has a pleasant subject-verb-object when you say it: "Guido, compile > my-file.scm." Is the pun[*] intended? :-) FWIW I’m happy with the verbose name and I fear the joke wouldn’t be to everyone’s taste. I’d also be happy with a shorter name, though. Thanks, Ludo’

Re: enhancement requests

2011-03-20 Thread Wolfgang J Moeller
Hi Andy, On Thu, 17 Mar 2011, Andy Wingo wrote: >[...] > > (1) Please provide a means by which the debugger prompt (recursive REPL) > > can be turned off/on. Both a 'hook' (like COMMON-LISP:DEBUGGER-HOOK > > plus COMMON-LISP:ABORT) or a REPL command would be OK with me. > > I mis-typ