From: Alan Young <ayoung@teleport.com>
To: axp-list@redhat.com
Subject: Re: stopping ./configure from choking on use of ccc/cxx (LONG)
Date: Thu, 04 Jan 2001 19:32:17 -0800 [thread overview]
Message-ID: <3A554041.909CB58E@teleport.com> (raw)
In-Reply-To: 3A547DFF.CF8010C9@mit.edu
[-- Attachment #1: Type: text/plain, Size: 361 bytes --]
Adam C Powell IV wrote:
>
> Looks good to me. Can you produce a patch against libtool so we can easily
> build/test it with this feature?
Try the attached patch against libtool-1.3.5 and let me know how it works...
> Thank you very much for doing this!
You are welcome! Thanks also to Peter Petrakis for "motivating" me into
fixing an annoyance! :-)
Alan
[-- Attachment #2: libtool-1.3.5-Compaq-ccc.patch --]
[-- Type: application/octet-stream, Size: 1109 bytes --]
--- ./ltconfig.orig Wed Jan 3 01:33:19 2001
+++ ./ltconfig Thu Jan 4 19:15:12 2001
@@ -758,8 +758,31 @@
link_static_flag='-Bstatic'
fi
;;
+ linux-gnu)
+ # Should really test the cpu type here too, but for now we'll assume
+ # that Compaq C (ccc) is only on the Alpha platform. If a non Alpha
+ # Linux compiler called ccc comes along, well, then this will need to
+ # be updated.
+ case "$compiler" in
+ ccc)
+ # According to the ccc manpage -shared is the default
+ # Do we need -call_shared too?
+ pic_flag='-shared'
+ can_build_shared=yes
+ ;;
+ gcc)
+ echo "Strange error in shared test - --with-gcc=no, but gcc has been selected" 1>&6
+ can_build_shared=yes
+ ;;
+ *)
+ can_build_shared=no
+ echo "Could not identify your Linux compiler - shared libraries will not be built" 1>&6
+ ;;
+ esac
+ ;;
*)
can_build_shared=no
+ echo "Could not identify your compiler - shared libraries will not be built" 1>&6
;;
esac
fi
prev parent reply other threads:[~2001-01-05 3:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-03 2:29 stopping ./configure from choking on use of ccc/cxx Peter Petrakis
2001-01-03 10:18 ` 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 [this message]
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