Cygwin Makefile输出乱码?

时间:2019-02-16 16:04:24

标签: cygwin

我有以下makefile变量,并且相应的Makefile是正确的。当我运行make命令时,没有任何反应。下图显示了乱码输出。有什么我想念的吗?

####################
# Common variables
#################### 
#CC = icc
CC = gcc
#CC = cc
MAKE = make
#MAKE = gmake

# Compiling in 64-bit by default
FLAGS = -O3 
LDFLAGS = -O3

LIBS = -L../sprng2.0-lite/lib -lsprng -lm
INCS = -I../sprng2.0-lite/include

SSCADIR = SSCA2
SPRNGDIR = sprng2.0-lite
RANDDIR = random
RMATDIR = R-MAT

###########################
# SPRNG-specific variables
###########################

F77 = g77
FFLAGS = $(FLAGS)
F77LDFLAGS = $(LDFLAGS)
CFLAGS = $(FLAGS)
CLDFLAGS = $(LDFLAGS)
AR = ar
ARFLAGS = cr
SHELL = /bin/sh
RANLIB = ranlib
CLD = $(CC)
F77LD = $(F77)
FFXN =  -DAdd_
FSUFFIX = F
MPIF77 = $(F77)
MPICC = $(CC)

当我使用Cygwin的make命令时,将得到此输出。为什么会这样呢? enter image description here

1 个答案:

答案 0 :(得分:-1)

好的,所以问题与Cygwin无关。似乎只能在Windows计算机的系统区域设置设置为英语的情况下才能使用Cygwin。 要解决此问题,请转到:

Date and Time -> Advanced Options -> Change System Locale (preferably to English United States)