X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 8 Dec 2011 08:34:14 -0700
Message-ID: <CAKfLWNrb7uyXGy3BXY86Gah+Tvnn6ybTe8jwcc2A4JuD2AerSw@mail.gmail.com>
Subject: make with g++
From: Fitzy <lugtug@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

 Alright so I'm a complete newbie when it comes to anything linux related.

And so I cannot figure out how make is supposed to work under cygwin,
even creating the simplest makefile produces

"Error: 'g++' not found"

 Which doesn't make much sense to me, given that I can run g++ from
the cygwin command line just fine..


Here is one of the many makefiles I've tried..

all:
	g++ main.cpp -o test
	
.PHONY: all

Which produces the above error..

  So are all the tutorials wrong online, or does my make just not work
correctly?

Thanks

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

