From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Gm4IV-0001GK-RN for garchives@archives.gentoo.org; Mon, 20 Nov 2006 08:14:36 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAK8BGhY017816; Mon, 20 Nov 2006 08:11:16 GMT Received: from mpls-qmqp-01.inet.qwest.net (mpls-qmqp-01.inet.qwest.net [63.231.195.112]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAK8BFvG014688 for ; Mon, 20 Nov 2006 08:11:15 GMT Received: from mpls-pop-01.inet.qwest.net (mpls-pop-01.inet.qwest.net [63.231.195.1]) by mpls-qmqp-01.inet.qwest.net (Postfix) with QMQP id 581401A9A1F for ; Mon, 20 Nov 2006 03:16:09 +0000 (UTC) Received: from unknown (HELO ?10.33.3.6?) (206.53.51.4) by mpls-pop-01.inet.qwest.net with SMTP; 20 Nov 2006 03:16:09 -0000 Date: Sun, 19 Nov 2006 20:13:19 -0700 Message-Id: <200611192013.20330.corey@bitworthy.net> From: "Corey" To: gentoo-embedded@lists.gentoo.org Organization: BitWorthy Subject: [gentoo-embedded] cross compiling libperl User-Agent: KMail/1.9.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: c11658e6-0d7b-4326-b01c-5ac121aeda82 X-Archives-Hash: 33c80c1ec9804696510ae69df849fd2f Are there any patches for cross compiling libperl available? I'm running into (so far, at least one) issue where configure goes and attempts to test things by creating a simple c program ('try.c'), which fails to run because it compiled it using (in my particular case) i686-pc-linux-uclibc-gcc. Here's the output from the configure, as run through my crossdev: "I've tried to compile and run the following simple program: #include int main() { printf("Ok\n"); return(0); } I used the command: i686-pc-linux-uclibc-gcc -o try -O2 -DOVR_DBL_DIG=14 -I/usr/local/include -L/usr/local/lib try.c -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc ./try and I got the following output: /bin/sh: ./try: No such file or directory The program compiled OK, but exited with status 127." Here's the relevant portion from ./configure: : coherency check echo " " echo "Checking your choice of C compiler and flags for coherency..." >&4 $cat > try.c <<'EOF' #include int main() { printf("Ok\n"); return(0); } EOF set X $cc -o try $optimize $ccflags $ldflags try.c $libs shift $cat >try.msg <<'EOM' I've tried to compile and run the following simple program: EOM $cat try.c >> try.msg $cat >> try.msg <