Simply list *.c all files as arguments to gcc:
gcc one.c two.c three.c -shared -o my_ext.so
Ed wrote:
Howdy folks!
Is there a way to have multiple *.c source files and still end up with a single *.so while using gcc? How would that be reflected in the config.m4 file?
I searched for examples in
Good question, but wrong place for it. Ask [EMAIL PROTECTED]
On Wednesday 11 June 2003 08:31 pm, Ed wrote:
> Howdy folks!
>
> Is there a way to have multiple *.c source files and still end up with a
> single *.so while using gcc? How would that be reflected in the config.m4
> file?
>
> I searche
Howdy folks!
Is there a way to have multiple *.c source files and still end up with a single *.so
while using gcc? How would that be reflected in the config.m4 file?
I searched for examples in the source tree, but did not find one. I tried different
things, but ended up with multiple *.so's.
3 matches
Mail list logo