C2 forum

General Category => Implementation Details => Topic started by: bas on March 06, 2015, 10:26:41 PM

Title: Milestone reached!
Post by: bas on March 06, 2015, 10:26:41 PM
C2 just reached another milestone: completely building a (static) library and genarting the c header file!   ;D
The library itself is created by generating c-files and a makefile and then running the makefile. This is of course not the final path, but will definately help in fleshing out more details. Also I extended the unit-test framework to test generated C files easily.

One detail that came up was the name 'mangling'. The generated names of module.decl used to be __module_decl. But the linker couldn't find these in the static library. So the mangling now just consists of module_decl, also a bit easier on the eyes.

The next step will be playing with the options to control object visibility.
Title: Re: Milestone reached!
Post by: kyle on March 09, 2015, 05:58:53 PM
Congratulations!