|
|
#11 | |
|
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 701
![]() |
Yes,just like MinGW, Cygwin creates its own windows binary. They just take a slightly different approach (from wikipedia):
Quote:
If you do get it working, can you please let me know which command you used or of any modifications to the makefile you use? |
|
|
|
|
|
|
#12 |
|
Angband Devteam member
|
Thanks - very interesting. I must admit that cygwin is extremely slow (4 mins for a full distclean / configure / make, so about 5x longer than linux), so I'm interested in trying MinGW. But I will persist with cygwin to see if I can build the Windows and/or SDL versions.
I'm not back at work until Monday though ...
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila |
|
|
|
|
|
#13 | |
|
Prophet
Join Date: Apr 2007
Location: Half way to grave
Posts: 2,730
![]() |
Quote:
Cygwin-build windows binary of Angband doesn't include anything extra, it is pure native windows code. Compiling in general isn't depended of environment, c is environment independent programming language and it is same in every environment, you could build up windows binary in Commodore64 if you had an compiler there that could do the job. |
|
|
|
|
|
|
#14 |
|
Angband Devteam member
|
Doh. No wonder it built something that didn't work - I was cross-compiling for Win32 and trying to run it on a Win64 machine. The correct build command for mingw-in-cygwin on Win64 is
MINGW=yes make -f Makefile.win CROSS=x86_64-w64-mingw32- Yes, that is a 32 at the end. Don't ask me why.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila |
|
|
|
|
|
#15 |
|
Scout
Join Date: Jun 2009
Posts: 28
![]() |
If you want to use Cygwin with the configure script instead of the Makefile.win, you can run this command:
Code:
./configure --enable-win --with-no-install --host=i686-pc-mingw32 I prefer Cygwin to Mingw/Msys because it seems a lot faster and there is lots of prepackaged software available through a single installer. Just download setup.exe, click the mingw and git packages and you're ready to go. Also the Android compile tools that I use to build Angband depend on Cygwin. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Which main-xxx's and makefiles can I test with Cygwin or MinGW? | nppangband | Development | 2 | August 23, 2010 09:43 |
| cygwin 1.7 compile error | david3x3x3 | Development | 0 | September 13, 2009 00:03 |