Code Monkey home page Code Monkey logo

ithamar / haiku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haiku/haiku

0.0 2.0 0.0 323.3 MB

General Haiku working space, for more about Haiku, see:

Home Page: http://dev.haiku-os.org

C 49.21% C++ 48.80% Python 0.02% Shell 0.48% Perl 0.04% Makefile 0.29% Objective-C 0.05% Scheme 0.01% HTML 0.24% Assembly 0.45% Awk 0.02% Bison 0.14% ApacheConf 0.01% Logos 0.01% TeX 0.14% Java 0.07% PHP 0.01% Tcl 0.01% PostScript 0.01% JavaScript 0.01%

haiku's Introduction

Cosmoe

This branch represents a continuation of the old cosmoe project, which was an effort to get the Haiku userland running on a MacOS X / BSD / Linux base system, using X-Windows, framebuffer or SDL as displaying surface.

This last code released by the original project can be found on the URL above, and a version made building again on Ubuntu @ Ithamar/cosmoe.

Cosmoe-ng

Although the old project used their own source tree, their own build system, etc, this time around I am branching a normal Haiku tree and making as little modifications to the core code as possble. This to prevent (as the original Cosmoe did) to get stuck at an old code drop for too long. Luckily, the Haiku code has improved a lot, is mostly 64-bit clean, and very portable (given a couple of GCC-isms being used).

Plese note that nothing from the cosmoe branch will go upstream as-is. It is meant as an experiment, and will need major surgery before being able to be upstreamed, if at all.

Build setup

As mainline Haiku already builds a very minimal Haiku API for the host, to be able to build some Haiku-specific build tools, I have decided this time to reuse that setup and build more of the Haiku components this way. This means I have very little build system hacking to do. However, looking at what I have done so far, I suspect I will move to making the 'host' build a proper target, reducing the amount of Jamfile changes I would need to make even further, and allowing a cleaner way of handling required libraries on the host.

For now, this is roughly the procedure I use to build:

./configure --host-only --target=host
jam -q <build>app_server

This ofcourse assumes you have the Haiku version of jam already installed on your host. The buildtools repository from Haiku is not needed in this setup.

Please note that at the time of this writing, the following libraries should be installed on the host (with the appropriate -dev packages ofcourse!):

icu4c freetype z

More will be required further along the line, for now this is enough.

Stubs

In the initial state, all of the OS.h functions and kernel syscall functions are stubbed out. The trick will be to get as many of these implemented properly, borrowing from the original Cosmoe code, the fsh Haiku code, and ofcourse writing new code for them as well. Again, patches welcome!

Stubs are mostly located in syscalls.cpp and libroot.

haiku's People

Contributors

aejsmith avatar aldeck avatar anevilyak avatar axeld avatar dlmcpaul avatar ithamar avatar jackburton79 avatar jscipione avatar kallisti5 avatar kirilla avatar korli avatar laplace7 avatar leavengood avatar m6100 avatar mmadia avatar mmlr avatar mmuman avatar nielx avatar olta avatar pdziepak avatar phoudoin avatar pulkomandy avatar rudolfc avatar scottmc avatar siarzhuk avatar stippi avatar stpere avatar urnenfeld avatar weinhold avatar yourpalal avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.