cross building 1.9.14 for mingw

2011-01-29 Thread Jan Nieuwenhuizen
Hi, To get guile-1.9.14 cross built for mingw, I re-updated gnulib to include socket-related modules (starting with accept here) gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --libtool --macro-prefix=gl --no-vc

Re: cross building 1.9.14 for mingw

2011-01-29 Thread Ludovic Courtès
Hi Jan, Thanks for the report and patches! Jan Nieuwenhuizen writes: > To get guile-1.9.14 cross built for mingw, I re-updated gnulib > to include socket-related modules (starting with accept here) > > gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 > --doc-base=do

Re: cross building 1.9.14 for mingw

2011-01-31 Thread Jan Nieuwenhuizen
Ludovic Courtès schreef op za 29-01-2011 om 22:34 [+0100]: Hi Ludovic, > OK but all the modules listed after ‘accept’ above are needed too, > right? Yes, sure. > Hmm could it be that there was a typo? Here running ‘git-version-gen’ > outside of a Git tree works fine: > > $ guile/build-aux/g

Re: cross building 1.9.14 for mingw

2011-01-31 Thread Ludovic Courtès
Hi Jan, Jan Nieuwenhuizen writes: > Ludovic Courtès schreef op za 29-01-2011 om 22:34 [+0100]: [...] >> Hmm could it be that there was a typo? Here running ‘git-version-gen’ >> outside of a Git tree works fine: >> >> $ guile/build-aux/git-version-gen .tarball-version s/foo/bar/ >> UNKNOW

Re: cross building 1.9.14 for mingw

2011-02-14 Thread Ludovic Courtès
Hi, Jan Nieuwenhuizen writes: > gnulib-tool --import --dir=. --lib=libgnu --source-base=lib --m4-base=m4 > --doc-base=doc --tests-base=tests --aux-dir=build-aux --libtool > --macro-prefix=gl --no-vc-files alignof alloca-opt announce-gen autobuild > byteswap canonicalize-lgpl duplocale env

Re: cross building 1.9.14 for mingw

2011-02-15 Thread Jan Nieuwenhuizen
Ludovic Courtès schreef op ma 14-02-2011 om 13:29 [+0100]: > Done. Thanks! > However, we don’t seem to be actually using the ‘sockets’ module: IIUC > we should include “sockets.h” somewhere and call ‘gl_sockets_startup’, > which we don’t do. Am I missing something? It seems you're right, we do

Re: cross building 1.9.14 for mingw

2011-02-15 Thread Jan Nieuwenhuizen
Ludovic Courtès schreef op za 29-01-2011 om 22:34 [+0100]: > > From 4aeb4bb48423d87001b598030afed0a2dc03e747 Mon Sep 17 00:00:00 2001 > > From: Jan Nieuwenhuizen > > Date: Sat, 29 Jan 2011 19:42:46 +0100 > > Subject: [PATCH 2/4] Use AC_CHECK_LIB rather than AC_LIB_HAVE_LINKFLAGS. > > Fixes cros

Re: cross building 1.9.14 for mingw

2011-02-22 Thread Andy Wingo
Hi Jan, Excuse the long quote here, but: On Tue 15 Feb 2011 11:20, Jan Nieuwenhuizen writes: > Ludovic Courtès schreef op za 29-01-2011 om 22:34 [+0100]: > >> > From 4aeb4bb48423d87001b598030afed0a2dc03e747 Mon Sep 17 00:00:00 2001 >> > From: Jan Nieuwenhuizen >> > Date: Sat, 29 Jan 2011 19:42

Re: cross building 1.9.14 for mingw

2011-02-24 Thread Jan Nieuwenhuizen
Andy Wingo schreef op di 22-02-2011 om 09:34 [+0100]: Hi Andy, > Excuse the long quote here No problem. > > I did, and Bruno Haible does not really care about this brokenness > > or about cross compiling; > > That is a totally unfair characterization, Jan. You met him in the > Hague and he di

Re: cross building 1.9.14 for mingw

2011-02-24 Thread Ludovic Courtès
Hi! BTW I added cross-compilation jobs to Hydra (the ‘xbuild_*’ things): http://hydra.nixos.org/jobset/gnu/guile-2-0/ The cross-MinGW one needs some love, but at least the cross-GNU one works fine without special hacks. Thanks, Ludo’.

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

2011-03-04 Thread Andy Wingo
Hi Jan, Apologies for the delay in the reply. On Thu 24 Feb 2011 10:39, Jan Nieuwenhuizen writes: > Andy Wingo schreef op di 22-02-2011 om 09:34 [+0100]: > >> To be honest I don't find it too onerous to have to set these flags when >> compiling with DESTDIR. Sure, it would be nicer if it were

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