Opened 13 years ago
Closed 12 years ago
#3952 closed enhancement (fixed)
Android support
Reported by: | rolker | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.0 |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | android |
Cc: |
Description (last modified by )
I'm creating this ticket to collect patches and procedures for building GDAL for the Android platform.
Instructions for building can be found at http://trac.osgeo.org/gdal/wiki/BuildingForAndroid
Attachments (1)
Change History (8)
by , 13 years ago
Attachment: | android.diff added |
---|
follow-up: 2 comment:1 by , 13 years ago
Milestone: | 1.8.1 → 1.9.0 |
---|
I would suggest that buildhints for Android should be primarily handled via a wiki topic off http://trac.osgeo.org/gdal/wiki/BuildHints. I have applied the patch (manually) in trunk (r21653). Any additional patches suitable for trunk can be added here and I will apply them.
comment:2 by , 13 years ago
Description: | modified (diff) |
---|
Thanks for applying the patch. I was going to ask if the build instructions should go on the wiki or in a README file, but you answered that! I created http://trac.osgeo.org/gdal/wiki/BuildingForAndroid with the original instructions.
comment:3 by , 13 years ago
In order to get the ./configure script to recognize the --host=arm-linux-androideabi option, I had to replace the config.guess and config.sub files with later versions. (I used the ones from http://git.savannah.gnu.org/cgit/config.git/tree/ with timestamps of 2011-02-02 for my testing.)
Is it possible to update those files in the repository? I don't have experience maintaining autoconf based projects, so I don't know if there is a risk of breaking builds on other platforms by updating those files.
comment:4 by , 13 years ago
The files would normally be refreshed by rerunning autogen.sh on a system with newer versions of autoconf. For now I would suggest you encourage android users to update to a new autoconf and run gdal/autogen.sh.
If we can remember, it would be nice to update to a newish autoconf before the 1.9 release next winter.
comment:5 by , 12 years ago
Confirming that the patch works. I used it in my android QGIS port. I also added a note on the wiki. Thanks Marco
comment:6 by , 12 years ago
comment:7 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I don't see an ongoing need for this ticket. Things seem to be in decent shape.
Small patch to allow building with Android NDK