Mail Archives: cygwin/2006/09/30/23:18:23
On 01 October 2006 03:43, Tom Lee wrote:
>> According to Tom Lee on 9/29/2006 10:23 PM:
>>> when I copy cpp.exe and all cygwin related dll to another computer, I got
>>> the error: cpp: installation problem, cannot exec 'cc1': No such file or
>>> directory
>>
>> Are you SURE you copied all things cygwin related?
>
>
> Just checked if I just want to run cpp and copy
> C:/cygwin/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe over, it works fine.
Nope, it's still broken. You didn't copy over the fixed includes, you
didn't copy over libgcc, you left out loads of stuff. It's really difficult
to copy applications from one machine to another like this and not miss
anything out.
Instead, copy setup.exe and the entire downloaded local package directory
(where setup.exe stored the downloaded files) to the new machine, run
setup.exe and tell it to "install from local directory", using the copied
package dir. That'll set up a complete and correct cygwin installation on the
new machine with all the same packages as the old one.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -