|
![]() |
|
Thread Tools | Display Modes |
![]() |
#1 |
Rookie
Join Date: Apr 2014
Location: Santiago, Chile
Posts: 21
![]() |
FAangband compilation error unrecognized command line option '-mno-cygwin'
Hi guys,
I return with my personal project: the translation of FAangband versión 1.4.4 to Spanish. I'm i 60% of text translation. But I need compile the source. The source that I using are from 24-05-2016. I use Windows 10. I download Cygwin x64 and MinGW, both last version, but I get the next error: Using MinGW: HTML Code:
mingw32-make -f Makefile.win gcc -DWINDOWS -static -Iwin/include -Lwin/lib -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -std=c99 -Wdeclaration-after-statement -O2 -I. -mno-cygwin -c -o identify.o identify.c gcc: error: unrecognized command line option '-mno-cygwin'; did you mean '-mno-clwb'? Makefile.win:127: recipe for target 'identify.o' failed mingw32-make: *** [identify.o] Error 1 HTML Code:
make -f Makefile.win gcc -DWINDOWS -static -Iwin/include -Lwin/lib -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -std=c99 -Wdeclaration-after-statement -O2 -I. -mno-cygwin -c -o identify.o identify.c gcc: error: unrecognized command line option '-mno-cygwin'; did you mean '-mno-clwb'? Makefile.win:127: recipe for target 'identify.o' failed mingw32-make: *** [identify.o] Error 1 |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,418
Donated: $40
![]() |
try
MINGW=YES mingw32-make -f makefile.win This works for Vanilla. I don't know if it will work for FA, which is a fairly old distro apparently depending on an older version of gcc. |
![]() |
![]() |
![]() |
#3 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,862
Donated: $60
![]() |
I can confirm that Pete's command line works for me; that's Windows 10, msys (version 1.0, I think?) and mingw. gcc version is 4.6.2.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#4 | |
Rookie
Join Date: Apr 2014
Location: Santiago, Chile
Posts: 21
![]() |
Quote:
Hi Pete, thanks for your response. Now I get the error: HTML Code:
src>MINGW=YES mingw32-make -f makefile.win "MINGW" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. In english: it is not recognized as an internal or external command, program or batch file executable. Maybe, I miss some environment variable? I have in the Path variable, C:\MinGW\bin How can I know my version of gcc? regards! |
|
![]() |
![]() |
![]() |
#5 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,862
Donated: $60
![]() |
The point of the
Code:
MINGW=yes Code:
export MINGW="yes" Code:
gcc --version
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#6 | |
Rookie
Join Date: Apr 2014
Location: Santiago, Chile
Posts: 21
![]() |
Quote:
I add manually by Windows Preferences the environment variable, and this compiled ok. The command I used was: HTML Code:
mingw32-make -f Makefile.win Thanks! |
|
![]() |
![]() |
![]() |
Tags |
faangband |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parse error in randart line | epatton | Vanilla | 1 | October 30, 2017 19:06 |
FAangband - Compilation problem, need help. | arsen12 | Development | 1 | February 6, 2016 05:34 |
"Error at line 1988 of 'artifact.txt'. Record 136 contains a many entries' error. | thedude | Vanilla | 1 | December 12, 2014 05:31 |
command line for loading an existing character | Bilbo | Vanilla | 4 | June 24, 2010 18:27 |
cygwin 1.7 compile error | david3x3x3 | Development | 0 | September 13, 2009 01:03 |