public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Basile STARYNKEVITCH <basile@starynkevitch.net>
To: gcc Mailing List <gcc@gcc.gnu.org>
Subject: libstdc++.so.6.0.*-gdb.py might be installed at the wrong place
Date: Thu, 23 Jul 2009 20:49:00 -0000	[thread overview]
Message-ID: <4A68CD35.1060001@starynkevitch.net> (raw)

Hello

Sometimes, I am building & installing (on Linux/AMD64/Debian/Sid) the 
trunk configured as

/usr/src/Lang/gcc-trunk/configure  '--program-suffix=-trunk' 
'--libdir=/usr/local/lib/gcc-trunk' 
'--libexecdir=/usr/local/libexec/gcc-trunk' 
'--with-gxx-include-dir=/usr/local/lib/gcc-trunk/include/c++/' 
'--disable-multilib' '--enable-maintainer-mode' '--enable-languages=c,c++'

I don't know much the internals of libstdc++. But apparently, a file 
/usr/local/lib/lib64/libstdc++.so.6.0.12-gdb.py (refered as i 
/usr/local/lib/gcc-trunk/../lib64/libstdc++.so.6.0.12-gdb.py somehow) s 
installed and it seems to be a python script for some future version of gdb.

I would believe that it is the wrong place to install such a file. (In 
particular it makes ldconfig unhappy, when /usr/local/lib/lib64 is scanned).

Shouldn't a python script for gdb be installed  outside of a directory 
supposed to contain only  ELF libraries?  Wouldn't a gdb specific  
subdirectory be a more appropriate place?

And I am surprised it is in trunk. I thought that python support is for 
future GDB release (probably gdb 7.0, not yet released). Shouldn't such 
a script belong more to contrib? Why is it installed? Is there any 
synchronisation between gdb & gcc releases?

But I agree I don't know much about all that, and the installation part 
of the Makefile.in is something which still scares me a lot (in 
particular because I don't understand all the file path conventions).

Regards.

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***

             reply	other threads:[~2009-07-23 20:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23 20:49 Basile STARYNKEVITCH [this message]
2009-07-24 14:33 ` Ian Lance Taylor
2009-07-24 14:56   ` Basile STARYNKEVITCH
2009-07-24 15:51 ` Tom Tromey
2009-09-03  5:08   ` Ryan Hill
2009-09-03  8:51     ` Jakub Jelinek
2009-09-03 17:59       ` Ralf Wildenhues
2009-09-03 20:55     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A68CD35.1060001@starynkevitch.net \
    --to=basile@starynkevitch.net \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).