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 To: cygwin@cygwin.com Subject: gcc error in Cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ppanta9@hotmail.com X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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/