This is an old revision of the document!
Unresolved issues
LDFLAGS
In order to generate DLLs, libtool needs LDFLAGS=-no-undefined
. We need to
- understand why
- figure out where to handle it
Fortran
/bin/sh ../libtool --tag=F77 --mode=compile gfortran -g -O2 -x f77-cpp-input -c -o getvar.lo getvar.f libtool: compile: gfortran -g -O2 -x f77-cpp-input -c getvar.f -DDLL_EXPORT -o .libs/getvar.o getvar.f:93.65: data cend/ ' ' , '.' , '/' , '$' , '#' , '?' , ',' , ';' , '\\' / 1 Warning: initialization string truncated to match variable at (1) libtool: compile: gfortran -g -O2 -x f77-cpp-input -c getvar.f -o getvar.o >/dev/null 2>&1
This does not happen on Ubuntu, but in all fairness, we're using a different compiler (or, to be exact a different compiler version: gfortran 4.2.4 on Ubuntu, gfortran 4.4.0 on Windows).