The charm of Sun's Freeware collectionPresented on a stock install Solaris 9:
$ cat hello.cpp
#include <iostream.h>
main()
{
cout << "Hello World!\n";
}
$ g++ hello.cpp
$ ./a.out
ld.so.1: a.out: fatal: libstdc++.so.2.10.0: \
open failed: No such file or directory
Killed
(Line wrapping added for clarity.) To get the Sun Freeware g++ working, the magic solution is ' The irony here is that the Sun Freeware g++ has already been
configured to look in If I have to use g++ on Solaris much, I expect I'll just write a cover script for gcc and g++ that just always adds that argument. (Or replace the g++ version entirely, since it is gcc 2.95.3.) Update: courtesy of the htdig FAQ,
another workaround is to set the (2 comments.)
|
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |