delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/09/13:23:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 9 Jan 2004 13:23:31 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Ashwin Bihari <raz0redge AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Compiling Linux Kernel yields Error 255
In-Reply-To: <BAY9-F45SVMum03yMJi00044e39@hotmail.com>
Message-ID: <Pine.GSO.4.56.0401091317460.10405@slinky.cs.nyu.edu>
References: <BAY9-F45SVMum03yMJi00044e39 AT hotmail DOT com>
MIME-Version: 1.0

On Fri, 9 Jan 2004, Ashwin Bihari wrote:

> Greetings,
>
> I've gone and compiled GCC 3.3.1 to be a cross-compiler for PPC. I can
> compile simple programs with my cross-compiler, take it to the PPC target
> and have it work. I am now trying to take it to the next step and compile
> the kernel. When I tried to do the "depends" I got the following.
>
> -----------
> scripts/mkdep -- init/*.c > .depend
> scripts/mkdep -- `find /cygdrive/d/Tools/linux-2.4.20/include/asm /cygdrive/d/Tools/linux-2.4.20/include/linux /cygdrive/d/Tools/linux-2.4.20/include/scsi /cygdrive/d/Tools/linux-2.4.20/include/net /cygdrive/d/Tools/linux-2.4.20/include/math-emu \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
> make: *** [dep-files] Error 255
> -----------
>
> Basically it's finding all the *.h files and doing the dependencies, I tried
> this command with the regular shell and this yields about 927 .H files or
> so.
>
> I searched this list and found that others have had problems either with
> pipes/redirection or really long command line parameters. But the things
> that did work for others didn't work for me.
>
> I'm running the latest Cygwin with DLL version 1.5.5-1. Any and all ideas
> appreciated.
>
> ~Ashwin

In exactly what way didn't the "things that worked for others" work for
you?  Does the 'xargs' command help?  Please let the list know what you've
tried (preferably with exact command lines and error messages).  Do they
work if you run the expanded command from a shell script?

FYI, you can also shorten the parameter list *a lot* by using either a
symlink from the root directory or a mount to remove the prefix paths
(e.g., "ln -s /cygdrive/d/Tools/linux-2.4.20/include /li").
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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