Try this:
EDIT: It looks like you tried linking with the output from something likeGoRC /o icon.rc
tcc -c -o helloworld.o helloworld.c
tcc -o helloworld icon.o helloworld.o
which would be an executable instead of an .o object file. You might also try doing 'tcc -c helloworld.c' and then linking with the the go linker like 'golink helloworld.o icon.obj'.tcc helloworld.c
ANOTHER EDIT: Isn't C just awesomely fun?