Strict Standards: Redefining already defined constructor for class wpdb in /www/htdocs/w006f36b/wp-includes/wp-db.php on line 49

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w006f36b/wp-includes/cache.php on line 35

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /www/htdocs/w006f36b/wp-includes/cache.php on line 400

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 534

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 534

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 534

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 534

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 553

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 649

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 649

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 649

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 649

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el($output) in /www/htdocs/w006f36b/wp-includes/classes.php on line 674

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w006f36b/wp-includes/query.php on line 15

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w006f36b/wp-includes/theme.php on line 505
MauriceK, caught between dev and drums » Building Haiku on Windows, Step by Step

July 24, 2008

Building Haiku on Windows, Step by Step

Category: Development, Haiku — kaldor @ 12:23 am

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 83

Uhm… this topic sounds familiar, right? But wait, Windows? Yup, so far it was only possible to build Haiku from R5, Linux, FreeBSD, MacOS and sometimes (though these times seem to increase lately) Haiku itself. Karsten and I put some effort in the buildsystem and some other parts of the repository to get Haiku compiling from a Cygwin environment on Windows.

First some notes of what you need to take care about, before you start:

  • You need lots of packages from the Cygwin installer to have Haiku successfully build. Unfortunately I was too lazy and installed a complete package. Thus I suggest you to do the same.
  • On Windows Vista be sure to have the command prompt open as Administrator. Otherwise many operations will fail, you cannot even call ‘ping’ without needing admin rights.
  • Be sure to not have any special characters in your PATH environment like ‘(’ or such. Also spaces inside the path names are invalid on cygwin. Change your environment accordingly.
  • This will only create images for you, you cannot use it to create/update real partitions on your hard-drive.

Ok, after you have taken care of all above points, let us start.

1. Before you are able to checkout the source code, you will need a managed drive. Read here for further details, basically it is to have a case sensitive filesystem on Cygwin. Otherwise the compiler will horribly fail eg. Including string.h and String.h.

mkdir /managed-dir
mount -o managed c:/cygwin/managed-dir /managed-dir
cd /managed-dir/

2. Create the Haiku development directories and get the Haiku built tools source:

mkdir develop
cd develop
mkdir haiku
cd haiku
svn checkout svn://svn.berlios.de/haiku/buildtools/trunk buildtools

3. We will need to patch fileunix.c of jam inside the buildtools directory:

cd buildtools/jam

Index: fileunix.c
===================================================================
--- fileunix.c  (revision 26383)
+++ fileunix.c  (working copy)
@@ -57,6 +57,7 @@
 # include 
 # define STRUCT_DIRENT struct dirent
 # endif
+#include < unistd.h >

 # ifdef OS_COHERENT
 # include 

Note: Some might have seen that the jam Makefile/Jambase have a Cygwin option. Do not use these! The problem is that jam passes -D__cygwin__ to each target. This will break latest, when some 3rd party libraries are supposed to be build, which actually have Cygwin checks included.

4. Now build jam

make
./jam0 install
cd ../..

5. Get the Haiku source (this will take a while): For anonymous check-out:

svn checkout http://svn.berlios.de/svnroot/repos/haiku/haiku/trunk trunk

For an existing Haiku developer:

svn checkout https://developername@svn.berlios.de/svnroot/repos/haiku/haiku/trunk trunk

If there are any errors when checking out above, just cd into the trunk directory and type “svn up” to get any missed files. This also applies when updating the code in the future.

6. Build the cross compiler tool (GCC 4.x):

cd /managed-dir/develop/haiku/trunk
./configure  --build-cross-tools-gcc4 x86 ../buildtools/

Note: This only works with the GCC4 compiler. The GCC2 cross-compiler is generated in a wrong way and the build is broken for this version. Hybrid systems are untested so far.

7. Build the Haiku image:

jam haiku-image

To build for testing in VMWare:

jam haiku-vmware-image

As you can see, most of the steps are identical to the Ubuntu tutorial. The changes needed were more or less minimal, mostly related to minor things not working properly for the host tools. Finally, I’d like to mention that building Haiku takes much longer compared to Linux. My guess is that this is related to gcc being slower and also forking processes takes much longer on the Windows platform. But this is just a personal impression. By the way, you can also use multiple jobs to create the image with the -jx option, where x describes the amount of parallel jobs to run.

Update 1: Changed environment suggestions. You must not have spaces or special characters in your PATH variable

Update 2: Updated note that gcc2 is not supported.

16 Comments »


  1. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    I have a short list of the packages required to build haiku from cygwin. I’ll email it to you. I got as far as “jam haiku-image” which failed to link on some of the host tools - so if any packages are required beyond that point, I likely didn’t have them in my list.

    Comment by umccullough — July 24, 2008 @ 1:08 am


  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    I followed your instructions, but besides not needing to patch jam, I get this error after a while.
    Any idea ?

    MkDir1 generated/objects/haiku/x86/common/tools/makebootable/platform/bios_ia32

    CreateAttributeMetaFile generated/objects/haiku/x86/common/tools/makebootable/platform/bios_ia32/makebootable-attr-BootCode-raw-1
    Link generated/objects/cygwin/x86/release/tools/makebootable/platform/bios_ia32/
    makebootable
    Chmod1 generated/objects/cygwin/x86/release/tools/makebootable/platform/bios_ia3
    2/makebootable
    CygwinExtensionFix generated/objects/cygwin/x86/release/tools/makebootable/platf
    orm/bios_ia32/makebootable
    AddFileDataAttribute1 generated/objects/cygwin/x86/release/tools/makebootable/pl
    atform/bios_ia32/makebootable

    export PATH=$PATH:generated/objects/cygwin/lib
    generated/objects/cygwin/x86/release/tools/addattr/addattr -f src/system/boot/platform/bios_ia32/stage1.bin `cat generated/objects/haiku/x86/common/tools/makebootable/platform/bios_ia32/makebootable-attr-BootCode-raw-1` generated/objects/cygwin/x86/release/tools/makebootable/platform/bios_ia32/makebootable

    …failed AddFileDataAttribute1 generated/objects/cygwin/x86/release/tools/makebootable/platform/bios_ia32/makebootable…
    …removing generated/objects/cygwin/x86/release/tools/makebootable/platform/bios_ia32/makebootable
    …skipped haiku.image-init-vars for lack of makebootable…

    Comment by JackBurton — July 25, 2008 @ 8:41 am


  3. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    Forgot to say this is a gcc2.95 build.

    Oh, and thanks for your achievement :)

    Comment by JackBurton — July 25, 2008 @ 8:48 am


  4. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    As mentiones above, the jam patch is not needed to get it compiling. The problem is that Cygwin uses a different lseek, which is broken in the case it is used for building Haiku. Thus you will need to include unistd.h, because otherwise jam cannot check dependencies and will try to rebuild everything each time you call jam.

    Secondly, gcc2.95 is untested so far, as I usually use the gcc4 build. If I have some spare time this weekend, I’ll take a look myself.

    Thx for the input.

    Maurice

    Comment by kaldor — July 25, 2008 @ 9:57 am


  5. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    Is this guide going to be published at haiku-os.org ? Nice work! Although I don’t use windows. ;-)

    Comment by emitrax — July 25, 2008 @ 10:23 am


  6. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    Haven’t thought about this so far, maybe when it’s working for gcc2 etc as well…

    Comment by kaldor — July 25, 2008 @ 10:30 am


  7. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    Tried to build libroot.so… basically what seems to fail is the step which should add attributes to the file:

    export PATH=$PATH:generated/objects/cygwin/lib
    generated/objects/cygwin/x86/release/tools/settype -t application/x-vnd.Be-elfexecutable “generated/objects/haiku/x86/release/system/libroot/libroot.so” ;

    …failed SetType1 generated/objects/haiku/x86/release/system/libroot/libroot.so

    Comment by JackBurton — July 25, 2008 @ 10:47 am


  8. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    Is that gcc2 as well? We’ve tested it on multiple machines now with a gcc4 build and that seems to work fine.
    Are any other errors printed before? Are you building multiple jobs in parallel?

    Comment by kaldor — July 27, 2008 @ 12:52 pm


  9. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    @JackBurton: Sorry for the quick reply, didn’t recognize that it is actually a gcc2 build. I am playing around with it currently and yes, the Haiku does not compile on Cygwin for some weird reasons. What I have seen so far is that add-ons cause problems here, actually I get a different error than you, but that might be related to dependencies resolved in a different order.

    I’ll look later into this, thx for testing.

    Maurice

    Comment by kaldor — July 27, 2008 @ 2:04 pm


  10. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    […] MauriceK published a tutorial on how to set up an Haiku build environment on the Windows platform. Step by steps instructions can be followed here. […]

    Pingback by BeOSNews.com » Quick updates — July 28, 2008 @ 3:07 pm


  11. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    I tried again, removing the whole “generated” directory, and rebuilding the cross tools. This time it went further, so I suspect it might be a memory issue, or a cygwin issue. Now it failed at a point where it didn’t find the pci busmanager. I had to rename it manually from pci.exe to pci. Same thing for the ps2 busmanager. Maybe the cygwin extension fix isn’t working everywhere ?

    Error: Failed to open file “generated/objects/haiku/x86/release/add-ons/kernel/bus_managers/ps2/ps2″: No such file or directory

    Comment by JackBurton — July 29, 2008 @ 2:04 pm


  12. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    Yes I recognized the same. The problem is, that this should not have an extension at all, as this is the kernel addon for haiku, which gets build with the gcc _crosscompiler_. That means, that in the gcc2 case the flag to add the .exe extension is set for some weird reason.

    In case someone with knowledge on the gcc2 compiler build system could dig into it, as I won’t have time currently.

    gcc4 builds are still working fine on a sidenote ;)

    Comment by kaldor — July 29, 2008 @ 2:45 pm


  13. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    Was able to try a gcc4 build. Goes on till the end, but then I get this error when it tries to build the image:

    build/scripts/build_haiku_image: line 43: export: `Studio/bin:/cygdrive/c/Documents’: not a valid identifier
    build/scripts/build_haiku_image: line 43: export: `Settings/All’: not a valid identifier
    build/scripts/build_haiku_image: line 43: export: `Users/Documenti/RAD’: not a valid identifier
    build/scripts/build_haiku_image: line 43: export: `Studio/5.0/Bpl:/cygdrive/c/Programmi/Borland/Delphi7/Bin:/cygdrive/c/Programmi/Borland/Delphi7/Projects/Bpl/:
    /cygdrive/c/oracle/ora92/bin:/cygdrive/c/Programmi/Oracle/jre/1.3.1/bin:/cygdriv
    e/c/Programmi/Oracle/jre/1.1.8/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WIND
    OWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program’: not a valid identifier
    build/scripts/build_haiku_image: line 43: export: `Files/Borland/CaliberRM’: not a valid identifier
    build/scripts/build_haiku_image: line 43: export: `2005′: not a valid identifier
    build/scripts/build_haiku_image: line 43: export: `R2/lib:/cygdrive/c/Programmi/
    QuickTime/QTSystem/:/cygdrive/c/Programmi/Subversion/bin:/cygdrive/c/RAD’: not a valid identifier
    build/scripts/build_haiku_image: line 43: export: `Studio/5.0/Bpl:generated/objects/cygwin/lib’: not a valid identifier

    I guess the build system doesn’t like some of the directories I have in my PATH, since they contain spaces. How did you solve this ?

    Comment by JackBurton — July 31, 2008 @ 8:21 am


  14. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    Seems like I should skip to recommend to not use spaces. I mostly recognized issues because of the ‘(’ and then removed all paths with spaces from my environment as well.

    So what I simply do is, I have a script which sets my environment in a way that Haiku builds for the gcc4. It doesn’t need much, mostly the cygwin paths. You can use typical unix way (export PATH=….) for this.

    Comment by kaldor — July 31, 2008 @ 2:19 pm


  15. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    found it.. thanks

    Comment by Antiq — February 10, 2009 @ 11:13 pm


  16. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/w006f36b/wp-includes/formatting.php on line 76

    I had my build fail with this error…

    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../../i586-pc-haiku/sys-include/os/support/string.h:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BString’
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../../i586-pc-haiku/sys-include/os/support/string.h:268: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ” token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:272: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘>=’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:273: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘!=’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:277: error: expected ‘;’, ‘,’ or ‘)’ befor
    e ‘&’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:278: error: expected ‘;’, ‘,’ or ‘)’ befor
    e ‘&’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:279: error: expected ‘;’, ‘,’ or ‘)’ befor
    e ‘*’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:280: error: expected ‘;’, ‘,’ or ‘)’ befor
    e ‘*’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:284: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:293: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:301: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘&’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:309: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:316: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:324: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘&’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:332: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘&’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:340: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘&’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:348: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:355: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:362: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:369: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:376: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:383: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:390: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘:’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:397: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ” token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:425: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘>=’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:432: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘!=’ token
    /cygdrive/c/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.3.3/../../../
    ../i586-pc-haiku/sys-include/os/support/string.h:441: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
    or ‘__attribute__’ before ‘BStringRef’

    make[2]: *** [_muldi3.o] Error 1
    make[2]: Leaving directory `/cygdrive/c/develop/haiku/trunk/generated/cross-tools-build/gcc/i586-pc-haiku/libgcc’
    make[1]: *** [all-target-libgcc] Error 2
    make[1]: Leaving directory `/cygdrive/c/develop/haiku/trunk/generated/cross-tools-build/gcc’
    make: *** [all] Error 2
    ERROR: Building gcc failed.

    Since I’m new to using cygwin, just installed it yesterday. I’m not sure if it’s my install or not, but I was sure to install almost everything.

    If it has something to do with my path= setup, I’m not sure if you’re talking about cygwin’s path, or window’s path. If it’s cygwin’s, how do I check it and set it up.

    Sorry for the long post, but I figured it’s be better to have a complete error message.

    Comment by Slaytanic — February 13, 2009 @ 8:14 am

RSS feed for comments on this post. | TrackBack URI

Leave a comment

XHTML ( You can use these tags):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .