Author Topic: Milestone reached!  (Read 2775 times)


  • Full Member
  • ***
  • Posts: 220
    • View Profile
Milestone reached!
« 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.


  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: Milestone reached!
« Reply #1 on: March 09, 2015, 05:58:53 PM »