Mailinglist Archive: opensuse (4053 mails)
| < Previous | Next > |
Re: [SLE] g++, gcc issues
- From: "Stathy G. Touloumis" <stathy@xxxxxxxxxx>
- Date: Fri, 03 Aug 2001 05:43:53 -0500
- Message-id: <5.1.0.14.0.20010803054309.00adaa98@xxxxxxxxxxxxxxx>
As I said it did not work. I reinstalled all the related gnu compilers and
libraries and it seems to be operating fine now.
Thanks,
Thanks,
> I recently upgraded to 7.2 suse and seem to have some issues with the gnu
> compilers.
>
> When using g++ with a simple 'hello world' program I get this error :
> ~> g++ test.C
> g++: installation problem, cannot exec `cc1plus': No such file or directory
You program should look like this:
// TEST.CPP Tests G++ compiler and GNU libraries
#include <iostream.h>
main()
{
cout << "hello world\n" << endl;
return(0);
}
then do:
poincare@linux:~/cprog > g++ -c test.cpp
poincare@linux:~/cprog > ls test*
test.cpp test.o
poincare@linux:~/cprog > g++ -o TEST test.o
poincare@linux:~/cprog > TEST
hello world
| < Previous | Next > |