HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 9 and Version 10 of PortingTips


Ignore:
Timestamp:
08/19/08 16:30:20 (7 years ago)
Author:
scottmc
Comment:

Added info about cp config.guess and config.sub files

Legend:

Unmodified
Added
Removed
Modified
  • PortingTips

    v9 v10  
    2121to your {{{build/jam/UserBuildConfig}}} file. This sets up a development environment and unzips a small tree of ready-to-use binary tools onto your image, including a Haiku-specific gcc2, [wiki:dev-lang/perl Perl] and autotools. Other helpful packages are {{{OpenSSL}}} and the {{{Pe}}} text editor (which allows you to jump to the line of an error message) and {{{Firefox}}} (which allows you to copy-and-paste console output to our Wiki pages). 
    2222 
    23 Most software cannot handle {{{i586-pc-haiku}}} yet, so it is usually necessary to {{{configure}}} with {{{--build=i586-pc-beos}}}. 
     23Most software cannot handle {{{i586-pc-haiku}}} yet, so it is usually necessary to {{{configure}}} with {{{--build=i586-pc-beos}}}, or you can: 
     24{{{ 
     25 cp /boot/home/config/share/libtool/config.guess . 
     26 cp /boot/home/config/share/libtool/config.sub . 
     27}}} 
     28Where . is the package root folder, or the folder in which the package has outdated config.guess and/or config.sub files.  If trying to build static and shared libraries, you may also need to run: 
     29{{{ 
     30 libtoolize --force --copy 
     31 aclocal 
     32 automake 
     33 autoconf 
     34}}} 
     35Which "should" force the Haiku  cases into your configure file.  You might have to use other options to get aclocal/automake/autoconf to do this successfully. 
    2436 
    2537=== gcc 4.x === 
    … …  
    4759 
    4860Many packages have an option to do a "make install", in many of those cases you can use:[[BR]] 
    49  * make install DESTDIR=/boot/foo 
    50  * cd /boot/foo/boot 
    51  * zip -ry9 foo-x.x.x-haiku-#.zip * 
     61{{{ 
     62 make install DESTDIR=/boot/foo 
     63 cd /boot/foo/boot 
     64 zip -ry9 foo-x.x.x-haiku-#.zip * 
     65}}} 
    5266Where x.x.x is the rev of the package, and # is the portlog revision, which will usually be 1. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/