I'm experimenting with compiling Pike with tcc,
* dev-lang/tcc Latest version available: 0.9.20 Latest version installed: 0.9.20 Size of downloaded files: 194 kB Homepage: http://www.tinycc.org/ Description: A very small C compiler for ix86 License: LGPL-2.1
which doesn't like the -Ysystem option, so I assume it's *another* tcc. I will commit this change to configure:
Index: aclocal.m4 =================================================================== RCS file: /pike/data/cvsroot/Pike/7.5/src/aclocal.m4,v retrieving revision 1.87 diff -u -r1.87 aclocal.m4 --- aclocal.m4 17 Dec 2003 23:16:19 -0000 1.87 +++ aclocal.m4 10 Mar 2004 07:53:23 -0000 @@ -77,9 +77,9 @@ AC_MSG_CHECKING([if we are using TCC]) AC_CACHE_VAL(pike_cv_prog_tcc, [ case "`$CC -V 2>&1|head -n 1`" in - tcc*) - pike_cv_prog_tcc="yes" - ;; +dnl tcc*) +dnl pike_cv_prog_tcc="yes" +dnl ;; *) pike_cv_prog_tcc="no" ;; esac ])
since that test apparently is broken. Does anyone has the tcc that needs -Ysystem and can apply another test to check if that's it?
I will add t[iny]cc compilation to my xenofarm.
tcc has traditionally been the TenDRA C Compiler, and it needs the argument -Y system since it otherwise hides the system headerfiles.
/ Henrik Grubbström (Lysator)
Previous text:
2004-03-10 08:58: Subject: tcc != tcc
I'm experimenting with compiling Pike with tcc,
- dev-lang/tcc Latest version available: 0.9.20 Latest version installed: 0.9.20 Size of downloaded files: 194 kB Homepage: http://www.tinycc.org/ Description: A very small C compiler for ix86 License: LGPL-2.1
which doesn't like the -Ysystem option, so I assume it's *another* tcc. I will commit this change to configure:
Index: aclocal.m4
RCS file: /pike/data/cvsroot/Pike/7.5/src/aclocal.m4,v retrieving revision 1.87 diff -u -r1.87 aclocal.m4 --- aclocal.m4 17 Dec 2003 23:16:19 -0000 1.87 +++ aclocal.m4 10 Mar 2004 07:53:23 -0000 @@ -77,9 +77,9 @@ AC_MSG_CHECKING([if we are using TCC]) AC_CACHE_VAL(pike_cv_prog_tcc, [ case "`$CC -V 2>&1|head -n 1`" in
tcc*)
pike_cv_prog_tcc="yes"
;;
+dnl tcc*) +dnl pike_cv_prog_tcc="yes" +dnl ;; *) pike_cv_prog_tcc="no" ;; esac ])
since that test apparently is broken. Does anyone has the tcc that needs -Ysystem and can apply another test to check if that's it?
I will add t[iny]cc compilation to my xenofarm.
/ Mirar
pike-devel@lists.lysator.liu.se