Comment 3 for bug 746510

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 746510] Re: FTBFS Emacs23.2 on Natty from multiarch implemented

Hi Glenn,

On Sat, Apr 02, 2011 at 08:58:06PM -0000, Glenn Morris wrote:
> Newer versions of Emacs have a --with-crt-dir option that you can pass
> to configure.

> Is there a query that the configure script can run to get the location of the crt files,
> so that it works by default?

The trouble is that gcc and binutils both use a search path to find the crt
files, not a single directory. The only query for determining which
directory the crt files are in is to walk all of the directories in the
default linker path until you find them! There is no other way to be sure
which directory they'll be in; libc itself is the only package that knows
for sure, and it has no interface for querying this.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>