On Tue, 2008-12-09 at 07:19 -0800, Ian Lance Taylor wrote: > Ralf Corsepius <[EMAIL PROTECTED]> writes: > > > 1) Is "gcc -r" officially supported by gcc? > > > > It apparently works, but I can't find it documented anywhere in GCC's > > documentation. > > When invoking the linker, a -r option on the command line will be > passed to the linker. The same is true of -A, -d, -eSYM, -m, -N, -n, > -s, -t, -uSYM, -x, -z, -Z. This is not well documented.
OK, thanks for the explanation. > > 2) Is "gcc -r" any different from using "gcc -Wl,-r"? > > No. So what would you recommend: To use "gcc -r" or "gcc -Wl,-r" ? Ralf