[geos-devel] Exception Issues
Norman Vine
nhv at cape.com
Tue May 27 13:00:26 EDT 2003
David Blasby writes:
>
> > This should be easily solved by modifying the Postgresql link step
> > to link as C++ instead of 'C'.
>
> Theoretically, this should work. Perhaps paul could compile our 7.3
> development system with libc++ instead of libc and we could see
> if it works?
> Anyone know how to get it to *not* link to libc? The link step
> looks like:
>
> gcc -g -Wall -Wmissing-prototypes -Wmissing-declarations -g -I.
> -DFRONTEND -DSYSCONFDIR='"/opt/pgsql73/etc"' -DUSE_VERSION=73
> -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
> -fpic -shared -Wl,-soname,libpostgis.so.0 postgis_debug.o postgis_ops.o
> postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o
> postgis_transform.o postgis_gist_72.o postgis_estimate.o postgis_geos.o
> postgis_geos_wrapper.o -lstdc++ -L/usr/local/lib -lgeos
> -L/usr/local/lib -lproj -Wl,-rpath,/opt/pgsql73/lib -o libpostgis.so.0.8
This is an easy one :-)
c++ -g -Wall -Wmissing-prototypes -Wmissing-declarations -g -I.
-DFRONTEND -DSYSCONFDIR='"/opt/pgsql73/etc"' -DUSE_VERSION=73
-I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-fpic -shared -Wl,-soname,libpostgis.so.0 postgis_debug.o postgis_ops.o
postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o
postgis_transform.o postgis_gist_72.o postgis_estimate.o postgis_geos.o
postgis_geos_wrapper.o -L/usr/local/lib -lgeos
-L/usr/local/lib -lproj -Wl,-rpath,/opt/pgsql73/lib -o libpostgis.so.0.8
Cheers
Norman
More information about the geos-devel
mailing list