Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: tcc scripts, automating tasks and having a blast< Next Oldest | Next Newest >
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Oct. 28 2004,15:11 QUOTE

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
Back to top
Profile PM 
Lii Offline





Group: Members
Posts: 7
Joined: Nov. 2004
Posted: Nov. 27 2004,07:03 QUOTE

is there more to do before compiling?
I get the err:
tcc: undefined symbol '__libc_start_main'
tcc: undefined symbol 'printf'
thx
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 27 2004,18:38 QUOTE

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.
Back to top
Profile PM WEB 
Lii
Unregistered






Posted: Dec. 02 2004,06:13 QUOTE

thx, roberts
you were perfectly right! :)
Back to top
8 replies since Oct. 28 2004,00:44 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: tcc scripts

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code