HowTos/Native Development
From OpenZaurus
Contents |
Native (that is on the Zaurus) Development
The package list came from Koen's page about natively compiling OOo: http://dominion.kabel.utwente.nl/koen/cms/building-ooo-natively
I've not tried this yet, please add/remove libraries and make changes where necessary. In particular in the breakdown of tools and libraries required for development as I just did this quickly. Cheers, Lardman
Would people prefer the package listings to be copy & paste'able into a terminal window in one go (like Koen's page)? -lardman
Install packages
Required
- task-native-sdk
Might be useful to get anything to compile
- autoconf
- automake
- make
All will get installed when task-native-sdk will be installed.
If you want to install task-native-sdk to a location other than root make sure to install the following on your root:
- sed
- grep
- gawk
- libgcc-s-dev
these packages don't relocate well...sed and gawk are really bad, since installing them in another location breaks ipkg-link. (from: http://www.oesf.org/forums/index.php?showtopic=21625&view=findpost&p=144017)
Additional tools that some configure/make systems use
- flex
- flex-dev
- bison (doesn't seem to be working; see OE Bug #1423)
- gawk
- sed
- grep
- unzip
- zip
- patch
- patchutils
- diffstat
- diffutils
- findutils
Stuff for GPE/GTK+/X11 development
- libglib-2.0-dev
- gtk+-dev
- libatk-1.0-dev
- llibcairo-dev
- libfontconfig-dev
- libfreetype-dev
- libx11-dev
- libxaw-dev
- libxmu-dev
- xproto-dev
- libxt-dev
- libxau-dev
Other useful development libraries and header files
- linux-libc-headers-dev
- libjpeg-dev
- libz-dev
- libpam-dev
- libpcre-dev
- libpixman-dev
- libpng-dev
- libpng12-dev
- libxml2-dev
- libxrender-dev
- pango-dev
- pkgconfig-dev
- libxslt-utils
- gnome-vfs-dbus-dev
- libcurl-dev
Create additional symlinks
- ln /usr/lib/libz.so.1 /usr/lib/libz.so -sf
- ln -sf /usr/lib/libstdc\+\+.so.6 /usr/lib/libstdc\+\+.so
Run configure and make and get compiling!
Possibly like so:
./configure --host=arm-unknown-linux-gnu --target=arm-unknown-linux-gnu && make
This is it:
./configure --prefix=/usr && make

