Vortex, this may sound dumb as i have never played with Tiny CC, but i thing the __declspec(naked) statement is Microsoft compiler specific. I really don't know if it's supported by Tiny CC.
Also, according to this
page, the -B option specifies whether bindings of libraries for linking are static or dynamic.
Hope this helps.