AW: What are the options -fPIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> von Nishant desai
> Gesendet: Donnerstag, 22. Februar 2007 05:29
> An: linux-arm@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: What are the options -fPIC
> 
> Dear All,
> 
>           I have compiled my application with -fPIC option 
> for the cross-compile and it runs successfully.
> 
>           But I want to know that what are this -fPIC option 
> and what is the functionality of the -fPIC option?
> 
> Any suggestions will be appreciated.
> 
> Thanks & Regards,
> Nishant Desai

this option tells the compiler to produce relocatable code 

look at 'man gcc' or 'gcc --help -v'

greetings
Leopold


-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php


[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter