This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help with using multilib for Cilk Library
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 23 Jul 2013 10:03:43 -0700
- Subject: Re: Help with using multilib for Cilk Library
- References: <BF230D13CA30DD48930C31D4099330003A452E29 at FMSMSX101 dot amr dot corp dot intel dot com> <CAKOQZ8xUZJRtxOX+5D47jh=r1LQPG1V+XFfUA7Ufz1nn38SZwQ at mail dot gmail dot com> <BF230D13CA30DD48930C31D4099330003A452FC1 at FMSMSX101 dot amr dot corp dot intel dot com> <CAMe9rOpCdaK6kUYVJJxKQ-msWed0obrXkAtqkxG2Tv-UE3to4Q at mail dot gmail dot com> <BF230D13CA30DD48930C31D4099330003A453723 at FMSMSX101 dot amr dot corp dot intel dot com> <CAMe9rOrDYTnLORPCGSxJVs-E_Cbnnw2zybe=18oSnDMhgKbm_Q at mail dot gmail dot com> <BF230D13CA30DD48930C31D4099330003A453E17 at FMSMSX101 dot amr dot corp dot intel dot com>
On Tue, Jul 23, 2013 at 9:33 AM, Iyer, Balaji V <balaji.v.iyer@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.
--
H.J.