The problem was getting an alternate /usr/lib to ld(1);  it's probably possible
to do, but the GCC setup when I was doing it made it annoying.

Try adding "-Wl,-rpath-link,$(ROOT)/lib:$(ROOT)/usr/lib" or similar to the LDFLAGS.... That's what we use to cross compile our app. for NetBSD on solaris x86 -> mips

You might also need:
        -B$(ROOT)/lib -B$(ROOT)/usr/lib
        -L$(ROOT)/lib -L$(ROOT)/usr/lib

Paul

Cheers,
- jonathan


_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to