make with g++

2011-12-08 Thread Fitzy
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

Re: make with g++

2011-12-08 Thread Fitzy
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

system mkdir

2011-11-28 Thread Fitzy
 Hello,   I have a program which I wrote using Visual Studio 2010, everything works fine there. Now I'm trying to get it all running properly under Cygwin.  It is compiling successfully, but the following does not work: system(mkdir temp); I use this to create a temporary directory to which