Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old January 22, 2016, 09:22   #1
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,305
Donated: $40
Pete Mack is on a distinguished road
Long time new build

It's been a while since I used gcc on windows. I am now seeing:

$ make -f Makefile.win
gcc -DWINDOWS -static -Iwin/include -Lwin/lib -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -std=c99 -DUSE_PRIVATE_PATHS -Wdeclaration-after-statement -O2 -I. -mno-cygwin -c -o cave.o cave.c
gcc.exe: error: unrecognized command line option '-mno-cygwin'
make: *** [cave.o] Error 1

using Mingw, git bash shell with properly set build path. Any suggestions?
Pete Mack is offline   Reply With Quote
Old January 22, 2016, 11:47   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 52
Posts: 6,642
Donated: $60
Nick is on a distinguished road
IIRC
Code:
$ MINGW=yes make -f Makefile.win
You'll be hearing more from me
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old January 22, 2016, 15:29   #3
kaypy
Swordsman
 
Join Date: May 2009
Posts: 260
kaypy is on a distinguished road
I seem to recall just deleting the -mno-cygwin out of the makefile... but looking at it, yeah it checks for a MINGW environment variable.

Is it possible to automatically distinguish Cygwin from MinGW? Say uname output or something?

Ah. I see the MINGW=yes is documented on the compiling instructions, but the v3.3.0 readme has a bad link... The faq.txt 2d on the github version is still out of date, btw...

Last edited by kaypy; January 22, 2016 at 16:38.
kaypy is offline   Reply With Quote
Old January 23, 2016, 00:20   #4
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,305
Donated: $40
Pete Mack is on a distinguished road
Whoops. There are so many places to check. I used the sticky instructions in the development forum. It'd be nice to get that edited with all 11 pages of confusion by saying: USE THE README TO COMPILE.
BTW: I suspect MINGW is the more common config. Very few windows users will use Cygwin.

Quote:
Originally Posted by kaypy View Post
I seem to recall just deleting the -mno-cygwin out of the makefile... but looking at it, yeah it checks for a MINGW environment variable.

Is it possible to automatically distinguish Cygwin from MinGW? Say uname output or something?

Ah. I see the MINGW=yes is documented on the compiling instructions, but the v3.3.0 readme has a bad link... The faq.txt 2d on the github version is still out of date, btw...

Last edited by Pete Mack; January 23, 2016 at 00:29.
Pete Mack is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Long time without artifacts fph Vanilla 25 September 5, 2015 02:02
Another long time player, first time winner. Kosonen AAR 3 August 25, 2013 01:02
Help for a long time loser exordis Vanilla 41 October 19, 2011 02:48
Help for a long time player (Never won) Steven Vanilla 16 December 2, 2009 03:16
Long time player, first time poster Deranged Archivist Vanilla 6 October 14, 2009 16:19


All times are GMT +1. The time now is 16:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.