Hi,
On Sat, 15 Oct 2016, David Mertens wrote:
Ah, now I get errors running the preprocessor tests. Here's a representative
result:
PPTest 14 ...
--- 14.expect 2016-10-15 13:07:53.790016538 -0400
+++ 14.output 2016-10-15 22:36:25.971293975 -0400
@@ -1,3 +1,8 @@
+
return Z(Z(1,2),2);
+
return Q(1,2);
+
return ((A + A) * (A + A)) + ((B * B) + (B * B));
+
+tcc: error: file '/usr/local/lib/tcc/x86-64/libtcc1.a' not found
Obviously something (a lib path?) is not getting set up correctly for these,
though it is getting set up correctly for the other tests. In case it's not
obvious, I have not installed tcc to a system-wide path. I suspect there's
something amiss in the pp makefile, but I am not a makefile guru.
Yes. The whole commit range around there is a bit shaky. You need some
commits from after that one to get a better working compiler. I for
instance at least up to "643a1b88 tcc -E: add one ..." for it to work
(which also contains a fix to makefiles). Possibly some later ones as
well depending on setup. But I can confirm it working with that, one
x86-64-linux, without using libgcc and without an installed tcc in
/usr/local (or anywhere else).
Ciao,
Michael.
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel