All Questions
1
question
2
votes
1
answer
1k
views
basic use of C archives (libraries) with clang linker
I have a main program:
#include <stdio.h>
extern int a;
int main (int argc, char ** argv) {
int i;
printf ("Hello %p, %p\n", & i, & a);
return 0;
}
and a separate file, foo....