This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Relocating the ToolChain


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... 
=======================================================================


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]