Solved

Problems building gcc on True64 Unix

Posted on 2000-03-21
1
394 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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

763 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

7 Experts available now in Live!

Get 1:1 Help Now