Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Peter Petrakis <ppetrakis@alphalinux.org>
To: axp-list@redhat.com
Subject: stopping ./configure from choking on use of ccc/cxx
Date: Tue, 02 Jan 2001 21:29:58 -0500	[thread overview]
Message-ID: <3A528EA6.DE1AED22@alphalinux.org> (raw)

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!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."




             reply	other threads:[~2001-01-03  2:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-03  2:29 Peter Petrakis [this message]
2001-01-03 10:18 ` stopping ./configure from choking on use of ccc/cxx Alan Young
2001-01-03 12:22   ` Peter Petrakis
2001-01-03 19:04     ` Alan Young
2001-01-04  7:50       ` stopping ./configure from choking on use of ccc/cxx (LONG) Alan Young
2001-01-04 13:43         ` Adam C Powell IV
2001-01-05  3:32           ` Alan Young
read-only archive

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