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

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