I want to compile c code (check syntax) inside c# project or i want to know how to use GCC compiler in c# application
See Question&Answers more detail:osI want to compile c code (check syntax) inside c# project or i want to know how to use GCC compiler in c# application
See Question&Answers more detail:osProcess.Start will let you run any application including GCC (or any other compiler/make utility) and pass arguments.
Process.Start("gcc.exe", "my.c");
You probably need more command line options than just file name (i.e. output/include folder locations) and may need to specify path to compiler if it is not already available in the PATH environment variable.