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

Re: Fix objc testsuite (was: Re: objc failures on branch)


Alexandre Oliva <aoliva@redhat.com> writes:

> On Mar  7, 2001, Andreas Jaeger <aj@suse.de> wrote:
> 
> > Ok to commit to both branches?
> 
> > 	* testsuite/lib/objc.exp (objc_target_compile): Path --rpath for
> > 	libgcc_s.so.
> 
> Err...  This might work on GNU/Linux and other platforms using GNU ld,
> but --rpath is certainly not a generic linker flag.  I don't think we
> want to break all other platforms.  IIRC, someone has already posted a
> patch that adds ${rootme} to LD_LIBRARY_PATH, which should be enough
> for objc.exp.

I've tested that other patch and it does not work at all.  I don't
have a better solution at hand and would appreciate some guidance how
to fix this correctly in a platform independend way.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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