delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/01/13:46:40

X-Spam-Check-By: sourceware.org
Date: Sun, 1 Oct 2006 13:46:24 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dave Korn <dave DOT korn AT artimi DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: mssing packages for cygwin
In-Reply-To: <03d001c6e508$36a1f2c0$a501a8c0@CAM.ARTIMI.COM>
Message-ID: <Pine.GSO.4.63.0610011340410.23682@access1.cims.nyu.edu>
References: <03d001c6e508$36a1f2c0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019