I wonder how to compile a program as a library that other programs can use by including a .h file (in Linux and using GCC)?
I wonder how to compile a program as a library that other programs can use by including a .h file (in Linux and using GCC)?
I made .a by setting the compiler devcpp as output lib. All the modules together at compile time. Also had separate dll file for prog. with stuff not in the .a lib. meow using .h files specified use dll or linklib depending on function.
not sure about linux