-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 19.12.2015 um 01:48 schrieb digitalriptide: > Hello, > > How does one select the linker and archiver for use with cmake? I > can change my C compiler by doing this 'CC=icc cmake ..', but I > would also like to use the Intel archiver and linker (xiar and > xild). > > Thank you for the advices. > There has been a similar question: https://cmake.org/pipermail/cmake/2014-August/058268.html In short: You have to provide new linker rules to cmake to replace the current default (linking using the compiler itself). I hope that helps a bit. regards, Patrick -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (MingW32) iQIcBAEBAgAGBQJWdLCNAAoJEPAKI6QtGt1x6skP/3daLIg7qc+al33pWJeFY9LM UCvIuZ2CO5HVj/oKDYqi22ae+751HVQ9t39X5oe5xtcNXeITjl+uX02Uw4h772jt Hb25dZWXG8wAovuofEHuI273qNpOfUtY/tvRxzbMCf8dxXYfp45p5uE+NBeTZ23w QxcKyZv6ixmd8npwu1nsesGDmeMzB8DkzUFUPykUAqV2m/xuOH1FLmJ3wSwmnlTl Uq5QWnJmOmduh6XJYK58NxGrnZkDV0Hy1km+tGnKBNoNwpG0bHNQLqJFWf2FGP4S S4nHWhjmROwFbLT6iRdqk0uyzCnYHlA2cwIYvMipLTaCxZNvdeDZK9rZps1CiqsL cA82IC4mP4Ivtv6qw+2QqOIlQ+dbjLlCG44mm5SKHf9BF+JYuj6REAuv6QdTdOJ1 A2u4NRugxzebwsUyOPO5DzJZeVv7hSB9ivtB9qI4yOrKGh9Eg73x+ptPPrAsLxn6 9xAN2TnIUIkFxlf450GC2pEBuf/n25eyTbby6dVtbO9ADtQ4Y0uyTR+5lSRhTPpC vpACrHBCJNdqPMLEAVYkmjnAZxm9LvxVNQjwW5SN/yHHOlOgElI8dk/CvphvYiz9 miQz1EQiQjS/RFl876brpAbTq33rBn+EEYJD8hHRaaAflaL9CA7c6+h4A4X4DJ7e Z86rA5CPliKgmQdNR3ub =7D3M -----END PGP SIGNATURE----- -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake