Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: lovelypp on September 29, 2020, 10:00:36 PM
-
I wirte a simplest test.c:
#include <stdio.h>
int main()
{
printf("hello world!\n");
return 0;
}
when compile using gcc, it complains with:
fatal error: stdio.h: no such file or directory
-
Hi lovelypp
Did you install compiletc.tcz ?
-
@Rich
thanks. After install glibc_base-dev & glibc_add_lib, it solved.
-
Hi lovelypp
Did you install compiletc.tcz ?
You didn't really answer the question. If you plan on compiling packages you want to install compiletc.tcz.
-
@Rich
I tried your method. it's the right solution.
I commented my gcc,make, cmake,glibc,linux-header tcz,now only one compiletc.tcz needed.
thanks!
-
Hi lovelypp
You are welcome. :)