delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/15/17:08:01

X-Spam-Check-By: sourceware.org
Message-ID: <11606035.post@talk.nabble.com>
Date: Sun, 15 Jul 2007 14:07:39 -0700 (PDT)
From: ppanta <ppanta9 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: gcc error in Cygwin
MIME-Version: 1.0
X-Nabble-From: ppanta9 AT hotmail DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019