[Top][All Lists]

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

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

From: Simon Richter
Subject: Re: Problem on rs6000-ibm-aix4.3.2.0 (Fortran) -DPIC
Date: Thu, 16 Jan 2003 02:55:35 +0100
User-agent: Mutt/1.4i


> I think you can ignore inline assembler for anything other than
> C (including C++).  I've never thought about it, but inline assembler
> in Fortran code sounds truly frightening!  Anyway, if it was so
> important, why doesn't the compiler define it for you?

Current gcc defines __PIC__ and __pic__ if -fPIC or -fpic is used (this
is defined in the specs file), and actually this is the right way to do
it, but I fear that people are still using #ifdef PIC because they have
seen it defined on the command line and are not aware of __PIC__.

What would be needed is a good transition plan. For example, the
libtoolize command could list the incompatible changes since the last


GPG Fingerprint: 040E B5F7 84F1 4FBC CEAD  ADC6 18A0 CC8D 5706 A4B4

Attachment: pgpkp8qDkOo0Y.pgp
Description: PGP signature

reply via email to

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