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 w
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" ?
> >
> &g
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".
> Thi
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 invo
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
> > docu
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 t
Hi,
2 questions:
1) Is "gcc -r" officially supported by gcc?
It apparently works, but I can't find it documented anywhere in GCC's
documentation.
2) Is "gcc -r" any different from using "gcc -Wl,-r"?
Ralf