delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 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 09:37:32 -0700 |
Message-ID: | <CAKfLWNp2hJGNDgEwiBe4yeRju42On=fU5QmtuYwTd4JU5VgF3w@mail.gmail.com> |
Subject: | Re: make with g++ |
From: | Fitzy <lugtug AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
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 |
>Just for curiosity, try changing your makefile to the following and >running make: >all: which g++ g++ main.cpp -o test >Hope this helps, >Csaba Hi Csaba, When I run that it shows this in the cygwin console: $ make which g++ /user/bin/g++ It doesn't run g++ though, not sure if it was supposed to.. When I run the original make that I posted it shows this: $ make g++ main.cpp -o test Error: 'g++' not found I do have cygwin installed twice, the first one somehow lost track of g++(it was working and then it couldn't find g++ one day) so I installed it again(in a different location since the updater didn't seem keen on overwriting), perhaps make from my second cygwin is somehow getting confused by this? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |