This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

make with g++


 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]