SHARE
TWEET

static test

a guest Jan 19th, 2020 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dragonfly$ cat test.c                                                          
  2. #include <stdio.h>
  3.  
  4. int
  5. main(void)
  6. {
  7.         printf("Test\n");
  8.         return 0;
  9. }
  10. dragonfly$ gcc -static test.c -o test
  11. dragonfly$ du -h test
  12.   0B    test
  13. dragonfly$ ./test                                                              
  14. Test
  15. dragonfly$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top