Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
diana:windows:building:issues [2009-11-25 17:09:48]
dages
diana:windows:building:issues [2022-05-31 09:29:31] (current)
Line 1: Line 1:
 ====== Unresolved issues ====== ====== Unresolved issues ======
 +
 +**OUT OF DATE** most of these issues have been resolved or worked around, or were only relevant in the initial, experimental phase.
 +
 +===== --prefix =====
 +
 +You'll notice that I recommend installing several components (HDF, NetCDF, Grib...) in their own directories under ''/opt'' The reason for this is that it makes it easier to clean up spills while working out the build process.  The downside is that although everything will //build// correctly, some components may fail to //run//
 +
 +**XXX is this really an issue?  perhaps we should just build static libraries.***
 +
 +===== Shared libraries =====
 +
 +Windows doesn't have transitive shared library dependencies.  What this means, in plain language, is that you can't assume—as you can on ELF systems—that loading a shared library automatically loads all of //its// dependencies.  Therefore, libtool will refuse to generate shared libraries unless you promise that whenever you load it, you will also load all of its dependencies.  To do that, you must
 +
 +  - place ''LDFLAGS=-no-undefined'' in your environment before running ''configure'', and
 +  - manually load all the required libraries when you aren't using libtool
  
 ===== Compiler crash ===== ===== Compiler crash =====
  • diana/windows/building/issues.1259168988.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)