Relocating the ToolChain

Chris MacGregor chris@bouncingdog.com
Mon Sep 24 07:36:00 GMT 2007


Ernest L. Williams Jr. wrote:
> Hi,
> ...
> 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 suggest that you try the fix-embedded-paths program included with and 
built by crosstool.  While a bit scary in concept (editing binaries is 
not generally the first approach one would want to try), it seems to 
work quite nicely in practice.

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



More information about the crossgcc mailing list