[haiku-bugs] [Haiku] #12666: Build Haiku on Windows Cygwin

  • From: "IMadering" <trac@xxxxxxxxxxxx>
  • Date: Tue, 01 Mar 2016 22:15:01 -0000

#12666: Build Haiku on Windows Cygwin
-----------------------+------------------------------
 Reporter:  IMadering  |        Owner:  nobody
     Type:  bug        |       Status:  new
 Priority:  low        |    Milestone:
Component:  - General  |      Version:  R1/Development
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 Hi All. I'm trying to compile a haiku on windows using cygwin.
 Compiling buildtools ends well, but only for the x86 architecture.
 Compiling buildtools x86_gcc2 architecture results in an error:
 http://i.imgur.com/gMUFYZ5.png

 Please help build haiku on cygwin!
 I have seen that it is possible in this video from your site:
 https://www.youtube.com/watch?v=TQo-NuxEj9I

 Markus Himmel demonstrates the Haiku build in cygwin!

 My cygwin settings and installed packages:
    gcc-g++
    make
    bison
    flex
    texinfo
    autoconf
    automake
    gawk
    nasm
    wget
    zip
    unzip
    curl
    curl-devel
    zlib
    zlib-devel
    genisoimage
    libtool

 Activate Case Sensitive:
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
 Manager\kernel]
 "obcaseinsensitive"=dword:00000000

 git clone https://git.haiku-os.org/buildtools

 cd buildtools/jam
 make
 ./jam0 install

 git clone https://git.haiku-os.org/haiku

 cd haiku
 mkdir generated-x86
 cd generated-x86
 ../configure -j1 --distro-compatibility official --use-gcc-pipe --build-
 cross-tools x86 ../../buildtools/

 Build buildtools successful!

 \cygwin\home\user\haiku\src\build\libsolv\Jamfile: Please add a case for
 your platform (cygwin)!

 I Add:
 case cygwin :
       DEFINES += HAVE_FUNOPEN ;

 \cygwin\home\user\haiku\build\jam\MainBuildRules
 #CygwinExtensionFix $(target) ;

 jam -q -j1 -sHAIKU_IMAGE_SIZE=900 @nightly-anyboot

 Haiku x86 Compilation ends with this error:
 http://i.imgur.com/DIE2mxv.png

--
Ticket URL: <https://dev.haiku-os.org/ticket/12666>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: