This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/15249] Installation of shared libgnat and libgnarl on hppa*


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]