X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Vin Shelton Subject: Re: crosstool-0.42 & cygwin Date: Tue, 03 Oct 2006 11:42:38 -0400 Lines: 37 Message-ID: <452284EE.2000305@aoainc.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/