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:
parent
f46f59d7e3
commit
87d49928cf
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -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.cygwin_mingw -text
|
||||
freeglut/freeglut/README.mac -text
|
||||
freeglut/freeglut/README.mingw_cross -text
|
||||
freeglut/freeglut/README.win32 svn_keywords=Author+Date+Id+Revision
|
||||
freeglut/freeglut/TODO svn_keywords=Author+Date+Id+Revision
|
||||
freeglut/freeglut/VisualStudio/2008/CallbackMaker/CallbackMaker.vcproj -text
|
||||
|
24
freeglut/freeglut/README.mingw_cross
Normal file
24
freeglut/freeglut/README.mingw_cross
Normal 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.
|
Reference in New Issue
Block a user