摘要:
ceilf是一个在math.h里面的一个数学函数,函数的实现位于 libm.a 库文件中,使用 math.h 中声明的库函数时,gcc命令行必须加-lm选项 这时我们就需要在编译的时候加上-lm参数,即 gcc test.c -o test -lm 如果是用的makefile,就要在相应的文件里面加 阅读全文
posted @ 2021-04-29 16:46
流水灯
阅读(409)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2021-04-29 16:17
流水灯
阅读(1)
评论(0)
推荐(0)
摘要:
exit.c:(.text+0x18): undefined reference to `_exit' when using arm-none-eabi-gcc This happens when compiling a file with arm-none-eabi-gcc in one mach 阅读全文
posted @ 2021-04-29 10:48
流水灯
阅读(2868)
评论(0)
推荐(0)

浙公网安备 33010602011771号