Your browser does not support JavaScript! TN004
QuantumSTEP     Digital Tools for Independent People.
A Handheld OS by Golden Delicious Computers
Not logged in. News | About | FAQ | Forum | Support | Downloads | Developer Community | Opportunities | Investments

Universal package for
  • Asus eeePC
  • Debian Etch PC (x86 and mipsel)
  • Letux n30, Letux 380, Letux 400
  • Nokia 770, 800, 810
  • Openmoko Neo1973, Freerunner
  • Sharp Zaurus (Sharp ROM)
News
Shown at SYSTEMS 2008
FlexiSheet added
Shown at LinuxTag 2008
CoreData added
SimpleWebKit became part of GNUstep
Shown at FOSDEM 2008
About
Benefits
Datasheet
Description
Features
Future
History
Partners
Presentations
Screenshots
Test Drive
Testimonials
Versions
Videos
Support
Applications
Contact
Developer Releases
Documentation
Donations
FAQ
Forum
Getting Started
Hardware Support
Impressum
Investments
Trademarks

TN004 - How to use the Zaurus-X-gcc cross compiler

See also: TN005 for a full tutorial
  1. make sure to have Xcode and Apple X11 including the X11 SDK installed on your development MacOS X 10.3 machine
  2. install the compiler package and the mySTEP SDK
  3. open the Xcode project you want to port
  4. select the intended target in the Targets group
  5. select from the menu Build/New Build Phase/New Shell Script Build Phase
  6. select the "Shell Script Files" phase in the target
  7. open the information (i) or (Apple-I)
  8. copy the following code into the "Script" area
    export SOURCES=*.m                  # all source codes
    export LIBS=                        # add any additional -lAddressBook etc.
    export STRIP MacOS=false            # set to true if you want a Linux-ARM only bundle
    export INSTALL=true                 # true will try to install on the Zaurus (using ssh)
    export INSTALL PATH=/Applications   # override INSTALL PATH for MacOS X for the Zaurus
    export RUN=true                     # true will try to run with mySTEP/myPDA on the Zaurus and X11
                                        # on MacOS (using ssh through USB with address 192.168.129.201)
    /usr/bin/make -f $SYSTEM DEVELOPER DIR/Zaurus-X-gcc/SDKs/mySTEP.sdk/usr/mySTEP/etc/cross-makefile $ACTION
    
  9. change the SRC= line to include all required source files (e.g. "main.m other/*.m")
  10. change the LIBS= line to add any non-standard libraries (e.g. "-lAddressBook -lPreferencePane -lWebKit")
  11. Build the project (either in deployment or development mode - that affects only the MacOS version)
  12. If it does not compile, your project might be using classes or methods that are not (yet) available on mySTEP. Note, that there is no Carbon or Core Foundation support!
News
Latest News.
Buy Hardware
The Handheld-Linux Shop
Top 10 of Software Index
Addresses (0.2083)
SimpleWebKit.framework (0.2083)
loginwindow (0.1667)
myInk (0.1667)
Navigator (0.1667)
Test Drive (0.1667)
Dictionary (0.1250)
dtm2xml (0.1250)
mySTEP (0.1250)
Text (0.1250)
Forum
Please visit the Forum for discussions and Announcements.

Google Groups
join quantumstep-discuss
E-Mail:
Visit this group
Developer Community
Architecture
Bug Reports
Change History
Compiler (free download!)
Downloads
Membership
Opportunities
Philosophy
SDK (free download!)
Sources Browse a Snapshot
Technical Notes
Tutorials
Links
www.goldelico.com
www.gnustep.org
www.openmoko.org
home.pcmagic.net/far
www.macrumors.com
www.handheld-linux.com
www.zaurususergroup.org

This page: [New] | [Edit] | [Admin] | Version: 2005-05-31 11:31:17 | Views: 50020
Impressum | Contact | service@quantum-step.com
Copyright© Golden Delicious Computers 2004-2009. All rights reserved. 21 May 2013.