[Orion] A new compilation method

5 views
Skip to first unread message

Steven van der Schoot

unread,
Mar 15, 2013, 10:06:35 AM3/15/13
to Orion

Hey all,

I should like to suggest to change the compilation method from manually made make files using GCC to a combination of cmake and clang.

The benefit of this is that cmake will take care of checking dependecies and it makes it easy for ppl to configure the makefiles for their needs.
Clang is a new c compiler. It is still under heavy development, but it's already a stable replacement for GCC. This new compiler generally offers more efficient binaries in a smaller compile time (compared to GCC). Also it's warning and error messages are way more help full then GCC equivalent.

Best regards,
Steven van der Schoot.

Bart Kuivenhoven

unread,
Mar 15, 2013, 11:29:43 AM3/15/13
to orio...@googlegroups.com
Hey,

I've taken a look into clang before. It works, for the majority of the
kernel but some parts still require gcc.

I would love to see effort for porting those parts (drivers and arch)
over to clang, as the error and warning messages are vastly better than
those in GCC.

Having the kernel compiler agnostic would be a large gain in terms of
portability.

As for CMake, I don't know. I'm not against it, but I don't know if it
offers us the modularity I want (not that our current system offers us
any of that). The modularity I'm aiming at, is the modularity offered by
the Linux build system.

I've been looking into this all before, and I know it is possible to
take the Linux build system and apply it to your own project (Busybox
has done it before).

If you have a way of offering us the flexible build system I so desire,
you have all the support from me you can get. Even if you can't offer us
that flexibility, it probably will be better than the current system, so
either way, you have my thumbs up.

Tell me the stuff you want to get done. I'll see what I can do.

--
Best regards; Met vriendelijke groet;
Bart Kuivenhoven.

Lead developer on the Andromeda project.
Reply all
Reply to author
Forward
0 new messages