Changes between Version 172 and Version 173 of AndroidPort


Ignore:
Timestamp:
Jan 28, 2012, 3:50:17 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v172 v173  
    314314}}}
    315315
     316Download the latest version of libxml2 from [http://xmlsoft.org/downloads.html this page] to the working directory and then unpack it there, e.g.:
     317
     318{{{
     319$ cd ~/android
     320$ tar -xvf libxml2-2.7.8.tar.gz
     321}}}
     322
     323Now change directory to the directory that was unpacked, e.g.:
     324
     325{{{
     326$ cd ~/android/libxml2-2.7.8
     327}}}
     328
     329Then execute the following command to configure the package for the target device:
     330
     331{{{
     332$ ./configure --host=$HOSTCONF --build=i686-pc-linux-gnu --prefix=$SYSROOT/usr --without-threads --without-python --enable-shared
     333}}}
     334
     335Now hand-edit the Makefile to remove `runtest$(EXEEXT)` and `testrecurse$(EXEEXT)` from the `noinst_PROGRAMS` variable, e.g.
     336
     337{{{
     338noinst_PROGRAMS = testSchemas$(EXEEXT) testRelax$(EXEEXT) \
     339        testSAX$(EXEEXT) testHTML$(EXEEXT) testXPath$(EXEEXT) \
     340        testURI$(EXEEXT) testThreads$(EXEEXT) testC14N$(EXEEXT) \
     341        testAutomata$(EXEEXT) testRegexp$(EXEEXT) testReader$(EXEEXT) \
     342        testapi$(EXEEXT) testModule$(EXEEXT) \
     343        runsuite$(EXEEXT) testchar$(EXEEXT) testdict$(EXEEXT) \
     344        runxmlconf$(EXEEXT)
     345}}}
     346
     347Finally, execute the following commands to compile the package:
     348
     349{{{
     350$ make
     351$ make install
     352}}}
     353
    316354=== Building the game ===
    317355The native library (i.e. the actual game) is built using the standard Premake build system as follows.