From owner-freebsd-alpha Fri Jun 8 15:11:13 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from suntana.fh-konstanz.de (suntana.fh-konstanz.de [141.37.9.230]) by hub.freebsd.org (Postfix) with ESMTP id B203C37B401 for <freebsd-alpha@FreeBSD.ORG>; Fri, 8 Jun 2001 15:11:10 -0700 (PDT) (envelope-from vahe@fh-konstanz.de) Received: from vvl10 (vvl10.fh-konstanz.de [141.37.112.110]) by suntana.fh-konstanz.de (8.9.3+Sun/8.9.3) with SMTP id AAA26636 for <freebsd-alpha@FreeBSD.ORG>; Sat, 9 Jun 2001 00:11:05 +0200 (MET DST) Message-ID: <035101c0f068$913f6590$7c45fea9@vvl10> From: "Vahe Khachikyan" <vahe@fh-konstanz.de> To: <freebsd-alpha@FreeBSD.ORG> References: <200105301553.f4UFrjA86482@freefall.freebsd.org> Subject: (ccc & libtool) II Date: Sat, 9 Jun 2001 00:15:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-alpha.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo?subject=subscribe%20freebsd-alpha> List-Unsubscribe: <mailto:majordomo?subject=unsubscribe%20freebsd-alpha> X-Loop: FreeBSD.org Hi, If you remember there was a question about libtool not recognizing Compaq's CCC as compiler able to produce PIC. And there is patch for the libtool that can be found somwhere in this mailing ist archives. But it seems that this doesn't solve the problem. I have just a particular example with PHP. steps are unpack the PHP delete the files ltmain.sh and ltconfig provided with PHP and make symlinks pointing to the same files of installed (patched) libtool. after that setenv CC "ccc -fast" ./configure (blah blah) Configure says: build shared librares. yes but the library file produced is not correct. As result Apache refuses to load the library. The file produced is too small in size (The file produced with the same steps (except the setenv ) with GCC is 100 times bigger) My opinion is that the libtool doesn't link the ccc produced code correctly. Some ideas/experiences ? -- Vahe --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message