This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug other/42756] Build fails if gold is used as linker and some libraries reside is /usr/local/lib



------- Comment #7 from aanisimov at inbox dot ru  2010-01-30 05:24 -------
(In reply to comment #6)
> > in my opinion, it's necessary that the build scripts
> > specify all library directories explicitely.
> 
> Then use configure options --with-ppl / --with-ppl-include / --with-ppl-lib,
> and --with-cloog / --with-cloog-include / --with-cloog-lib.
> 

I do not quite agree with you -- these options are supposed to be used when
ppl/cloog are installed in a location that only I know of. With /usr/local/lib
the situation is different -- the configure script knows about this dir and
must also teach the linker about it. Not passing /usr/local/lib in the explicit
libraries path means relying on GNU ld's behaviour.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42756


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