Question : Running g++ on AIX 5.2.0.0

Hello,

I need hand-holding on getting an existing g++ install to run on AIX 5.2.  We do *not* have a license to the IBM c++ compiler, only to the c-compiler.  If I've missed critical information please give me a hint how to *find* that information, since I may just not know.

$ g++ -v
Using builtin specs.
gcc version 2.95.2 19991024 (release)

$ more test.cpp
#include

main() {
 for (;;) {
  cout << "Hello World!";
  }
 }

$ g++ test.cpp -o test
cpp: installation problem, cannot exec `cpp': The parameter or environment lists are too long.

Any ideas what's going on?  Googling the error-message itself was unhelpful.
-Johnny

Answer : Running g++ on AIX 5.2.0.0

You can lenghten parameter list from default 4k in smitty chgsys.
GNU utilities sometimes prefer /usr/local/bin before /usr/bin in path, sometimes they need some more of *.dat.* bff filesets installed.
There are multiple gcc-s, one from aixpdslib, one from bullfreeware, one from aix linux toolkit, most likely change will improve matters
Random Solutions  
 
programming4us programming4us