Re: Building PIC fortran libraries?
Randolph Chung writes:
> > > The fortrain library libg2c is built as a non-PIC archive in the default
> > > gcc package (at least it was on ia64). On some architectures, linking
> > > non-PIC code into PIC shared objects is not allowed (ia64, hppa,
> > > mips{,el}, etc). This causes applications that try to build fortrain
> > > shared objects (pdl for example) to fail.
> > >
> > > Would it be possible to build libg2c as a PIC library?
> >
> > see #104250. But this is another reason. I'll backport it, if it's
> > in 3.1 ;)
>
> FYI I've applied the attached patch to gcc-2.96 for IA64. It is a rather
> simple-minded brute force way for us to get things like gimp to build :)
>
> This will be in gcc-2.96_2.96-5
for which architectures should the patch be enabled (besides ia64?)
Reply to: