This repository has been archived on 2024-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
FreeGLUT-Vita/freeglut/freeglut/README.mingw_cross
2012-02-08 02:39:29 +00:00

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.