[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] command line parsing in scripts
From: |
Joshua Phillips |
Subject: |
Re: [Tinycc-devel] command line parsing in scripts |
Date: |
Sun, 27 Apr 2008 16:58:10 +0000 |
User-agent: |
KMail/1.9.7 |
This works for me with my tcc, which I think is changeset 4486c53073db of the
repo at https://sharesource.org/hg/mercurialtcc
On Sunday 27 April 2008 11:47:32 Pedro A ARANDA wrote:
> A small test, which doesn'r run as expected on my system.
> Instead of running the script, tcc compiles it :-( Using latest
> mercurial pulled from Rob's repository...
>
> ---------------
>
> #!/usr/bin/tcc -DTEST=1 -run
>
> int main(int argc,char **argv)
> {
> #ifdef TEST
> printf("Hello test\n");
> #else
> printf("heellooooo\n");
> #endif
> }
>
> ---------
>
> cheers,/pa
>
> _________________________________________________________________
> Connect to the next generation of MSN Messenger
> http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=
>wlmailtagline