Re: what is gcc -r (not mentioned in the man page) ?

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

 



On 10/14/07, Tim Prince <tprince@xxxxxxxxxxxx> wrote:
> Sunzir Deepur wrote:
> > Hi all,
> >
> > What is gcc -r option ? It is not mentioned in the gcc
> > man page but I saw it is used in some projects.
> >
>
> You don't want to tell us where you saw it.

Sorry. Here is an example from glibc building:

gcc -nostdlib -nostartfiles -r -o glibc-2.5-build/csu/gcrt1.o
glibc-2.5-build/csu/crt1.o
glibc-2.5-build/csu/gmon-start.o

> Maybe you could look to see if it invokes ld -r.

That was my guess too, but doesn't gcc needs to have -Wl, before linker param ?
or is -r a special one ?

Thank you,
sunzir

[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