Opened 9 years ago
Closed 6 years ago
#12666 closed bug (invalid)
Build Haiku on Windows Cygwin
Reported by: | IMadering | Owned by: | nobody |
---|---|---|---|
Priority: | low | Milestone: | Unscheduled |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
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
Change History (4)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
You can eventually provide headers for your host platform in http://cgit.haiku-os.org/haiku/tree/headers/build/host/cygwin.
comment:3 by , 6 years ago
Component: | - General → Build System |
---|---|
Milestone: | → Unscheduled |
Status: | new → assigned |
comment:4 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Cygwin support has been dropped in favor of WSL. "Native" host-only Windows builds can be partially done in MinGW now also; but this is incomplete and probably will remain so for some time.
Building from Cygwin is not officially supported. The supported platforms are Haiku, FreeBSD, Linux and Mac OS X. It would be nice to add Cygwin to the list, but you will be a bit on your own on finding and fixing the problems.