This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Can't compile helloworld.C


On Mon, Jul 23, 2001 at 08:51:17AM -0700, Stephen Taylor wrote:
> I didn't know where gcc was searching for libraries,

You don't need to know.  That's the compiler's problem (for the standard
language libraries, at least).  :-)

> To compile, I enter 
>    g++ -v -I/usr/include/g++-2 helloworld.C

Have you tried plain 'g++ helloworld.C'?


Phil

-- 
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
                                     - anonymous Egyptian scribe, c.1700 BC


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