On Wed, Jan 15, 2003 at 05:23:33PM -0500, Boehne, Robert wrote:
> Good point, we never really resolved this issue.
>   All in favor of dropping -DPIC entirely say "I"!

WE :)

> Robert
> 
> -----Original Message-----
> From: Albert Chin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 15, 2003 4:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem on rs6000-ibm-aix4.3.2.0 (Fortran)
> 
> 
> On Wed, Jan 15, 2003 at 02:22:15PM -0500, Boehne, Robert wrote:
> > I will look into this, but FYI, -DPIC should not be passed when
> > compiling Fortran.
> 
> Why should -DPIC be passed at all for any compiler?
> 
> > Thanks,
> >
> > Robert
> >
> > -----Original Message-----
> > From: Steve Edwards [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 15, 2003 1:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: Problem on rs6000-ibm-aix4.3.2.0 (Fortran)
> >
> >
> > I have just run into problems trying to use libtool on a
> > rs6000-ibm-aix4.3.2.0 system to build a library written in Fortran with
> > the IBM compiler xlf/xlf90.
> >
> > There is an immediate compilation failure stating:
> >
> > xlf90: 1501-210 command option P contains an incorrect subargument
> >
> > libtool appears to insist on adding -DPIC to the compile command which
> > is being interpreted very differently by the IBM compiler than g77 would
> > treat it.
> >
> > I've searched the mail archives and found two references to this
> > 'feature' but haven't come across any messages suggesting a method for
> > curing it.
> >
> > As this is on rs6000 architecture, I got around the problem by modifying
> > the libtool script to remove the addition of -DPIC but have no idea if
> > this breaks something vitally important (it appeared to work okay).
> >
> > Steve
> 
> --
> albert chin ([EMAIL PROTECTED])
> 
> 
> _______________________________________________
> Libtool mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/libtool
> 

> _______________________________________________
> Libtool mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/libtool


-- 
albert chin ([EMAIL PROTECTED])


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to