I
Ir. Hj. Othman bin Hj. Ahmad
After reading about The history of Unix, portable c compiler, pcc contributed to the dominance of C over other languages because it is available
quickly and cheaply, while maintaining reasonable performance.
We now have Magnusson's C99 pcc.
Can it match the portability of gcc? Gcc's portability could be due to its use of RTL, but its RTL is not accessible, and
despite my earlier assumption, RTL is actually of higher level than LLVM IR.
Llvm IR is accessible, and is compiled by llc compiler. Looking at its source code,
it appears to be that of a machine independent code. The machine dependent is not specified by the docs that I had
read, unlike pcc, wher machine dependent parts are well identified and described, with lots of papers describing them.
My bet is in llc. I shall try to produce a PIC 16 code generator.
quickly and cheaply, while maintaining reasonable performance.
We now have Magnusson's C99 pcc.
Can it match the portability of gcc? Gcc's portability could be due to its use of RTL, but its RTL is not accessible, and
despite my earlier assumption, RTL is actually of higher level than LLVM IR.
Llvm IR is accessible, and is compiled by llc compiler. Looking at its source code,
it appears to be that of a machine independent code. The machine dependent is not specified by the docs that I had
read, unlike pcc, wher machine dependent parts are well identified and described, with lots of papers describing them.
My bet is in llc. I shall try to produce a PIC 16 code generator.