Hello,
I am using code::blocks IDE for program development. If I have my program file (some functions without main) x.c and its function prototypes are in x.h header file. I want to create a libx.a file from this, how it can be done using this IDE under windows (using default mingw gcc compiler)?. When try to build x.c, it produces x.o file without x.exe with error message of not having main (which is natural !!!). Is this x.o file can be use to build libx.a file? If I build libx.a file, can it be used as standard library function?
With thanks and regards,
Amal.