Please support our sponsors!
This service provided by BeBits: The Best Source of BeOS Software!
PortingToBeOS
BeBits > TableOfContents > DeveloperArea
You've decided to port an app to BeOS. Good for you. Here are some tips on porting.

  1. Make sure someone hasn't already ported it. (yeah I know it's some obscure software....)
    1. Check bebits.
    2. Check GeekGadgets, especially for unix-type command line apps.
    3. Check Google.
    4. Look in the archives for a mailing list for development for the particular app.
    5. Look on BeShare.
  2. Make sure you are using an appropriate compiler/tools for your program.
    1. Read the website for your app to find out what tools and versions you will need.
    2. Download tools from the web site for the particular app.
    3. Download tools on BeShare.
    4. Download tools from BeBits' Development Section.
    5. Download the up-to-date and stable compiler gnupro-000224-bin.tgz from geekgadgets.
    6. -or- If using MMX or other processor enhancements, download the not-quite-so-stable-but-has-MMX build from here on bebits.
  3. Make sure you have all the libraries that you need.
    1. Read the website for your app to find out what libraries and versions you will need.
    2. Download libraries from the web site for the particular app.
    3. Download the library binary from the web site for the library. (web site is usually more up to date than bebits)
    4. -also- Check BeShare for libraries.
    5. -also- Check BeBits' Development Section for libraries. Some useful libraries follow:
      • libdl.so - a library for dynamic linking. if your app has -ldl in the compilation, you can try this lib.
    6. Download the sources for the library, and it's time to port the library! Start over at step 1. :-)
  4. Try to build it! Usually for most apps the process goes something like this:
    1. ./configure --prefix=/boot/home/config
    2. make
    3. make install
  5. It didn't build... put those programming skills to work.
    1. Check out these possible ProblemsBuildingSharedLibraries.
    2. Talk to people on BeShare.
    3. Talk to the original developers.
    4. Look for help on Google Groups or the newsgroups.
  6. It built!
    1. Test the application
    2. Give feedback to the application's original authors.
      1. Include diffs required for the port. Try not to break anything. :-)
      2. Notify them of any issues. (perhaps part did not build, for example)
    3. Write up a small description of how you built it
    4. Package it for other users
    5. Post it to bebits!

shatty!


PAGE VISITS
2,791

LINKS HERE
IndexPage
TableOfContents
ProgrammingInfo

NEW PAGES
BuildingCairo
StoringDataInBetweenOSes
ScriptingBeosRuby
ScriptingBeosPython
HaikuOS
QemUwinbe
MinimalBeos
XpMBRoverwrite
SteveSakoman
MailingLists

RECENT CHANGES
BuildingCairo
BeCommunity
BuildingFirebird
PlayGround
CorumIII
BeAcademic
SupportForMachinesAndArchitectures
BeOsReleases
HowTo
HaikuOS
Edit Page | Front Page | BeBits
Site content is in the public domain. Unless otherwise noted, everything else is copyright © 1999-2002 Fifth Ace Productions, LLC. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.
Fifth Ace Productions