Mail Archives: cygwin/2004/01/09/13:23:48
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 -