Tiny Core Extensions > TCE Bugs

tcc failed to compile "hello world!"

(1/1)

Xianwen Chen:
tcc failed to compile this hello world program:


--- Code: ---#include <stdio.h>
 
int main(void) {
   printf("Hello, world!\n");
   return 0;
}
--- End code ---

The error code is:


--- Code: ---tcc: file '/usr/lib/crt1.o' not found
tcc: file '/usr/lib/crti.o' not found

--- End code ---

Are crt1.o and crti.o missing because of lack of linking, or missing of dependency of tcc?

Jason W:
That is in base-dev.   Will add to dep file.

Xianwen Chen:
Thanks! I'm afraid pcc has similar problem.

Navigation

[0] Message Index

Go to full version