tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Switching compilers



Edgar Fuß <ef%math.uni-bonn.de@localhost> writes:

>> I've been switching to/from clang and not noticing any libtools issues.
> How exactly are you doing these switches?
> I always end up with some libtool invocation complaining it couldn't infer 
> the mode of operation from blah and I shoud add a --tag argument (if I 
> remember correctly).


Just flipping PKGSRC_COMPILER from "ccache gcc" to "ccache clang".
However, I may have run into the libtool issues and not realized the
cause.

I think it's a bug that changing doesn't work (in theory the ABIs are
the same, right?).  And also that if it doesn't work that pkgsrc doesn't
detect dependencies with a different compiler and error out.

Attachment: pgpEQY5Izlbha.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index