g++ command

Dave Korn dk@artimi.com
Mon Jan 12 16:24:00 GMT 2004


 
> -----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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /