How to get GCC to compile to binary, but in raw format NOT object
Mon Sep 15 15:54:00 GMT 2003
You want a DSO (dynamic shared object).
Generate your code into a shared object (a .so in Unix-land, a .dll in
Windows-land, a .library in Amiga-land), and -- in Unix-land -- use dlopen
and the other dlxxxx functions when you want to access your routine
dynamically. Windows and Amiga have equivalent mechanisms.
More information about the Gcc-help