This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc error in Cygwin


Hi,

I'm using the makefile that came with the code I'm working on and I cant
seem to get it working
in the Cygwin system even though it works perfectly fine in SUN.

I'm using gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

The errors I received state something like 

cc: Unrecognized option '-Xc'
cc: language 04 not recognized
linker input file unused because linking not done

Note that I dont know most of what the options do. So if you can point me to
a good reference I'd be
greatly appreciate.


The following is the code for makefile
========================================================================

CFLAGS		=	-xO4 -dalign -fsimple -fsingle -v -Xc

FILES		=	AAmain_25deg.o		\
			GetIceMask_25deg.o	\
			InputOutput.o	\
			RainRate_25deg.o	\
			LatLon2RowCol_25deg.o	\
			PutStatsInHist_25.o	\
			UpdateTheBins_25deg.o

HEADERS		=	x_25deg.h       xdefines.h

EXECUTABLE	=	../MakeHist_25deg.v5.exe


# Compilation and linking rules

$(EXECUTABLE):	$(FILES)
	$(CC) $(HIST_TYPE) $(CFLAGS) $(FILES) -o $(EXECUTABLE) -lm -lsunmath


# Dependencies

$(FILES):	$(HEADERS)


clean:
	rm -f $(FILES) $(EXECUTABLE)

lint:
	lint -u -v AAmain_25deg.c GetIceMask_25deg.c InputOutput.c  	\
		RainRate_25deg.c LatLon2RowCol_25deg.c			\
		PutStatsInHist_25.c UpdateTheBins_25deg.c
========================================================================


Thx

-- 
View this message in context: http://www.nabble.com/gcc-error-in-Cygwin-tf4083416.html#a11606035
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]