I have compiled a certain library, however it didn't generate a lib<libname>.a file. It generated <libname>.a file. Is there a way to tell the compiler that the lib is not using lib prefix?
I have compiled a certain library, however it didn't generate a lib<libname>.a file. It generated <libname>.a file. Is there a way to tell the compiler that the lib is not using lib prefix?
Is it too hard to rename it, or fix the build process?
Or perhaps create a symbolic link to it?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Are you using a makefile or just plain command line compilation?
Either way it'd the same switch "-o <libxyz.a>" for naming the generated output file.
I think I have already solved it. Instead of -l<libname> I just did objs/<libname>.a and it seemed to work.