[r6rs-discuss] [Formal] "#! /usr/bin/env" is not "portable."
It's Unix-specific.
Alan Watson
alan at alan-watson.org
Wed Nov 15 13:34:35 EST 2006
Jens Axel Søgaard wrote:
>> Do C files have to start with "#!/usr/bin/cc"?
>
>
> In real life: yes.
>
> The reference manual for the C interpreter CInt contains this:
You are confusing C scripts (run by things like CInt and tcc) and C files.
I have 19968 C files under my home directory (which frightens me
somewhat). All of them form the whole or parts of programs. A fair
fraction of them contain the entry points for the programs (i.e., the
main funcion). None of them start with #!.
Regards,
Alan
More information about the r6rs-discuss
mailing list