| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
| Message-Id: | <6.0.1.1.0.20040821050004.01f7ee00@imap.myrealbox.com> |
| X-Sender: | tprince AT imap DOT myrealbox DOT com |
| Date: | Sat, 21 Aug 2004 05:12:35 -0700 |
| To: | "Rajagopalan, Karthik" <rajagopk AT deshaw DOT com>, <cygwin AT cygwin DOT com> |
| From: | Tim Prince <tprince AT computer DOT org> |
| Subject: | Re: Compilation errors not shown properly in Cygwin |
| In-Reply-To: | <206C1A53A7F2834DBB7F4BDEBA2DC9E84D664E@mshyd3.hyd.deshaw.c om> |
| References: | <206C1A53A7F2834DBB7F4BDEBA2DC9E84D664E AT mshyd3 DOT hyd DOT deshaw DOT com> |
| Mime-Version: | 1.0 |
| X-IsSubscribed: | yes |
At 11:32 AM 8/20/2004, Rajagopalan, Karthik wrote:
>Hi Cygwin_Techies,
>
>I have been trying to install working packages of Cygwin for our
>current project but fails in every attempt with some issues. Currently I
>find the Cygwin doesn't report the compilation errors from Microsoft
>Visual Studio C Compiler. Let me explain the problem clearly. I am
>trying to compile a C program through "Makefile" from Cygwin. This C
>program has syntax errors which are supposed to be shown by Cygwin when
>running C compiler. It just indicates the following lines and stops :
>
>make: *** [/cygdrive/h/test.obj] Error 1
>
>If I run the C program without using "Makefile" from Cygwin, errors are
>properly indicated. I feel the problem exists with "make.exe" of Cygwin
>and their dependency executables.
>Can anyone spot the problem happening here and highlght a solution for
>this?
Where did you explain your problem "clearly?" Make doesn't have default
rules to deal with .obj. Did you write in a rule? e.g.
.c.o:
cl /c $*.c
mv $*.obj $*.o
or, if you don't want to rename the .obj files, did you add .obj in
.SUFFIXES and add rules about how to make .obj from .c and .exe from .obj?
Tim Prince
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |