[Gdal-dev] static libraries revamped (was: new build strategy for org/orgsf_frmts/)
alexamici at tiscali.it
Wed Jul 23 19:21:39 EDT 2003
i investigated a bit what's going on, but i still don't understand what is the
difference between cygwin and the other gnu targets.
as far as i could see the problem is not partial linking per se, since i could
build without errors ogr/ogr.o if i omited a few object files. the problem
seem to be linked with the weak symbols associated with default destructors
of a few classes.
i have to admit that my knowledge of the c++ linking rules is far too flebile
to understand the origin of the problem :-(. i will try a couple more idea
unless someone figures out what's going on in the cygwin case, i'll need to
implement a different strategy for linking all the objects into libgdal.a.
Frank, in that case the cleaner way would be to move the ogr executables into
a ogr/apps directory :-/. what's your opinion? is it feasible?
More information about the Gdal-dev