armv7, building p7zip and -fPIC
Mark Linimon
linimon at lonesome.com
Sat Oct 7 21:48:53 UTC 2017
On Sat, Oct 07, 2017 at 01:09:47PM -0600, Ian Lepore wrote:
> This is really not just an armv7-only thing, the -fPIC flag should
> always be used.
OK, I'm going to admit some ignorance and prepare to take my beating.
The last time I tried to pepper some -fPIC flags around without knowing
what I was doing, I was told (in no uncertain terms) that I didn't know
what I was doing. While this was true I wasn't happy with the way I was
told :-)
So can you please provide a "-fPIC for dummies" summary? I'll add it to
the wiki.
(In my old embedded systems days, we didn't need all this fancy stuff;
you just stuffed your statically-linked result in the 64KB EPROM and you
were done.)
mcl
More information about the freebsd-arm
mailing list