Changes between Version 9 and Version 10 of PortingTips
- Timestamp:
- 08/19/08 16:30:20 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortingTips
v9 v10 21 21 to 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). 22 22 23 Most software cannot handle {{{i586-pc-haiku}}} yet, so it is usually necessary to {{{configure}}} with {{{--build=i586-pc-beos}}}. 23 Most 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 }}} 28 Where . 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 }}} 35 Which "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. 24 36 25 37 === gcc 4.x === … … 47 59 48 60 Many 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 }}} 52 66 Where x.x.x is the rev of the package, and # is the portlog revision, which will usually be 1.
