Scriptbasic - Compiling the generated C code



Has anyone had any success compiling C code generated by scriptbasic?

I have created a simple "hello world" program
hello.bas as follows:

#!/usr/bin/scriba
print "Hello World!"

I now compile this into a C program:

scriba -nCo hello.c hello.bas

I now want to compile the C program into a stand alone
executable hello:

gcc -o hello hello.c /usr/lib/scriba/lscriba.a

This produces the following output:

hello.c:27:25: warning: no newline at end of file
/tmp/ccCqZJQL.o: In function `main':
hello.c:(.text+0x25): undefined reference to
`stndlone'
collect2: ld returned 1 exit status

I also tried this with Tiny C compiler, and got
similar errors:

tcc -o hello hello.c /usr/lib/scriba/lscriba.a
tcc: undefined symbol 'stndlone'

Thanks in advance to anyone who can help with fixing this.

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
.