gcc: installation problem, cannot exec `cc1': No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I looked through the gcc-help archives and was able to locate the
problem that I am having:

I would like to relocate a gcc installation to another directory on
another computer but I get the famous:
==========================================================================
gcc: installation problem, cannot exec `cc1': No such file or directory
==========================================================================


Is there a way around this, without having to rebuild the toolChain and
GCC?  
I don't want to have to rebuild; every time I decide to zip up a GCC
distro and move to a different directory.  

Or is this just the way it is?


================== From the GCC-HELP archives ==========================
gcc -print-search-dirs 

This tells where your GCC-driver ('gcc')  tries to find the 'programs' 
like 'cpp', 'cc1*', 'as', 'ld' etc. first, before trying the PATH. 


The 'cpp', 'cc1*' etc. belonging to a specific version of GCC, 
SHOULDN'T be on the PATH,  how else one could install several 
GCC-versions on the same machine if it would be allowed? 
The native 'as' and 'ld' may be there but the $prefix/$target/bin 
will be searched first so the GNU as and GNU ld can be put there and 
GCC finds them before those in the PATH... 
=======================================================================




Thanks,
Ernesto


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux