Re: What is the difference between Scrt1.o and crt1.o?

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

 



On Thu, 2021-04-22 at 11:22 -0500, Peng Yu wrote:
> These options are quite confusing. I have a hard time understanding
> the difference they are. Can anybody have a clear explanation (not
> just how they are used, but also the underlying reasons why it is so)
> for them?
> 
> -fpic  -fPIC  -fpie  -fPIE

-fpic and -fPIC has some differences on several architectures, but not
on x86 (32-bit or 64-bit).  For the details run "man gcc" in your
terminal.

Generally, when you get any questions about a command line parameter for
a program named "foo" (for example), you should at first invoke "man
foo".
-- 
Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux