Other Help Topics :: tcc scripts



Quote
EDIT:

wrong, it doesn't set the directory bit.  I read up and then remembered (you tend to do things by route after a while instead of thinking):

1 = execute
2 = write
4 = read

add the numbers for the mode you want.  You need three numbers, one for user, the second for group, and the third for other.  So my bits were set for read, write, & execute for me, my group, and everyone.


Correct!  
Good Work!
73
ke4nt

is there more to do before compiling?
I get the err:
tcc: undefined symbol '__libc_start_main'
tcc: undefined symbol 'printf'
thx

Lii, looks like you must be trying to create an executeable.
Just add the -lc option. That will link with the C library and you should get your result.

thx, roberts
you were perfectly right! :)


original here.