libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem on rs6000-ibm-aix4.3.2.0 (Fortran) -DPIC


From: Albert Chin
Subject: Re: Problem on rs6000-ibm-aix4.3.2.0 (Fortran) -DPIC
Date: Wed, 15 Jan 2003 16:39:37 -0600
User-agent: Mutt/1.4i

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:address@hidden
> Sent: Wednesday, January 15, 2003 4:11 PM
> To: address@hidden
> 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:address@hidden
> > Sent: Wednesday, January 15, 2003 1:03 PM
> > To: address@hidden
> > 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 (address@hidden)
> 
> 
> _______________________________________________
> Libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool
> 

> _______________________________________________
> Libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool


-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]