On Wed, Mar 01, 2006 at 03:19:18PM +0000, Andrew Haley wrote: > H. J. Lu writes: > > On Wed, Mar 01, 2006 at 02:11:21PM +0000, Andrew Haley wrote: > > > H. J. Lu writes: > > > > > > > > The fix was posted at > > > > > > > > http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01486.html > > > > > > If it still works, please check it in. > > > > Ooops. The correct patch is > > > > http://gcc.gnu.org/ml/gcc-patches/2004-09/msg00663.html > > > > for ltmain.sh. Libtool is braindead when libgcc_s is involved. Should > > I check it in once it is verified? > > That doesn't look right: we _need_ the rpath for gij to be in the install dir.
There are 2 gij, one for installation and one for build. We do want the installed dir in the rpath of the installed gij. But we don't want it in the rpath of the gij used for build. My patch only removes the installed dir from the rpath of the gij used for build. The rpath of the installed gij is unchanged. H.J.