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