stupid newbie question
robert at linuxfromscratch.org
Sun Jul 31 11:51:33 PDT 2005
On July 31, 2005 12:01 pm, Jaap Struyk wrote:
> Is there a way to check if something I compiled is pic?
> I like to follow the blfs book, but how can I tell that jpeglib (or
> something else) is working properly? (a binairy is runable, so if it's
> non-pic it will bail out like unzip did)
readelf -d /usr/lib/libjpeg.so | grep TEXTREL
It also works on programs when they're linked with -pie. Nothing in the system
should have TEXTREL sections.
More information about the hlfs-dev