Hello --
I'm writing a loadable kernel module, and have created two c files for
it, foo_main.c and foo_audio.c. I'd like to compile and link these
two into a single foo.o that I could add to the kernel with insmod. I
don't, however, seem to be able to stumble upon the right gcc/ld
combination to do this. It seems like I need something like gcc -c
foo_main.c foo_audio.c, except where -c is something that links
foo_main and foo_audio together before producing the finally,
not-really-linked output. Any ideas? Are there any good intros out
there to compiling modules, shared libs and other items that aren't
executables?
Thanks!
-Chris