Linking with multiple versions of a library
Thanks for all the responses. I have a solution that seem to be working. Here’s the problem in detail with an example. In main.c we have: #include <stdio.h> extern int foo(); int bar() { printf(“bar in main.c called\n”); return 0; } int main() { printf(“result from foo is %d\n”, foo()); printf(“result from bar is %d\n”, … Read more