Adding a bit of documentation for MinGW that was left off the previous SVN commit

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1071 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2012-02-05 19:36:27 +00:00
parent f46f59d7e3
commit 87d49928cf
2 changed files with 25 additions and 0 deletions

1
.gitattributes vendored
View File

@ -12,6 +12,7 @@ freeglut/freeglut/NEWS svn_keywords=Author+Date+Id+Revision
freeglut/freeglut/README svn_keywords=Author+Date+Id+Revision freeglut/freeglut/README svn_keywords=Author+Date+Id+Revision
freeglut/freeglut/README.cygwin_mingw -text freeglut/freeglut/README.cygwin_mingw -text
freeglut/freeglut/README.mac -text freeglut/freeglut/README.mac -text
freeglut/freeglut/README.mingw_cross -text
freeglut/freeglut/README.win32 svn_keywords=Author+Date+Id+Revision freeglut/freeglut/README.win32 svn_keywords=Author+Date+Id+Revision
freeglut/freeglut/TODO svn_keywords=Author+Date+Id+Revision freeglut/freeglut/TODO svn_keywords=Author+Date+Id+Revision
freeglut/freeglut/VisualStudio/2008/CallbackMaker/CallbackMaker.vcproj -text freeglut/freeglut/VisualStudio/2008/CallbackMaker/CallbackMaker.vcproj -text

View File

@ -0,0 +1,24 @@
Cross-compilation from GNU/Linux (static and shared DLL)
========================================================
Install MinGW32 and prepare FreeGLUT on Debian/Ubuntu:
apt-get install mingw32
./configure --host=i586-mingw32msvc --prefix=/freeglut
Install MinGW32 and prepare FreeGLUT on Fedora:
yum install mingw32-gcc
./configure --host=i686-pc-mingw32 --prefix=/freeglut
Cross-compile!
make
make install DESTDIR=$(pwd)
Everything is in the new freeglut/ directory.
The .dll is in the freeglut/bin/.
Compilation of your own programs is done as usual.
See README.cygwin_mingw for details.