Adding a bit of documentation for MinGW that was left off the previous SVN commit
[freeglut] / README.mingw_cross
1 Cross-compilation from GNU/Linux (static and shared DLL)\r
2 ========================================================\r
3 \r
4 Install MinGW32 and prepare FreeGLUT on Debian/Ubuntu:\r
5 \r
6   apt-get install mingw32\r
7   ./configure --host=i586-mingw32msvc --prefix=/freeglut\r
8 \r
9 Install MinGW32 and prepare FreeGLUT on Fedora:\r
10 \r
11   yum install mingw32-gcc\r
12   ./configure --host=i686-pc-mingw32 --prefix=/freeglut\r
13 \r
14 Cross-compile!\r
15 \r
16   make\r
17   make install DESTDIR=$(pwd)\r
18 \r
19 Everything is in the new freeglut/ directory.\r
20 The .dll is in the freeglut/bin/.\r
21 \r
22 \r
23 Compilation of your own programs is done as usual.\r
24 See README.cygwin_mingw for details.\r