From owner-freebsd-alpha Tue Mar 20 13:35:43 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id D6AC337B71A for ; Tue, 20 Mar 2001 13:35:38 -0800 (PST) (envelope-from daemon@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 14fTkm-00009p-00; Tue, 20 Mar 2001 22:33:20 +0100 Received: (from daemon@localhost) by kemoauc.mips.inka.de (8.11.3/8.11.1) id f2KLRaO32547 for freebsd-alpha@freebsd.org; Tue, 20 Mar 2001 22:27:36 +0100 (CET) (envelope-from daemon) From: naddy@mips.inka.de (Christian Weisgerber) Subject: ccc vs. libtool Date: Tue, 20 Mar 2001 21:27:36 +0000 (UTC) Message-ID: <998i08$voq$1@kemoauc.mips.inka.de> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-alpha@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm writing this to background music played by a completely ccc-compiled Ogg Vorbis player... 1. Position-independent code? What's the situation regarding PIC on alpha? libtool defaults to building with -fPIC on FreeBSD. I haven't found any such option in the ccc man page. libtool assumes that the native OSF/1 compiler produces PIC code by default. I've extended this to ccc, and it appears to work. 2. Detecting ccc? In order to properly patch libtool, I need to detect that the compiler is ccc. I'd hate to do this by name only. Is there an equivalent to gcc's __GNUC__ define? (Do we lose this by using our own cpp?) -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message