Hi Jim, Alan,

> -----Original Message-----
> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
> Sent: Friday, March 13, 2015 6:34 AM
> To: Jim Dishaw
> Cc: PLplot development list
> Subject: Re: [Plplot-devel] Static build
>
> On 2015-03-12 19:59-0400 Jim Dishaw wrote:
>
> > What is the option for a pure static build on linux. I tried
> BUILD_SHARED_LIBS=OFF and it still linked to some dynamic libraries like Qt.
>
> Hi Jim:
>
> This is an interesting question.
>
> Static linking is a difficult thing to get right so the last answer at
> <http://stackoverflow.com/questions/24648357/compiling-a-static-executable-with-
> cmake>


It may even be impossible, as some components may not provide a static version 
of their libraries. One case that comes to mind is that of the X Window 
libraries: some OSes deliberately do not provide a static version of one or 
more of the (system) libraries involved. And I can imagine that the same goes 
for a component like Qt.

On Windows I have to struggle with runtime libraries required by the various 
compilers. It makes it necessary to supply so-called redistributable libraries 
for them, as each compiler version (of the same vendor) has its own version of 
the runtime libraries. On the target system they have to be installed or be 
present somehow.

Regards,

Arjen

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to