Ralf Corsepius writes:
> So, my questions actually were aiming at
>
> * whether
> "gcc ... -nostdlib -r"
> and
> "gcc ... -nostdlib -Wl,-r"
> are equivalent
>
> * if the fact that "gcc -r" appears to work, can be exploited or whether
> this is a "random accident" and/or intentionally undocume
On Tue, 2008-12-09 at 08:10 -0800, Adam Nemet wrote:
> Ian Lance Taylor <[EMAIL PROTECTED]> writes:
> > Ralf Corsepius <[EMAIL PROTECTED]> writes:
> >
> >> So what would you recommend: To use "gcc -r" or "gcc -Wl,-r" ?
> >
> > Ah, when you put the question like that, I would recommend "ld -r".
> >
Ian Lance Taylor <[EMAIL PROTECTED]> writes:
> Ralf Corsepius <[EMAIL PROTECTED]> writes:
>
>> So what would you recommend: To use "gcc -r" or "gcc -Wl,-r" ?
>
> Ah, when you put the question like that, I would recommend "ld -r".
> This is the one case where you get no advantage from using the gcc
Ralf Corsepius <[EMAIL PROTECTED]> writes:
> So what would you recommend: To use "gcc -r" or "gcc -Wl,-r" ?
Ah, when you put the question like that, I would recommend "ld -r".
This is the one case where you get no advantage from using the gcc
driver to invoke the linker, and it can actually mess
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 t
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,