> -----Original Message-----
> From: H.J. Lu [mailto:hjl.to...@gmail.com]
> Sent: Tuesday, July 23, 2013 1:04 PM
> To: Iyer, Balaji V
> Cc: Ian Lance Taylor; gcc@gcc.gnu.org
> Subject: Re: Help with using multilib for Cilk Library
> 
> On Tue, Jul 23, 2013 at 9:33 AM, Iyer, Balaji V <balaji.v.i...@intel.com> 
> wrote:
> >> Here is a patch:
> >>
> >> 1. Add target dependency on C++ for parallel build.
> >> 2. Remove hardcoded -O3 -fpic. libtool takes care of it.
> >> 3. Work around MAKEFLAGS for multilib build.
> >>
> >
> > Hi H.J.,
> >         Thank you! This patch got rid of all the errors for me. When I do 
> > make
> install, it is installing both the 32 bit one and 64 bit one in 
> $INSTALL_DIR/lib.
> How can I make the 32 bit one write to $INSTALL_DIR/lib and the 64-bit one
> write to $INSTALL_DIR/lib64?
> >
> 
> Try this:
> 
>  # Target list.
> -lib_LTLIBRARIES = libcilkrts.la
> +toolexeclib_LTLIBRARIES = libcilkrts.la
> 
> on libcilkrts/Makefile.am.

It works now! Thanks for all your help!

Thanks,

Balaji V. Iyer.

> 
> --
> H.J.

Reply via email to