Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 21:27:36 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-alpha@freebsd.org
Subject:   ccc vs. libtool
Message-ID:  <998i08$voq$1@kemoauc.mips.inka.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?998i08$voq$1>