This is the mail archive of the gcc@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: gcc -r


Ralf Corsepius <ralf.corsepius@rtems.org> 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.

> 2) Is "gcc -r" any different from using "gcc -Wl,-r"?

No.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]