sawyl: (Default)
[personal profile] sawyl
Had an interesting discussion with one of the beakers today about static versus dynamic linking. He suggested configuring the compilers to statically link the Intel libraries, rather picking them up via LD_LIBRARY_PATH as is the case at the moment. In line with my generally contrary nature and my belief in the principle of least surprise, I advocated linking everything in statically, on the grounds that once you've got a static binary, it's pretty much guaranteed to work regardless of what happens to the libraries.

Trouble is, least surprise cuts both ways: changing to static linking will suddenly increase the size of the executables, which will throw some people, but it would bring the behaviour of the native compilers into line with that of the cross compilers.

Hmm.

Date: 2007-01-27 12:28 pm (UTC)
From: [identity profile] doctor-squale.livejournal.com

Dynamic linking is madness.

Date: 2007-01-27 06:23 pm (UTC)
From: [identity profile] sawyl.livejournal.com
That's pretty much my view: not for nothing to Windows programmers talk about being stuck in DLL hell...

Profile

sawyl: (Default)
sawyl

August 2018

S M T W T F S
   123 4
5 6 7 8910 11
12131415161718
192021222324 25
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 21st, 2025 06:46 pm
Powered by Dreamwidth Studios