This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: g++ command
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 12 Jan 2004 16:16:17 -0000
- Subject: 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/