This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/15249] Installation of shared libgnat and libgnarl on hppa*
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2004 23:16:09 -0000
- Subject: [Bug ada/15249] Installation of shared libgnat and libgnarl on hppa*
- References: <20040502174022.15249.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-05-03 23:16 -------
Subject: Re: Installation of shared libgnat and libgnarl on hp
> ------- Additional Comments From wilson at specifixinc dot com 2004-05-03
> 22:33 -------
> Subject: Re: Installation of shared libgnat and libgnarl on
> hppa*
>
> dave at hiauly1 dot hia dot nrc dot ca wrote:
> > This usually is a result of not using the "-fPIC" option when compiling
> > object modules.
>
> This is probably bug 15102. adalib can only be built from scratch in a
> clean tree. If you try a rebuild, or a build after gnatlib_and_tools,
> it will fail.
Yes, looks to be the same problem.
I have the sense that the reason shared libraries didn't build
in the first place is because we have in link.c:
char shared_libgnat_default = STATIC;
In Makefile.in, we have
GNATLIB_SHARED = gnatlib-shared-dual
It looks as if this should cause shared libraries to build.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15249