Hi, I'm trying to compile Samba 3.0 under Solaris 2.6 running on a Sparc machine using "GNU ld" version 2.10 with BFD. Also, I'm sure the search path is correctly pointing to the right "ld" But I'm getting this error: Linking bin/smbd /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.1/../../../../sparc-sun-solaris2.6/bin/ld: illegal option -- E
Tim, can you take a look at this one? I've not been able to reproduce it.
no feedback. Can't reproduce. Closing.
gaah....now I can reproduce it. It's not actually using gnu ld but rather /usr/ccs/bin/ld. Try setting export CC="gcc -B/path/to/directory/with/gnuld"