5
gcc를 라이브러리로 사용하는 방법이 있습니까?
누구나 다음과 같이 작동하는 솔루션을 알고 있습니다. #include <stdio.h> #include <gcc.h> /* This .h is what I'm looking for. */ int main (void) { /* variables declaration (...) */ /* The following line is supposed to be equivalent to: * $ gcc main.c -o main */ results = gcc_compile_and_link("main.c", "main"); …