tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] env executable examples


From: grischka
Subject: Re: [Tinycc-devel] env executable examples
Date: Thu, 10 May 2012 19:48:03 +0200
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

Thomas Preud'homme wrote:
Greetings everybody,

I've just realized that the env trick to use tcc from the correct place [1] doesn't work because neither Linux nor env split arguments at spaces.

[1] See commit 27a428cd0fae475d7377e1dbe218c064ee217d85

Basically /usr/bin/env tcc -run will try to find "tcc -run" which is then obviously not found. Should we go back to the solution proposed in [2] or do you have another idea?

Why not use just

        #!tcc -tun

Otherwise I'd suggest to revert to the original

        #!/usr/local/bin/tcc -tun

which of course does not work if user installs tcc elsewhere
but really we should not care.  After all the examples are
for studying purposes in the first place.

--- grischka



[2] cb2138f8b098feb1b51a407343a4b99e25d5b506

Best regards,

Thomas Preud'homme





reply via email to

[Prev in Thread] Current Thread [Next in Thread]