How handle static libraries?
Bo Do
bodo@flygp.se
Mon Nov 17 09:09:00 GMT 2003
Hey all,
I've written some (static) libraries I use pretty often. Lets call them A, B, C.....
When I want to use one, lets say B, I simply include B.h and link in B in my program.
My question is, I have a library C which needs/uses library A. Can I compile/archive
C in some way so that when I want to use C in a program, I just include C.h and link in C?
What I have to do now is to also link A to my program. But this look wierd (to me!)
because my program doesn't use A.
Thanks for any tip,
/Bo
More information about the Gcc-help
mailing list