On Fri, 18 Feb 2005, Christopher Li wrote:
>
> OK, I resend this one without the -fPIC flags so it doesn't
> affect other part of the build in any way. Seems works for me.
I _think_ you want "-fpic". Without any kind of -fPIC/pic, the code won't
be suitable for a shared library on many platforms.
The difference between -fPIC and -fpic is architecture-dependent, but it
basically boils down to "-fPIC always works, but -fpic is smaller and
faster by having limits that may make it unsuitable for large projects".
Sparse is definitely small enough that "-fpic" shoulf be fine.
Somebody who builds shared libraries more, please correct me/us.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html