Difference between revisions of "Qtopia platform howto"

From Gumstix User Wiki
Jump to: navigation, search
Line 1: Line 1:
download and unpack
 
  
 +
we need qtopia to find the compiler (symlinks & path)
  
   $ wget ftp://ftp.trolltech.com/qtopia/source/qtopia-opensource-src-4.3.1.tar.gz
+
   $ cd path-to/gumstix-oe/tmp/cross/bin ; for f in arm-angstrom-linux-gnueabi-*; do n=$(echo $f|cut -b 28-); ln -s $f arm-linux-$n; done
  $ tar xfzv qtopia-opensource-src-4.3.1.tar.gz ; cd qtopia-opensource-4.3.1/
+
  $ PATH=$PATH:path-to/gumstix-oe/tmp/cross/bin/ ; export PATH
  
  
 +
download and unpack
  
we need qtopia to find the compiler
+
   $ 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
 
+
   $ 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, make and make install
  
+
  $ mkdir qtopia-platform ; cd qtopia-platform
   $ ./configure -separate-debug-info -little-endian -edition platform -xplatform arm -arch arm -prefix /qtopia ; make ; make install
+
   $ ../qtopia-opensource-4.3.1/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 11:13, 19 February 2008

we need qtopia to find the compiler (symlinks & path)

 $ cd path-to/gumstix-oe/tmp/cross/bin ; for f in arm-angstrom-linux-gnueabi-*; do n=$(echo $f|cut -b 28-); ln -s $f arm-linux-$n; done
 $ PATH=$PATH:path-to/gumstix-oe/tmp/cross/bin/ ; export PATH


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


configure, make and make install

 $ mkdir qtopia-platform ; cd qtopia-platform
 $ ../qtopia-opensource-4.3.1/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: $ tar xvf qtopia-platform.tar -C /mnt/cf/qtopia ; ln -s /mnt/cf/qtopia/ /qtopia