Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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....
Reb.Cabin's user avatar
  • 5,527