Print the major components and their version when calling "make help".
1 Message-Id: <200308020452.h724q0n01509@r-rr.iij4u.or.jp>
3 Cc: kkojima@rr.iij4u.or.jp
4 Subject: Re: Writing PIC version of __udivsi3_i4?
5 In-Reply-To: Your message of "Fri, 01 Aug 2003 21:15:27 -0700"
6 <3F2B3ADF.6030206@kegel.com>
7 References: <3F2B3ADF.6030206@kegel.com>
8 Date: Sat, 02 Aug 2003 13:58:05 +0900
9 From: kaz Kojima <kkojima@rr.iij4u.or.jp>
11 Dan Kegel <dank@kegel.com> wrote:
12 > It seems it might be from gcc's spec file:
14 > *subtarget_link_spec:
15 > %{shared:-shared} %{!static: %{rdynamic:-export-dynamic} %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2} %{!rpath:-rpath /lib}} %{static:-static}
17 > as the only place -rpath showed up was in the output of gcc -v as it
18 > was linking libc.so.
20 > Well, that's a clue, anyway! Guess I'll dig through the spec files
21 > tomorrow to see if I can figure it out some more.
23 I've grepped gcc/config/*/*.h and found only SH and old libc1 stuffs
24 of i386/alpha include %{!rpath:-rpath ... in 3.3 release and the
25 current CVS. And my sh-gcc's specs doesn't have this :-(
26 It would be the Right Thing to remove this stuff simply. How about
32 --- gcc-3.3/gcc/config/sh/linux.h.orig Sat Aug 2 13:20:57 2003
33 +++ gcc-3.3/gcc/config/sh/linux.h Sat Aug 2 13:22:42 2003
34 @@ -48,8 +48,7 @@ do { \
37 %{rdynamic:-export-dynamic} \
38 - %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2} \
39 - %{!rpath:-rpath /lib}} \
40 + %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \
43 /* The GNU C++ standard library requires that these macros be defined. */