From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin v. Loewis" To: ach@mpe.mpg.de Cc: egcs@egcs.cygnus.com Subject: Re: gcc and g++ compilation option to add -rpath (not in FAQ) Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: <199903182258.XAA00711@mira.isdn.cs.tu-berlin.de> References: <199903182141.WAA04071@o06.xray.mpe.mpg.de> X-SW-Source: 1999-03n/msg00649.html Message-ID: <19990331234600.pBZbNrCgZcuksr-sJLRKwxNaRiaNwOpAlZRpvrejwL8@z> > One solution might be to put a ld wrapper into /bin > that add -rpath ... to the arguments before it invokes the real ld. But > Hope that there is a way to specify it during configure/bootstrap > time so I don't have to cheat. You don't have to configure the compiler differently. Just modify the file 'specs' found in the same directory where 'cc1' is installed. Regards, Martin