Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
Re: [SLE] gcc won't compile hello world
  • From: Jonathan Drews <j.e.drews@xxxxxxxxxxxxxxxx>
  • Date: Mon, 28 May 2001 21:29:44 -0500
  • Message-id: <01052821294400.00851@linux>
Jim:

You may very well be missing some development libraries. These can be
installed from the SuSE cd's.


On Monday 28 May 2001 20:47, you wrote:
> Thanks for the help. I must have some incompatibility in my system as I
> have the same gcc version.
>
> Steven Hatfield wrote:
> >ashari@lancelot:~ > cat test.cpp
> >#include <iostream>
> >
> >int main() {
> >
> > cout << "Hello world\n";
> >
> >}
> >ashari@lancelot:~ > g++ test.cpp -o test
> >ashari@lancelot:~ > ./test
> >Hello world
> >ashari@lancelot:~ > rpm -q gcc
> >gcc-2.95.2-149



< Previous Next >