Код: Выделить всё
$ clang
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Код: Выделить всё
$ gcc
gcc: fatal error: no input files
compilation terminated.
Или это нормальное поведение?
Спасибо.
Я использую gentoo. п>
Подробнее здесь: https://stackoverflow.com/questions/789 ... nput-error
Мобильная версия