public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/43749]  New: installed gnat cannot find installed libraries when exec-prefix != prefix
@ 2010-04-13 20:19 dougsemler at gmail dot com
  2010-04-15  6:17 ` [Bug ada/43749] " chrisp_42 at bigpond dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dougsemler at gmail dot com @ 2010-04-13 20:19 UTC (permalink / raw)
  To: gcc-bugs

When building a compiler with --prefix=/some/dir and
--exec-prefix=/some/dir/subdir, the installed gnat cannot find the installed
libraries in /some/dir/subdir/lib/gcc/...

I believe that sdefault.adb should be generated with 

S0 : constant String := \"$(exec_prefix)/\";"
not
S0 : constant String := \"$(prefix)/\";"

in gcc/ada/Make-generated.in - when I modify as above, the installed gnat is
able to find the installed adainclude and adalib correctly.  (And the problem
doesn't occur in the build tree, so the issue isn't apparent until the
installed toolset is used).


-- 
           Summary: installed gnat cannot find installed libraries when
                    exec-prefix != prefix
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dougsemler at gmail dot com
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43749


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/43749] installed gnat cannot find installed libraries when exec-prefix != prefix
  2010-04-13 20:19 [Bug ada/43749] New: installed gnat cannot find installed libraries when exec-prefix != prefix dougsemler at gmail dot com
@ 2010-04-15  6:17 ` chrisp_42 at bigpond dot com
  2010-04-15  7:22 ` markus dot schoepflin at comsoft dot de
  2010-04-15 12:54 ` dougsemler at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: chrisp_42 at bigpond dot com @ 2010-04-15  6:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from chrisp_42 at bigpond dot com  2010-04-15 06:16 -------
This is a duplicate of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38493


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43749


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/43749] installed gnat cannot find installed libraries when exec-prefix != prefix
  2010-04-13 20:19 [Bug ada/43749] New: installed gnat cannot find installed libraries when exec-prefix != prefix dougsemler at gmail dot com
  2010-04-15  6:17 ` [Bug ada/43749] " chrisp_42 at bigpond dot com
@ 2010-04-15  7:22 ` markus dot schoepflin at comsoft dot de
  2010-04-15 12:54 ` dougsemler at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: markus dot schoepflin at comsoft dot de @ 2010-04-15  7:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from markus dot schoepflin at comsoft dot de  2010-04-15 07:21 -------
Looks like both are duplicates of
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15819. Back then it has been noted
that it's just not supported.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43749


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug ada/43749] installed gnat cannot find installed libraries when exec-prefix != prefix
  2010-04-13 20:19 [Bug ada/43749] New: installed gnat cannot find installed libraries when exec-prefix != prefix dougsemler at gmail dot com
  2010-04-15  6:17 ` [Bug ada/43749] " chrisp_42 at bigpond dot com
  2010-04-15  7:22 ` markus dot schoepflin at comsoft dot de
@ 2010-04-15 12:54 ` dougsemler at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dougsemler at gmail dot com @ 2010-04-15 12:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dougsemler at gmail dot com  2010-04-15 12:53 -------
You're right.  When I searched for it, it reported no bugs found (sigh).

And I see my solution is exactly the same as 38493.

*** This bug has been marked as a duplicate of 38493 ***


-- 

dougsemler at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43749


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-15 12:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-13 20:19 [Bug ada/43749] New: installed gnat cannot find installed libraries when exec-prefix != prefix dougsemler at gmail dot com
2010-04-15  6:17 ` [Bug ada/43749] " chrisp_42 at bigpond dot com
2010-04-15  7:22 ` markus dot schoepflin at comsoft dot de
2010-04-15 12:54 ` dougsemler at gmail dot com

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).