Advertisement
jar3817

SDL2 Test

May 20th, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2. int main(int argc, char *argv[])
  3. {
  4.         printf("hello world\n");
  5.         return 0;
  6. }
  7.  
  8.  
  9. compiled with:
  10. # x86_64-w64-mingw32-gcc -o test.exe test.c -L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -lmingw32 -lSDL2main -lSDL2 -mwindows
  11.  
  12. output:
  13. C:\Quake2World-64\bin>test.exe
  14.  
  15. C:\Quake2World-64\bin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement