[Asterisk-Users] Help on AGI running

Tzafrir Cohen tzafrir at cohens.org.il
Fri Aug 19 02:12:44 MST 2005


On Thu, Aug 18, 2005 at 09:26:29AM -0500, Moises Silva wrote:
> i guess you are trying to run a non compiled C program, you have to
> compile it first.
> 
> # gcc sample.c -o sample
> 
> then from asterisk run the executable 'sample' without the extension '.c'

Alternatively, apt-get install tcc, and put "#!/usr/bin/tcc' as the
first line of your "script" .

And no, this is normally not a practical solution. But tcc's author is
know to boot kernels from source this way sometimes.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list