From: Doug Evans <dje@google.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches <gdb-patches@sourceware.org>
Subject: Re: path to find libcc1.so?
Date: Sat, 13 Dec 2014 21:49:00 -0000 [thread overview]
Message-ID: <CADPb22QdkAO+rR8UfkL+_-dRKmF2U9XDp+Raod4axd=jd4oOwg@mail.gmail.com> (raw)
In-Reply-To: <20141213201600.GA15686@host2.jankratochvil.net>
On Sat, Dec 13, 2014 at 12:16 PM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Sat, 13 Dec 2014 20:57:35 +0100, Doug Evans wrote:
>> Early adopters and those who want to contribute may find it preferable
>> to use, e.g., ~/.gdbinit.
>>
>> If this is something we eventually want to do, doing it now will help
>> people we want/need.
>>
>> Plus it's, what, 10 lines of (real) code?
>
> It is then questionable whether there should also be a GDB option where to
> find the GCC driver. Currently gcc/libcc1/findcomp.cc searches it in $PATH.
That is a good question.
If I configure gcc with a certain --prefix,
and link libcc1.so, with, say, --rpath,
do/should I need to do anything more?
[for a normal installation (libcc1.so has not been copied out of $prefix and
into some random directory) should libcc1.so be able to find its gcc
on its own?]
next prev parent reply other threads:[~2014-12-13 21:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-13 0:22 Doug Evans
2014-12-13 7:53 ` Eli Zaretskii
2014-12-13 18:56 ` Jan Kratochvil
2014-12-13 19:57 ` Doug Evans
2014-12-13 20:16 ` Jan Kratochvil
2014-12-13 21:49 ` Doug Evans [this message]
2014-12-13 22:12 ` Doug Evans
2014-12-14 20:46 ` Jan Kratochvil
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='CADPb22QdkAO+rR8UfkL+_-dRKmF2U9XDp+Raod4axd=jd4oOwg@mail.gmail.com' \
--to=dje@google.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
/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