https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879

Harald van Dijk <harald at gigawatt dot nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harald at gigawatt dot nl

--- Comment #1 from Harald van Dijk <harald at gigawatt dot nl> ---
DESTDIR is meant to install to a specific directory in such a way that the
contents of that directory can then be moved or copied to the location the
software will be run from, typically by a package manager creating an archive
from the DESTDIR directory and extracting it elsewhere. It is not supposed to
be used at configure time to pick up other software, only at install time to
determine the location to install into.

The ways to handle libc being installed in non-standard locations depend on
your specific use case. GCC provides the --with-sysroot and
--with-native-system-header-dir configure options, documented at
<https://gcc.gnu.org/install/configure.html>. If you need more info on what
they do, or if they do not handle your use case, the mailing lists are a better
place to ask first than Bugzilla. You can get help in seeing whether GCC
already supports your use case in a different way than you're trying now, and
if not and you want to report that as a bug, what details would need to be
included.

Reply via email to