delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/03/11:50:16

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Vin Shelton <vshelton AT aoainc DOT com>
Subject: Re: crosstool-0.42 & cygwin
Date: Tue, 03 Oct 2006 11:42:38 -0400
Lines: 37
Message-ID: <452284EE.2000305@aoainc.com>
References: <C5FA313C3121D542B2BA5E22B1117F6803B40F22 AT slxcg03 DOT csw DOT l-3com DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
In-Reply-To: <C5FA313C3121D542B2BA5E22B1117F6803B40F22@slxcg03.csw.l-3com.com>
X-IsSubscribed: yes
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

kyle wrote:
> When running demo-ppc603.sh under cygwin, I get odd errors.  It appears that
> resources are being consumed from Windows and the script eventually fails.
> I read the the mailing list archives and changed the default heap sizes in
> Windows to twice their original size... this did not fix the problem.   Has
> anyone else seen these types of problems when running crosstool?

Did you see the following note from
http://www.kegel.com/crosstool/crosstool-0.42/doc/crosstool-howto.html:


Crosstool, and probably gcc and glibc's configure scripts, assume that 
directory names do not contain any spaces. This is often violated on 
Windows. Please take care to not use directory names with spaces in them 
when running crosstool. It might work, but if it doesn't, you've been 
warned. (Same goes for Mac OS X.)

crosstool creates some really deeply nested directories while building, so 
filenames are quite long. This has two consequences:

First, on some versions of Windows, filenames (including directory) can't be 
longer than 240 chars. To avoid exceeding this limit, don't run crosstool in 
a directory with a long name.

Second, the maximum length of commandlines is extremely short. Since 
crosstool uses commandlines that include multiple filenames, they can exceed 
the limit very quickly. You can avoid this problem by using the "mount" 
command's options. e.g. mount /bin and /usr/bin with -X or "-o cygexec" (see 
the cygwin faq, and/or mount the crosstool directory with "-o managed" (see 
the cygwin doc for "mount").


It's easy to run afoul of either of these two.

HTH,
   Vin Shelton



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