X-Recipient: archive-cygwin AT delorie DOT 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: Subject: make with g++ From: Fitzy To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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