HelenOS is build with Meson/Ninja.
When you build HelenOS, you:
-create to toolchain (gcc 8) to compile HelenOS
-create a build directory (HelenOS-build which will contain Meson files)
-inside HelenOS-build, you create amd64, for the files that will be build
- when, from amd64: you "../../HelenOS/configure.sh amd64", Meson files (that
are shared for every 'host' (Try avoid calling it target) architectures),
are build inside .. (HelenOS-build directory)
By default, the Meson project seems to be configured with warning-level 3.
There is 4 levels, 0 being no messages, 3 being pedantic level.
Well, even in level 2, I see no messages at all...
But in level 3 (which seems the default)... not only there is tons of warnings,
but the compiler treats some things like errors that it would not in other
levels.
[even if Werror is disabled]
So I discovered that in level 2 (or 1 or 0)... compilation of HelenOS proceed
without errors.
To change the warning level... (from amd64 directory):
meson -h [will give you help on meson commands ]
meson configure -h [will show help on configuring your project]
meson configure [will show you the current configuration of the project]
meson --warnlevel 2 [would set the warning level to a sane level]
or the generic way (for most options):
meson configure -D warning_level=2
an other example:
meson configure -D debug=false -D warning_level=1 [you have to repeat -D for
each!]
And this about it... after that
ninja [should compile the project for an amd64 architecture]
ninja image_path [should build image.iso file in the directory]
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel