Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* CCC and shared libs
@ 2000-10-07 16:52 Greg Meno
  2000-10-15  3:13 ` Alan Young
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Meno @ 2000-10-07 16:52 UTC (permalink / raw)
  To: axp-list

Hello,

	recently I have been attempting to build mesa3.3 with
CCC but I can't seem to get it to build shared libs.
I've ran configure --enable-shared and even spent 3
hours or so trying to fiddle with the configure
script, but it always builds static libs. Is there a
good reason for this? 

TIA
Greg Meno
sig: <null>

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CCC and shared libs
  2000-10-07 16:52 CCC and shared libs Greg Meno
@ 2000-10-15  3:13 ` Alan Young
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Young @ 2000-10-15  3:13 UTC (permalink / raw)
  To: axp-list

Hi Greg,

Sorry for the late reply, but I've been on vacation and
haven't seen a follow up so I'll add my 2 cents...

I've seen this on a number of packages.  For some reason the
configure script generator does not think ccc (or maybe things
other than gcc) can generate shared libs.  I've worked around
it (and hopefully correctly) by editing the generated libtool
file changing two things.  First, edit the file and find
build_libtool_libs and change it to equal yes.  Then do a find
on --rpath and change it to space -rpath (that is change the
first of the dashes to a space).  This works around a
bug/difference of command line switches of ccc vs. gcc.

HTH,
Alan

Greg Meno wrote:
> 
> Hello,
> 
>         recently I have been attempting to build mesa3.3 with
> CCC but I can't seem to get it to build shared libs.
> I've ran configure --enable-shared and even spent 3
> hours or so trying to fiddle with the configure
> script, but it always builds static libs. Is there a
> good reason for this?
> 
> TIA
> Greg Meno
> sig: <null>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-15  3:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-07 16:52 CCC and shared libs Greg Meno
2000-10-15  3:13 ` Alan Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox