From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 934152F7E7 for ; Tue, 2 Jan 2001 21:30:03 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f032U3E08969 for axp-list@listman.redhat.com; Tue, 2 Jan 2001 21:30:03 -0500 Received: from alphalinux.org (alphalinux.org [63.236.138.10]) by mail.redhat.com (8.11.0/8.8.7) with SMTP id f032U2D08964 for ; Tue, 2 Jan 2001 21:30:02 -0500 Received: (qmail 9960 invoked by uid 0); 3 Jan 2001 02:29:43 -0000 Received: from node-64-145-21-18.dslspeed.zyan.com (HELO alphalinux.org) (64.145.21.18) by alphalinux.org with SMTP; 3 Jan 2001 02:29:43 -0000 Message-ID: <3A528EA6.DE1AED22@alphalinux.org> Date: Tue, 02 Jan 2001 21:29:58 -0500 From: Peter Petrakis X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: stopping ./configure from choking on use of ccc/cxx Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors I know it's a long subject. Plenty enough keywords for a search engine to pick up. Alan Young had posted to the list previously a procedure that would allow configure to proceed when you used ccc. I've found a little easier way of doing the same thing. Say you want to build something using ccc. First alias gcc to ccc alias gcc=ccc Now configure depends on libtool (which defaults are usually NOT changed). What happens is autoconf doesnt recognize ccc and returns "can't build shared libraries". The quick and easy workaround? In the top level of the package you're trying to build do. ./ltconfig --with-gcc ltmain.sh You could use your own libtool instead (recommended) which is probably more up to date than whats provide with some packages. /usr/share/libtool/ltconfig --with-gcc /usr/share/libtool/ltmain.sh now when you run ./configure it will load what libtool has configured and accept it. Once you do this ccc and cxx work. I hope someone finds this usefull and if anyone needs further clarification just email. Peter -- www.alphalinux.org Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org "Oh my God! They killed Xena! You bastards!!" " Who the hell are you!? Name's Ash Housewares..."