Advertisement
Guest User

axbattler

a guest
Jul 8th, 2014
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. cheery@ruttunen:~/axbattler$ cat demo.ax
  2. include "stdio.h"
  3.  
  4. int main(int argc, char** argv)
  5. {
  6.     printf("hello from axbattler\n")
  7.     return 0
  8. }
  9. cheery@ruttunen:~/axbattler$ axcc demo.ax && cat a.c && gcc a.c
  10. #include <stdio.h> /* lineno: 1 */
  11. int main(int argc, char** argv); /* lineno: 3 */
  12. int main(int argc, char** argv)
  13. {
  14. printf("hello from axbattler\n");
  15. return 0;
  16. }
  17.  
  18. cheery@ruttunen:~/axbattler$ ./a.out
  19. hello from axbattler
  20. cheery@ruttunen:~/axbattler$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement