SUMMARY: problem with g++

From: Kazeminejad, Kayvan <Kayvan.Kazeminejad_at_boe.ca.gov>
Date: Wed Feb 20 2002 - 16:00:51 EST
Thank you all for your help.  As many pointed out I had toe set the
environment variable as such:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib; export LD_LIBRARY_PATH

Many thanks,

kayvan

"Kazeminejad, Kayvan" wrote:
>
>  hi all,
> the gcc works fine for c programs.  however i can not compile any c++
> programs. below is the program, os, and the first few lines of the many
> errors i receve.  help please.
>
>      1  #include  <iostream.h>
>      2
>      3  int
>      4  main()
>      5  { cout << "Hello World\n";  }
>      6
> ~
>
> /export/home/kk/src$ uname -a
> SunOS unknown 5.8 Generic_108529-09 i86pc i386 i86pc
> /export/home/kk/src$ g++ hello.cc
> Assembler: hello.cc
>         "/var/tmp/ccZgNx78.s", line 233 : Illegal mnemonic
>         "/var/tmp/ccZgNx78.s", line 233 : Syntax error
>         "/var/tmp/ccZgNx78.s", line 233 : Illegal mnemonic
>         "/var/tmp/ccZgNx78.s", line 233 : Illegal mnemonic
> .. snip ..
> Too many errors - Goodbye
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
<http://www.sunmanagers.org/mailman/listinfo/sunmanagers> 

--

    Yuri Pismerov, TUCOWS.COM INC.      (416) 535-0123  ext. 1352
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Feb 20 15:01:54 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:34 EST