* created explicit micro-documentation-file that describes how to build a cross

compiler for haiku on LINUX.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@18629 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2006-08-26 12:15:54 +00:00
parent 61e8e0f75c
commit 3b858bf0a8

View File

@ -0,0 +1,20 @@
How to create a cross-compiler on LINUX (or any other supported build platform)
for haiku (information is copied from haiku's README):
Please chdir into haiku's base directory (the one where Jamrules and README live).
If you want to build the default (legacy, 2.95.3) gcc, do this:
$ ./configure --build-cross-tools ../buildtools
One of the last output lines should tell you that the tools have been built
successfully.
If you're not interested in binary compatibility (or want to build for the PowerPC architecture), you can build gcc4 instead by doing this:
$ ./configure --build-cross-tools-gcc4 <arch> ../buildtools
Replace "<arch>" with either "x86" or "ppc", depending on which of the two
architectures you want to build for.