<p></p>
<blockquote>
<p>Sorry, the error message <code>tcc: erro</code> is too cryptic.</p>
</blockquote>
<p>I think this was a bad copy/paste :/ -- Actually the <code>./configure</code> script doesn't even handle setting the <code>CC</code> env var very well :/</p>
<pre lang="#!sh"><code>checking for gcc... tcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether tcc accepts -g... yes
checking for tcc option to accept ISO C89... none needed
checking whether tcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of tcc... tcc
checking for tcc option to accept ISO C99... none needed
checking for tcc option to accept ISO Standard C... (cached) none needed
checking how to run the C preprocessor... tcc -E
checking whether tcc handles -Werror -Wunknown-warning-option... yes
checking whether tcc handles -Wall... yes
checking whether tcc handles -Wempty-body... yes
checking whether tcc handles -Wformat-security... yes
checking whether tcc handles -Wignored-qualifiers... yes
checking whether tcc handles -Wimplicit-fallthrough=5... yes
checking whether tcc handles -Winit-self... yes
checking whether tcc handles -Winitializer-overrides... yes
checking whether tcc handles -Wlogical-op... yes
checking whether tcc handles -Wmissing-parameter-type... yes
checking whether tcc handles -Wnested-externs... yes
checking whether tcc handles -Wold-style-declaration... yes
checking whether tcc handles -Wold-style-definition... yes
checking whether tcc handles -Woverride-init... yes
checking whether tcc handles -Wsign-compare... yes
checking whether tcc handles -Wtype-limits... yes
checking whether tcc handles -Wwrite-strings... yes
configure: looking for a C compiler that generates native executables
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/strace/build/src/strace-5.4':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
#
</code></pre>
<p>This is a bit strange; most other software respects the <code>CC</code> env var.</p>
<p>This is the <code>Pkgfile</code>:</p>
<pre><code>#!/bin/sh
# shellcheck disable=SC2034
# Description: ...
# URL: ...
# Maintainer: ...
name=strace
version=5.4
release=1
source="https://github.com/strace/strace/releases/download/v$version/$name-$version.tar.xz"
build() {
cd $name-$version
./configure \
--prefix=/usr \
--enable-mpers=no
make -j "$(nproc)"
make DESTDIR="$PKG" install
}
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/issues/132#issuecomment-616314636">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AOVBTR7OOPRIYKCR7OEOBRDRNPK7XANCNFSM4MFK32RQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AOVBTR4KUWXJHZIVJR4T77TRNPK7XA5CNFSM4MFK32R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOES6DODA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/issues/132#issuecomment-616314636",
"url": "https://github.com/strace/strace/issues/132#issuecomment-616314636",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>