This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 10/14/07, Tim Prince <tprince@computer.org> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]