Help with using multilib for Cilk Library

H.J. Lu hjl.tools@gmail.com
Tue Jul 23 17:03:00 GMT 2013


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.



More information about the Gcc mailing list