[cfe-commits] r72412 - in /cfe/trunk: include/clang/Driver/HostInfo.h lib/Driver/Driver.cpp lib/Driver/HostInfo.cpp lib/Driver/ToolChains.cpp lib/Driver/ToolChains.h
daniel at zuster.org
Tue May 26 08:54:29 PDT 2009
On Tue, May 26, 2009 at 12:52 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
> + // FIXME: Figure out some way to get gcc's libdir
> + // (e.g. /usr/lib/gcc/i486-linux-gnu/4.3/ for Ubuntu 32-bit); we need
> + // crtbegin.o/crtend.o/etc., and want static versions of various
> + // libraries. If we had our own crtbegin.o/crtend.o/etc, we could probably
> + // get away with using shared versions in /usr/lib, though.
> + // We could fall back to the approach we used for includes (a massive
> + // list), but that's messy at best.
Do we know how gcc solves this problem? Do they detect it as part of
configure or just have a few defaults and rely on vendors to ship a
modified gcc if they use different paths?
More information about the cfe-commits