Hi,
    Since I only have the binary of the object files.  How can I check 
if the object file is compiled with the -fPIC on?

Erik Mouw wrote:

>On Tue, Apr 09, 2002 at 07:08:10PM +0800, Jason Chan wrote:
>
>[followup set to linux-arm because this is NOT kernel related]
>
>>   I am trying to build a shared library from a set of object files 
>>(only binary, no source code) for ARM Linux. After I write a simple 
>>application to test the binary, I always get "error in loading shared 
>>libraries: /buffer/libtmp.so: R_ARM_PC24 relocation out of range" error 
>>message.
>>
>>Can anyone tell me how to build a share library for ARM Linux.
>>
>
>Use the -fpic flag. Or just use libtool to create libraries.
>
>
>Erik
>


-- 
Best Regards,

Jason Chan
Emsoft Ltd.




_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to