Re: How to make libtool to use the external linker to link only one shared library in a large project?
Thomas Jahns <[email protected]>
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, On 5/22/19 10:46 AM, Yuri wrote: > The fftw3 project needs to link one of many libraries (libfftw3_mpi.so) > with the externally supplied linked (mpicc executable). The rest of the > project needs to be linked in a default way. > > Could you please advise how to do this? while it's usually easier to use the mpicc wrapper, for almost any MPI it's equally possible to discover the libraries linked by mpicc. For some MPI's its --shome:link and for others -link_info, you could then add those instead of swapping CC. Regards, Thomas -- Thomas Jahns HD(CP)^2 Abteilung Anwendungssoftware Deutsches Klimarechenzentrum GmbH Bundesstraße 45a • D-20146 Hamburg • Germany Phone: +49 40 460094-151 Fax: +49 40 460094-270 Email: Thomas Jahns <[email protected]> URL: www.dkrz.de Geschäftsführer: Prof. Dr. Thomas Ludwig Sitz der Gesellschaft: Hamburg Amtsgericht Hamburg HRB 39784 _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool