[Gdal-dev] gdal on amd64 needs -fPIC?

Vincent Schut schut at sarvision.com
Tue Mar 30 05:50:17 EST 2004


I just tried to compile gdal on my new amd64. It complained about needing 
-fPIC in the final install phase (where all libs are archived together into 
one I think). After I recompiled netcdf and hdf4 with -fPIC, I tried to 
compile gdal with -fPIC and then it compiled fine. To do this, I both changed 
GDALmake.opt and libtool.
I will investigate some more, e.g. do only hdf/netcdf need -fPIC or also GDAL 
(this seemed to be the case, but I'm not yet sure).
Does it sound likely that gdal needs -fPIC on amd64? I really need to check 
out what this -fPIC thing does...
Frank and other developers, your comments please...?
If you need some amd64 testing, please inform me.

Cheers,
-- 
-----------------------------
 Vincent Schut
 SarVision B.V.
 Wageningen, The Netherlands
 www.sarvision.com



More information about the Gdal-dev mailing list