Giter Club home page Giter Club logo

Comments (4)

ilelann avatar ilelann commented on July 22, 2024 1

I think you can't.
I'm currently trying to do exactly that, after being unable to follow the official doc, which failed during conan steps too.

My attempt is here https://github.com/ilelann/IncludeOS.
DISCLAIMER :
Don't hope anything.
Tests don't even link. It's probably totally broken.
I will shamelessly amend the commit during progress, until it has any value.

I replaced conan with CMake's FetchContent.
Doing so, you discover stuff like : includeOS relies on a patched s2n, which is totally hidden by prebuilt packages.
I do refer to personal forks of dependencies to fix compilation: you can see them in the top level CMake file.
And change as you see fit.

My two cents.

from includeos.

Qubasa avatar Qubasa commented on July 22, 2024 1

Yeeeeah... I think I will skip on using IncludeOS. I am following this blog https://os.phil-opp.com on how to implement your own x64 kernel in Rust I think that's the better approach :-)

from includeos.

ilelann avatar ilelann commented on July 22, 2024

Just in case someone else cares, a note on progress: https://github.com/ilelann/IncludeOS/tree/build_from_scratch
see commit msg for status, but basically:
clone, checkout build_from_scratch, open in CLion/QtCreator/etc (any CMake aware IDE, with clang toolchain), run tests => OK
(and to build it will download/build musl, llvm, gsl, etc. ... so be patient :) )

I will continue amending until I have anything bootable.
For now the only feat is that all tests are standalone executables.
(in other words, ldd will print "is not a dynamic executable").
And what I did with "_mockable"-suffixed libs is definitely dirty.
I will try to clean that, but previous CMake setup was arguable too, IMHO.

from includeos.

Qubasa avatar Qubasa commented on July 22, 2024

Cool, thanks for your work!
I would still really recommend to follow the blog, I have a working kernel right now and soon with async support
plus you learn so much more ;)

from includeos.

Related Issues (20)

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.