On 25/07/2008, at 2:13 PM, Jesus Sanchez wrote:
I'm trying to do things without gcc at all. Just as (or nasm) and ld, soinline assembly isn't nice for me, only as last option to learn.
People get excited if this is made too easy, so the clues ... 1. http://marc.info/?l=openbsd-misc and search for assembly. 2. Tobias Ulmer posted what looks exactly like you are looking for. HTH.