On Mon, Jul 30, 2001 at 06:43:44PM -0400, Raul Miller wrote: > On Tue, Jul 31, 2001 at 12:25:34AM +0300, Richard Braakman wrote: > > How much of a C reference is it? > > It's gcc specific, is it not?
Yes but gcc has a shared backend for multiple languages :-) It wouldn't surprise me if they all use the same flag for this. > Still, it's easy to fix the above statement, without losing any of the > detail, simply by using a different tense: > > The shared version would be compiled with -fPIC, and the static > version would not be. In other words, each *.c file would need to be > compiled twice. I would support this. > > IIRC, policy specifies -fPIC specifically because -fpic does not work > > right on all architectures. I think that trying to prescribe different > > flags for different architectures will cause insanity. Remember, > > there's only one source package. > > This makes no sense to me. Did you mean to say that -fPIC works right > on all platforms? Hmm... you may have missed the case distinction. -fPIC and -fpic are both flags which do approximately the same thing, but -fpic did not work right on some architectures. I don't think I ever heard the details. I remember trying to find out in order to write a Lintian check for it :) -- Richard Braakman Will write free software for money. See http://www.xs4all.nl/~dark/resume.html

