Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1260916
| From | Vincent Lefevre <vincent@vinc17.net> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1114870: tcc(1): "#!/usr/local/bin/tcc -run" does not work |
| Date | 2025-09-11 03:00 +0200 |
| Message-ID | <LtDPj-eoPP-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: tcc
Version: 0.9.27+git20200814.62c30a4a-2
Severity: normal
The tcc(1) man page says:
TCC can be invoked from scripts, just as shell scripts. You just need
to add "#!/usr/local/bin/tcc -run" at the start of your C source:
#!/usr/local/bin/tcc -run
#include <stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
But this gives the error
...: bad interpreter: /usr/local/bin/tcc: no such file or directory
Indeed, /usr/local/bin/tcc does not exist.
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.16.3+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages tcc depends on:
ii libc6 2.41-12
Versions of packages tcc recommends:
ii libc6-dev [libc-dev] 2.41-12
tcc suggests no packages.
-- no debconf information
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1114870: tcc(1): "#!/usr/local/bin/tcc -run" does not work Vincent Lefevre <vincent@vinc17.net> - 2025-09-11 03:00 +0200
csiph-web