make with g++

Fitzy lugtug@gmail.com
Thu Dec 8 15:34:00 GMT 2011


 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



More information about the Cygwin mailing list