I want to integrate the c language compiler into a java application to compile c sources without creating a file (e.g. Java Compiler Api). Is there a c compiler fully written in java?
You can check this link in Google C code written in Java
and say that you congratulated the developer :) -it is not me: p -
Another option: JCPP
ANTRL has a grammar for C. The problem of generating build code for a specific platform is not resolved for you, but you can go through AST and emit instructions if you know who they should be.