Difference between revisions of "Haiku specific Release Engineering"

From Lazarus wiki
Jump to navigationJump to search
Line 1: Line 1:
 
Haiku is unix like enough to use the Freepascal's unix scripts to generate a binary distribution.
 
Haiku is unix like enough to use the Freepascal's unix scripts to generate a binary distribution.
 +
 +
==== Getting fpcbuild repository ====
 +
 +
Get sources, download the fpcbuild from ftp and extract it or use a command like:
 +
 +
  svn export http://svn.freepascal.org/svn/fpcbuild/tags/release_2_0_2 fpcbuild
  
 
==== Getting binaries for debugging support in the IDE ====
 
==== Getting binaries for debugging support in the IDE ====
Line 16: Line 22:
  
 
* '''libgcc.a''' in /boot/develop/abi/x86/gcc2/tools/gcc-2.95.3-haiku-081024/lib/gcc-lib/i586-pc-haiku/2.95.3-haiku-081024 (you may have to adapt the path to the installed gcc version  on your machine).
 
* '''libgcc.a''' in /boot/develop/abi/x86/gcc2/tools/gcc-2.95.3-haiku-081024/lib/gcc-lib/i586-pc-haiku/2.95.3-haiku-081024 (you may have to adapt the path to the installed gcc version  on your machine).
 +
 +
==== Getting documentation ====
 +
 +
Get the most recent docs package from the ftp site, it's called  docs-pdf.tar.gz and copy it into the <tt>fpcbuild/</tt> directory.

Revision as of 01:42, 10 December 2009

Haiku is unix like enough to use the Freepascal's unix scripts to generate a binary distribution.

Getting fpcbuild repository

Get sources, download the fpcbuild from ftp and extract it or use a command like:

 svn export http://svn.freepascal.org/svn/fpcbuild/tags/release_2_0_2 fpcbuild

Getting binaries for debugging support in the IDE

While you can compile gdb on your own, the easiest way (by far) under Haiku is to build Haiku yourself.

Then, you can collect all the needed files in the build tree :

  • libgdb.a in generated/objects/haiku/x86/release/bin/gdb/gdb
  • libbfd.a in generated/objects/haiku/x86/release/bin/gdb/bfd
  • libiberty.a in generated/objects/haiku/x86/release/bin/gdb/libiberty
  • libopcodes.a in generated/objects/haiku/x86/release/bin/gdb/opcodes
  • libreadline.a in generated/objects/haiku/x86/release/bin/gdb/readline
  • libintl.a in generated/objects/haiku/x86/release/bin/gawk/intl/
  • libgcc.a in /boot/develop/abi/x86/gcc2/tools/gcc-2.95.3-haiku-081024/lib/gcc-lib/i586-pc-haiku/2.95.3-haiku-081024 (you may have to adapt the path to the installed gcc version on your machine).

Getting documentation

Get the most recent docs package from the ftp site, it's called docs-pdf.tar.gz and copy it into the fpcbuild/ directory.