Subject: Re: different behaviour of system cc and TOOLDIR/cc
To: Matthias Drochner <>
From: Todd Vierling <>
List: tech-toolchain
Date: 06/10/2003 14:42:15
On Tue, 10 Jun 2003, Matthias Drochner wrote:

: Is there a preference for -rpath (as used in vs -R
: (as in Would look better to have it unified.

-rpath is not accepted by "cc", so it requires -Wl prepended.  On the other
hand, -R can be passed directly to "cc" (so this is what I'd recommend
using, also in <>).

The inspiration for having "cc" accept "-R" directly comes from SysV,
specifically Solaris, whose "cc" also accepts it directly.  There are quite
a few gcc targets now that accept "-R" on the "cc" command line.

-- Todd Vierling <>