Hi guys,

In many cases, you can replace gcc by tcc which accepts (or silently drops)
gcc options.

For example, you can run "CC=tcc ./configure" to compile a project with tcc
instead of default gcc.

 

Configure.ac may content a line similar to

CCVERSION=`${CC} --version 2>&1 | grep " version " | sed -e "s/^[[A-Za-z
]]*\([[.0-9]]*\).*/\1/g"`

 

However, --version is not supported and produces an error. We must use short
form '-v' instead.

As minor request, could it be possible to support both -version --version
otherwise we have to modify configure.ac which is not always possible on
many source packages.

 

C.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to