Re: Dependencies not compiled in

2011-09-02 Thread Michael Goffioul
On Fri, Sep 2, 2011 at 10:38 PM, Bruno Haible wrote: > Michael Goffioul wrote: >> > Indeed. The problem is that after the 2011-08-05 commit, m4/chdir-long.m4 >> > and lib/chdir-long are no longer in sync: The .m4 file assumes that only >> > and will be included before >> > (defined PATH_MAX || d

Re: Dependencies not compiled in

2011-09-02 Thread Bruno Haible
Michael Goffioul wrote: > > Indeed. The problem is that after the 2011-08-05 commit, m4/chdir-long.m4 > > and lib/chdir-long are no longer in sync: The .m4 file assumes that only > > and will be included before > > (defined PATH_MAX || defined MAXPATHLEN) is tested, > > whereas the .h file includ

Re: Dependencies not compiled in

2011-09-02 Thread Michael Goffioul
On Fri, Aug 26, 2011 at 10:08 PM, Bruno Haible wrote: > Eric Blake wrote: >> > Just for the record, it turns out the chdir-long is not compiled, because >> > the variable $gl_cv_have_arbitrary_file_name_length_limit ends up being >> "no". >> >> Aha - that's a bug in the chdir-long module. > > Inde

Re: Dependencies not compiled in

2011-08-28 Thread Bastien ROUCARIES
Do you know parity ? see http://sourceforge.net/projects/parity/ it is exactly what you need and moreover is better from a loader point of view. If we should support msvc I tyhink we must use this target. Wine thinks to use it for wine under cygwin, and it regularly used at my uni. LD_PRELOAD tric

Re: Dependencies not compiled in

2011-08-26 Thread Michael Goffioul
On Fri, Aug 26, 2011 at 10:13 PM, Bruno Haible wrote: > Michael Goffioul wrote: >> Windows+MSVC. I know this is not a gnulib target. > > Yes. But it could become a gnulib target if the $CC wrapper script was agreed > upon in GNU. For example, if Automake would distribute it, like it distributes >

Re: Dependencies not compiled in

2011-08-26 Thread Ralf Wildenhues
* Bruno Haible wrote on Fri, Aug 26, 2011 at 11:13:45PM CEST: > Michael Goffioul wrote: > > > On which platform? ... > > > > Windows+MSVC. I know this is not a gnulib target. > > Yes. But it could become a gnulib target if the $CC wrapper script was agreed > upon in GNU. For example, if Automake

Re: Dependencies not compiled in

2011-08-26 Thread Bruno Haible
Michael Goffioul wrote: > > On which platform? ... > > Windows+MSVC. I know this is not a gnulib target. Yes. But it could become a gnulib target if the $CC wrapper script was agreed upon in GNU. For example, if Automake would distribute it, like it distributes a couple of other wrapper scripts.

Re: Dependencies not compiled in

2011-08-26 Thread Bruno Haible
Eric Blake wrote: > > Just for the record, it turns out the chdir-long is not compiled, because > > the variable $gl_cv_have_arbitrary_file_name_length_limit ends up being > "no". > > Aha - that's a bug in the chdir-long module. Indeed. The problem is that after the 2011-08-05 commit, m4/chdir-lo

Re: Dependencies not compiled in

2011-08-26 Thread Eric Blake
On 08/26/2011 02:16 PM, Michael Goffioul wrote: On Fri, Aug 26, 2011 at 8:43 PM, Michael Goffioul wrote: On Fri, Aug 26, 2011 at 5:13 PM, John W. Eaton wrote: It seems to be working for me with a Debian system. Is chdir-long.lo listed in the gl_LTLIBOBJS variable in the generated libgnu/Mak

Re: Dependencies not compiled in

2011-08-26 Thread Michael Goffioul
On Fri, Aug 26, 2011 at 8:43 PM, Michael Goffioul wrote: > On Fri, Aug 26, 2011 at 5:13 PM, John W. Eaton wrote: >> It seems to be working for me with a Debian system. >> >> Is chdir-long.lo listed in the gl_LTLIBOBJS variable in the generated >> libgnu/Makefile on your system? > > No. Just for

Re: Dependencies not compiled in

2011-08-26 Thread Michael Goffioul
On Fri, Aug 26, 2011 at 5:13 PM, John W. Eaton wrote: > It seems to be working for me with a Debian system. > > Is chdir-long.lo listed in the gl_LTLIBOBJS variable in the generated > libgnu/Makefile on your system? No. > Do you have the most recent gnulib sources? Cloned about 2 days ago, from

Re: Dependencies not compiled in

2011-08-26 Thread John W. Eaton
On 26-Aug-2011, Michael Goffioul wrote: | On Fri, Aug 26, 2011 at 1:44 PM, Bruno Haible wrote: | > Hi, | > | > Michael Goffioul wrote: | >> While compiling Octave, I got undefined references within the gnulib | >> module. | >> Namely: | >> - chdir_long undefined, referenced in save-cwd.c | > | >

Re: Dependencies not compiled in

2011-08-26 Thread Michael Goffioul
On Fri, Aug 26, 2011 at 1:44 PM, Bruno Haible wrote: > Hi, > > Michael Goffioul wrote: >> While compiling Octave, I got undefined references within the gnulib >> module. >> Namely: >> - chdir_long undefined, referenced in save-cwd.c > > This is very astonishing, because the gnulib module 'save-cwd

Re: Dependencies not compiled in

2011-08-26 Thread Bruno Haible
Hi, Michael Goffioul wrote: > While compiling Octave, I got undefined references within the gnulib > module. > Namely: > - chdir_long undefined, referenced in save-cwd.c This is very astonishing, because the gnulib module 'save-cwd' has a dependency on 'chdir-long'. > - strncasecmp undefined, re

Dependencies not compiled in

2011-08-26 Thread Michael Goffioul
Hi, While compiling Octave, I got undefined references within the gnulib module. Namely: - chdir_long undefined, referenced in save-cwd.c - strncasecmp undefined, referenced in strptime.c After running the bootstrap script, I can see that the corresponding source files are taken into account (cop