Jonathan Wakely <[email protected]> writes: >Right, -Wl,xxx works fine, passing xxx directly to the linker. If the linker >is GNU ld then you need to use flags that GNU ld understands, and if the >linker is Solaris ld then you need to use flags that Solaris ld understands.
and if make is GNU make then you need to use flags GNU make understands and if it's Solaris make then you need to use flags that Solaris make understands and if $random is GNU $random then you need to use these flags and so on, I realise that. Let me explain the problem from a different angle: The above is fine if you're manually building the code on each system, so you know that on system X you use compiler flags for A, linker flags for B, make flags for C, and so on. However what happens if a random user unpacks a tarball on system Z and types 'make'? Is there some expected combination of things that usually goes together so if you see clang you can expect that ld is X, make is Y, and so on? And if not, what's the best way to give a user the 'make; make install' experience under Solaris? Peter. _______________________________________________ cfarm-users mailing list [email protected] https://lists.tetaneutral.net/listinfo/cfarm-users
