3eca89fc14
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1076 7f0cb862-5218-0410-a997-914c9d46530a
25 lines
611 B
Plaintext
25 lines
611 B
Plaintext
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.
|