Thanks Yao Zi, I have used your patches, and for most errors I copied the corresponding file from your project. I did this for probably 50% of the files in /math, and some other files.
Now I think this is the link part, and it fails with this error: # make cc -std=c99 -nostdinc -ffreestanding -fexcess-precision=standard -frounding-math -fno-strict-aliasing -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I./arch/x86_64 -I./arch/generic -Iobj/src/internal -I./src/include -I./src/internal -Iobj/include -I./include -O2 -fno-align-jumps -fno-align-functions -fno-align-loops -fno-align-labels -fira-region=one -fira-hoist-pressure -freorder-blocks-algorithm=simple -fno-prefetch-loop-arrays -fno-tree-ch -pipe -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Wno-pointer-to-int-cast -Werror=implicit-function-declaration -Werror=implicit-int -Werror=pointer-sign -Werror=pointer-arith -Werror=int-conversion -Werror=incompatible-pointer-types -Werror=discarded-qualifiers -Werror=discarded-array-qualifiers -Waddress -Warray-bounds -Wchar-subscripts -Wduplicate-decl-specifier -Winit-self -Wreturn-type -Wsequence-point -Wstrict-aliasing -Wunused-function -Wunused-label -Wunused-variable -nostdlib -shared \ -Wl,-e,_dlstart -o lib/libc.so obj/src/aio/aio.lo ... [lots of .lo files] ... tcc: error: '__init_array_start' defined twice tcc: error: '__fini_array_start' defined twice make: *** [Makefile:162: lib/libc.so] Error 1 Pay attention to " ... -e,_dlstart -o lib/libc.so ... ", this is probably the last step ;-P. Do you know what I can do? Thanks _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel