From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11285 invoked from network); 18 Jan 2004 19:34:46 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Jan 2004 19:34:46 -0000 Received: (qmail 29297 invoked by alias); 18 Jan 2004 19:34:32 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7001 Received: (qmail 4909 invoked from network); 18 Jan 2004 19:07:51 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 18 Jan 2004 19:07:51 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [66.92.151.30] by sunsite.dk (MessageWall 1.0.8) with SMTP; 18 Jan 2004 19:7:51 -0000 Received: from chuckr.org (may.chuckr.org [66.92.151.44]) by april.chuckr.org (Postfix) with ESMTP id 0B03D11FAE for ; Sun, 18 Jan 2004 13:38:39 -0500 (EST) Message-ID: <400AD986.9070708@chuckr.org> Date: Sun, 18 Jan 2004 14:07:50 -0500 From: chuckr User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: zsh-users@sunsite.dk Subject: cross-compiling Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I have a Linux PDA, a Sharp Zaurus running Linux 2.4.20, and I like to cross-compile my applications on my main Intel Linux box sitting next to it, connected via usb networking. Your configure script does nicely realize that it's doing cross-compiling, and it even goes an extra step, if I don't give it any of the --target, --build, or --host flags, it gets it from the fact that the gcc in the path isn't making intel code. The problem is, in your configure script, the section that's setting setpgrp, it's detecting that it is doing that cross-compiling, and seems to be reacting by yielding ann error and dying immediately and unconditionally (configure line 8478, search for getpgrp, then "cross".) This really needs fixing. I guess I could have it wrong, but I tried just about any combination of flags I could imagine (including those that work for other packages). If I have it wrong, if you'd please correct me, and also you might want to consider a line in the INSTALL file saying how to get that done, many folks having PDAs want to do cross compiling, you want to allow for that. Thanks very much!