libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make libtool to use the external linker to link only one shar


From: Thomas Jahns
Subject: Re: How to make libtool to use the external linker to link only one shared library in a large project?
Date: Thu, 23 May 2019 15:04:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

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 <address@hidden>
URL:    www.dkrz.de

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784



reply via email to

[Prev in Thread] Current Thread [Next in Thread]