admin管理员组文章数量:1186157
I'm trying to compile gmake with tcc in a (gentoo) musl-libc system. I first configure with CC=tcc ./configure --program-prefix=g
then ./build.sh
but I get the following error:
config.status: creating ./lib/alloca.h__
config.status: creating ./lib/fnmatch.h__
config.status: creating ./lib/glob.h__
compiling lib/concat-filename.c...
do tcc -DHAVE_CONFIG_H -I./lib -Ilib -I./lib -I./src -Isrc -I./src -g -c -o ./lib/libgnu_a-concat-filename.o ./lib/concat-filename.c
In file included from ./lib/concat-filename.c:22:
In file included from ./lib/concat-filename.h:20:
In file included from /usr/include/stdlib.h:21:
/usr/include/bits/alltypes.h:15: error: incompatible redefinition of 'wchar_t'
Compilation failed.
(the do ... part is just a line I added to print what it's trying to do).
I think tcc defines wchar_t in /usr/lib/tcc/include so that may be the conflict. Not sure what I should do. Remove #include stdlib.h
?
本文标签: gnu makeCompile gmake with TCC in musl libc systemStack Overflow
版权声明:本文标题:gnu make - Compile gmake with TCC in musl libc system - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738350133a2078817.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论