Solved

Problems building gcc on True64 Unix

Posted on 2000-03-21
1
398 Views
Last Modified: 2008-03-10
 gcc built, but when I try to run it it gives the following
message:

cpp: installation problem, cannot exec `cpp': Arg list too long

If I run it with -v, the ouput is over 300,000 characters
all but the first couple hundred are arguments to
cpp.

Any ideas?

Thanks,
   Ken
0
Comment
Question by:klopter
1 Comment
 

Accepted Solution

by:
salikova earned 100 total points
ID: 2643234
You would check following items:
 
1) gcc -v ( I use gcc v2.8.1)
Reading specs from /usr/local/lib/gcc-lib/i486-lynx-lynxos/2.8.1/specs
gcc version 2.8.1
 
2) ls /usr/local/lib/gcc-lib/i486-lynx-lynxos/2.8.1/
SYSCALLS.c.X    cc1plus*        libgcc.a        
cc1*            cpp*            libobjc.a      
cc1obj*         include/        specs
 
3) /usr/local/lib/gcc-lib/i486-lynx-lynxos/2.8.1/cpp -v AnyFile.c
GNU CPP version 2.8.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/i486-lynx-lynxos/include
 /usr/local/lib/gcc-lib/i486-lynx-lynxos/2.8.1/include
 /usr/include
....
 
 
If You saw like messeges, then you would describe ENVIRONMENT VARIABLES of gcc,
which is desribed in /usr/local/info/gcc.info-28.
Or you can write next script in /usr/local/bin/cpp
#!/bin/bash
/usr/local/lib/gcc-lib/i486-lynx-lynxos/2.8.1/cpp -traditional "$@"
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now