Free GCC and built-in features

GCC docs at http://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html say (under -ffreestanding) what a standalone environment implies -fno-builtin. Perhaps I misunderstand what a stand-alone environment is or how it works, but it seems to me that since built-in functions usually generate embedded code instead of calling a library function, this is ideal for a stand-alone environment where the standard library may lack functionality or even be completely absent .

So why don't we want to use biltins with a standalone environment?

+2
source share
1 answer

.

GCC - , , strcpy(), , strcpy() . strcpy , .

strcpy() . - . , , float.h, iso646.h, limits.h, stdarg.h, stdbool.h, stddef.h, stdint.h(C99 standard 4.6), strcpy, C. , , , .

+12

Source: https://habr.com/ru/post/1654568/


All Articles