34 ms·
Yes, I really like explicit integer sizes too and yes. C2 is trying to be as close to C as possible, with just improving what is "bad" or cumbersome, so some th
by magnusi 10y ago
Yes, I really like explicit integer sizes too and yes. C2 is trying to be as close to C as possible, with just improving what is "bad" or cumbersome, so some things like the fall-through are still there. You can certainly mix languages, since C2C (the compiler) allows single-file compilation, although a bit cumbersome, with the -f parameter and currently, it works like this:
1. Find (recursive searching upwards in directory tree) & Read a recipe file (a file for the build system)
2. Either start building all targets or just some, depending on the command-line arguments
3. Build the targets. Output is C (basically complete) or LLVM IR bytecode (like 25% complete).
4. Write a makefile for said C files
5. Compile with default C compiler
so mixing languages works with a little hacking.
I am the author of the Windows/Cygwin support/port, so in case anything doesn't work (especially since the compilation of LLVM is often a horror in Cygwin), let me know and I will see what I can do.