Difference between revisions of "Qtopia platform howto"
From Gumstix User Wiki
(New page: download and unpack $ wget ftp://ftp.trolltech.com/qtopia/source/qtopia-opensource-src-4.3.1.tar.gz $ tar xfzv qtopia-opensource-src-4.3.1.tar.gz ; cd qtopia-opensource-4.3.1/ we nee...) |
|||
Line 1: | Line 1: | ||
download and unpack | download and unpack | ||
+ | |||
$ wget ftp://ftp.trolltech.com/qtopia/source/qtopia-opensource-src-4.3.1.tar.gz | $ wget ftp://ftp.trolltech.com/qtopia/source/qtopia-opensource-src-4.3.1.tar.gz | ||
$ tar xfzv qtopia-opensource-src-4.3.1.tar.gz ; cd qtopia-opensource-4.3.1/ | $ tar xfzv qtopia-opensource-src-4.3.1.tar.gz ; cd qtopia-opensource-4.3.1/ | ||
+ | |||
+ | |||
we need qtopia to find the compiler | we need qtopia to find the compiler | ||
+ | |||
$ ln -s path-to/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ path-to/gumstix-oe/tmp/cross/bin/arm-linux-g++ | $ ln -s path-to/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ path-to/gumstix-oe/tmp/cross/bin/arm-linux-g++ | ||
$ PATH=$PATH:path-to/gumstix-oe/tmp/cross/bin/ ; export PATH | $ PATH=$PATH:path-to/gumstix-oe/tmp/cross/bin/ ; export PATH | ||
+ | |||
configure, make and make install | configure, make and make install | ||
+ | |||
$ ./configure -separate-debug-info -little-endian -edition platform -xplatform arm -arch arm -prefix /qtopia ; make ; make install | $ ./configure -separate-debug-info -little-endian -edition platform -xplatform arm -arch arm -prefix /qtopia ; make ; make install | ||
+ | |||
tar image and move it to gumstix | tar image and move it to gumstix | ||
+ | |||
$ tar cfv ~/qtopia-platform.tar /qtopia/image | $ tar cfv ~/qtopia-platform.tar /qtopia/image |
Revision as of 08:48, 18 February 2008
download and unpack
$ wget ftp://ftp.trolltech.com/qtopia/source/qtopia-opensource-src-4.3.1.tar.gz $ tar xfzv qtopia-opensource-src-4.3.1.tar.gz ; cd qtopia-opensource-4.3.1/
we need qtopia to find the compiler
$ ln -s path-to/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ path-to/gumstix-oe/tmp/cross/bin/arm-linux-g++ $ PATH=$PATH:path-to/gumstix-oe/tmp/cross/bin/ ; export PATH
configure, make and make install
$ ./configure -separate-debug-info -little-endian -edition platform -xplatform arm -arch arm -prefix /qtopia ; make ; make install
tar image and move it to gumstix
$ tar cfv ~/qtopia-platform.tar /qtopia/image
gumstix: $ mkdir /qtopia ; tar xfv qtopia-platform.tar -C /qtopia