README-mingw.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. MinGW requires both the MinGW system and MSYS.
  2. There is a script for generating a series of GNU makefiles targeted
  3. at MinGW on Windows. These makefiles will build the SDL library and
  4. test executables with static links to libgcc and the same features
  5. as the Visual Studio builds. That is, they have full OpenGL support
  6. and they have no dependency on MinGW.
  7. After generating the scripts, simply navigate to the directory in
  8. a MSYS terminal and execute:
  9. make
  10. If you wish to clean the directory, you can use either the clean
  11. batch file, or call:
  12. make clean
  13. The former will remove the actual makefiles and the latter will
  14. perform a typical clean operation. You can target specific
  15. build configurations as such:
  16. make config=debug
  17. Verbosity is initially set to off. All verbosity controls is
  18. whether the resulting gcc and ar commands are printed to the
  19. console. You can enable verbose output by setting verbose to any
  20. value:
  21. make verbose=1
  22. There is currently no install target, but that is intended
  23. eventually.
  24. Ben:
  25. There is no DirectX support currently, but you can use the
  26. command option '--directx' when generating the makefiles to
  27. explicitly force the DirectX dependency on. This may have
  28. undefined behavior, so use it cautiously.