Mail Archives: cygwin/2006/10/01/13:46:40
On Sun, 1 Oct 2006, Dave Korn wrote:
> 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.
One thing that might work is
cygcheck -l gcc-core gcc-g++ | tar -T - -czf gcc_files.tgz
then copy gcc_files.tgz to the other machine and untar it.
> 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.
You'd have to tell setup to install everything -- otherwise you'll just
get a default set of packages.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
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 -