[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] cleanups

From: Michael Matz
Subject: Re: [Tinycc-devel] cleanups
Date: Sun, 16 Oct 2016 05:22:52 +0200 (CEST)
User-agent: Alpine 2.20 (LSU 67 2015-01-07)


On Sat, 15 Oct 2016, David Mertens wrote:

Ah, now I get errors running the preprocessor tests. Here's a representative

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).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]