You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
328 B
12 lines
328 B
// The build.py script always runs the compiler in C++ mode, regardless of the
|
|
// file extension. This results in mangled names presented to the linker which
|
|
// in turn cannot find the printf symbol.
|
|
extern "C" {
|
|
int printf(const char *format, ...);
|
|
|
|
int main(int argc, char **argv) {
|
|
printf("Hello World\n");
|
|
return 0;
|
|
}
|
|
}
|