bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getcwd replacement + cross compilation


From: Sergio Durigan Junior
Subject: Re: getcwd replacement + cross compilation
Date: Thu, 23 Aug 2018 02:29:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

On Wednesday, August 22 2018, Paul Eggert wrote:

> Sergio Durigan Junior wrote:
>> and on the fact the gl_cv_func_getcwd_path_max is set to "no" when
>> cross-compiling, I'm almost sure that HAVE_MINIMALLY_WORKING_GETCWD is
>> not being defined.  However, I'll double check with the submitter.
>
> Thanks. Could you please also ask the submitter:
>
> What's the value of host_os?
>
> If you build and run the gl_cv_func_getcwd_path_max test program on
> that platform, what value does it return?
>

The submitter got back with the following answers:

  > Ruslan, could you please check if HAVE_MINIMALLY_WORKING_GETCWD is defined?

  $ grep HAVE_MINIMALLY_WORKING_GETCWD . -rI
  ./gdb/gdbserver/build-gnulib-gdbserver/config.h:/* #undef
  HAVE_MINIMALLY_WORKING_GETCWD */
  ./gdb/build-gnulib/config.h:/* #undef HAVE_MINIMALLY_WORKING_GETCWD */

  (In reply to Sergio Durigan Junior from comment #9)
  > 17 What's the value of host_os?

  $ find . -name '*.log' -exec grep '\<host_os=' {} \; | sort -u
  host_os='linux-gnu'

  > 19 If you build and run the gl_cv_func_getcwd_path_max test program on
  > 20 that platform, what value does it return?

  It returns zero.

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]