This is the mail archive of the cygwin@cygwin.com 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]

RE: g++ command


 

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Angelika Olsson

> Hello.
> I'm kind of a newbie at c++ and cygwin. I've just installed 
> cygwin on my pc, including all the g++ packages. I try to 
> compile with the simple
> command:
> 
> g++ -c Test.cpp
> 
> but all I get is the depressing reply:
> 
> bash: g++: command not found
> 
> Have I forgotten something? Do I need something extra? Am I 
> not using the right command? 


  Most likely something went wrong with your install, unless you've been
messing with your $PATH setting in your .bashrc or something like that.

  What's the output from 'which g++' or 'cygcheck g++' ?  It should be in
/usr/bin, usually....

   cheers,
     DaveK



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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