------- Comment #13 from iains at gcc dot gnu dot org  2010-07-12 13:28 -------
(In reply to comment #12)
> (In reply to comment #10)
> 
> > Is there any cross-tool known to support plugins? (I get no response for
> > cris-elf, s390x, mipsia64 and armel-linux-gnueabi).  No error, just silently
> > skips all plugin tests.
> 
> hmm this is a configury/make issue (possibly darwin-specific), 
> I suspect that the switch changes to deal with linker attributes are being
> driven on target keys and not on host ones.

 nope, not that :

  case "${host}" in
    *-*-darwin*)
      CFLAGS=`echo $CFLAGS | sed s/-mdynamic-no-pic//g` <== a local change I
made for powerpc.
      CFLAGS="$CFLAGS -fPIC"
      LDFLAGS="$LDFLAGS -shared -undefined dynamic_lookup"
    ;;
    *)
      CFLAGS="$CFLAGS -fPIC"
      LDFLAGS="$LDFLAGS -fPIC -shared"
    ;;
  esac

I'll have to check the config.log more carefully.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42843

Reply via email to