[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[creduce-dev] Finding `clang' at Run Time (Re: multifile creduce)
John Regehr <regehr@cs.utah.edu> writes:
> We can definitely find a clang to run -- we already find clang-format for
> example.
I'll mention that we (attempt to) find `clang-format' at configure time, and if
we find it, we burn the pathname into the script.
If we need to invoke clang at run time, I would suggest using the same
configure-time approach for finding the binary.
I haven't looked a the whole patch, but the snippet that Yang quoted does not
find clang in the way described above.
Eric.
--
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu> . University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX