Re: Why Use anything BUT C?

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 10/07/03


Date: Tue, 07 Oct 2003 06:22:08 GMT

On Tue, 07 Oct 2003 01:37:21 -0400, James Antill <james-netnews@and.org> wrote:
>
>
> On Tue, 07 Oct 2003 03:59:15 +0000, Alan Connor wrote:
>
>> Good to know that. I aspire to a Linux distro that uses nothing but straight
>> ANSI C and shell scripts.
>
> Why shell scripts, just install tcc and you can just do...
>
> #! /bin/tcc -run
> #include <stdio.h>
>
> int main(void)
> {
> puts("Hello World");
> return 0;
> }
>
> ... :)
>
> --
> James Antill -- james@and.org
> Need an efficient and powerful string library for C?
> http://www.and.org/vstr/
>

Err, I couldn't a reference to tcc in the FAQ, the index to K&R2, and there's
no man page for it on my box....Nor is it in my list of available Debian
packages....

And I can't get on the internet for a while, so I give....

(but If I am reading that script correctly, it sounds like a rather more
limited shell than I had on my mind....The original sh would probably do
the trick, maybe the updated version called ash, wihich is a FreeBSD project
if I remember correctly. Tomsrtbt uses it (entire os on a floppy) and it's
pretty good. Got read, set,if,for,until,while,case, commandline history and
completiion and so forth.)

(:-)

-- 
Later, Alan C
You can find my email address at the website: contact.html
take control of your mailbox ----- elrav1 ----- http://tinyurl.com/l55a