This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Mainline bootstrap failure in libjava, i686-pc-linux-gnu


Phil Edwards <pedwards@disaster.jaj.com> writes:

> I still don't understand why we pass -B$prefix/lib to the compiler during
> the build, /before/ we install anything in $prefix.  I've been told that
> this is the Right Thing To Do, but I remain skeptical.  :-(

It's so that libraries that are installed in $prefix/lib are found.  Otherwise,
if you have a newlib install in $prefix/lib and you try to build the compiler
by itself, it'll fail to build because it can't find the libraries.

Now, that's one thing, but it should not be _preferring_ those
libraries over the versions that we have just built...

-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]