This is the mail archive of the gcc-patches@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]

Re: RFC patch: Add libquadmath - and use it in gfortran (round two)


Hello,

* Jack Howarth wrote on Mon, Nov 08, 2010 at 10:14:14PM CET:
> ...is still passing...
> 
>  -L/Users/howarth/gcc-4.6-20101108/libquadmath
> 
> which should be...
> 
>  -L/Users/howarth/work/x86_64-apple-darwin10.5.0/i386/libquadmath/.libs
> 
> for the i386 multilib build and 
> 
>  -L/Users/howarth/work/x86_64-apple-darwin10.5.0/libquadmath/.libs
> 
> for the -m64 multilib build. We need to figure out what construction
> of variables will provide those properly in each case during the mulilib
> build of libgfortran.

The key with libtool is usually to *not* pass
  -L../foo/.libs -lfoo

but to pass
  ../foo/libfoo.la

in libbar_la_LIBADD.  That will set the paths for linking against
uninstalled libraries right, and also do TRT when optionally relinking
at 'make install' time.

Hope that helps, I didn't check for any further details.  ;-)

Cheers,
Ralf


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