Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
diana:windows:building:issues [2009-11-12 18:30:58] 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 ''/ | ||
+ | |||
+ | **XXX is this really an issue? | ||
+ | |||
+ | ===== Shared libraries ===== | ||
+ | |||
+ | Windows doesn' | ||
+ | |||
+ | - place '' | ||
+ | - manually load all the required libraries when you aren't using libtool | ||
+ | |||
+ | ===== Compiler crash ===== | ||
+ | |||
+ | Oops: | ||
+ | |||
+ | $ gcc -o hello hello.c | ||
+ | This application has requested the Runtime to terminate it in an unusual way. | ||
+ | Please contact the application' | ||
+ | |||
+ | This rather cryptic message means that "this application" | ||
+ | |||
+ | Check your '' | ||
+ | |||
+ | Add the following three lines to your '' | ||
+ | |||
+ | export TMPDIR=/tmp | ||
+ | export TEMP=/tmp | ||
+ | export TMP=/tmp | ||
+ | |||
+ | and paste them into all your open terminals so they will take effect immediately. | ||
+ | |||
+ | There is a looong thread about this issue at http:// | ||
+ | |||
+ | ===== Fortran preprocessing ===== | ||
+ | |||
+ | You may come across something like this: | ||
+ | |||
+ | $ make termchar.o | ||
+ | g77 -g -O2 -pipe -DG77 -c -o termchar.o termchar.f | ||
+ | termchar.f: In subroutine `termchar': | ||
+ | In file included from termchar.f: | ||
+ | termchar.f: | ||
+ | termchar.f: | ||
+ | termchar.f: | ||
+ | make: *** [termchar.o] Error 1 | ||
+ | |||
+ | It means g77 does not pass '' | ||
+ | |||
+ | $ touch foo.f | ||
+ | $ mv foo.f foo.F | ||
+ | mv: `foo.f' | ||
+ | |||
+ | You can work around this by renaming the file in two stages: | ||
+ | |||
+ | $ mv foo.f foo.f- | ||
+ | $ mv foo.f- foo.F | ||
===== LDFLAGS ===== | ===== LDFLAGS ===== | ||
Line 9: | Line 70: | ||
===== Fortran ===== | ===== Fortran ===== | ||
+ | |||
+ | **not an issue with 3.4.5** | ||
/bin/sh ../libtool --tag=F77 | /bin/sh ../libtool --tag=F77 |