[cfarm-users] Some issues with cfarm215
Jonathan Wakely
jwakely.gcc at gmail.com
Thu Jan 22 16:52:50 CET 2026
On Thu, 22 Jan 2026 at 14:54, Peter Gutmann <pgut001 at cs.auckland.ac.nz> wrote:
>
> Jonathan Wakely <jwakely.gcc at gmail.com> 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?
No. That would be wrong most of the time.
> And if not, what's the best way to give a user the 'make; make install'
> experience under Solaris?
Configure scripts to check which compiler/linker flags work.
And if your makefile only works with GNU make, tell them to use GNU make.
More information about the cfarm-users
mailing list