Re: Using LLVM with Autotools

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

 



I don't think I'm understanding you - in this case, I'm the one writing the
program, and thinking about the configure.ac and Makefile.am I'll be
supplying to users and prospective package maintainers?

I think the default autoconf on typical Linux distributions is normally
sufficient these days?

What is build-aux/config.sub?

On Thu, Mar 24, 2016 at 4:00 PM, Jeffrey Walton <noloader@xxxxxxxxx> wrote:

> > The bad news is, the llvm-config in the current path is not likely to be
> > the right one (e.g. Ubuntu 14.04 thinks LLVM 3.4 is the latest version
> > whereas it's actually up to 3.8, and the differences between versions do
> > matter) so the user or packager needs to supply a path to the correct
> > llvm-config. What's the best way to do this?
>
> I've run into this a few times due to unrecognized triplets on mobile
> platforms.
>
> I've found reaching out to the package maintainer is the best course
> of action. When you contact them, clearly state:
>
>   (1) the problem you are encountering
>   (2) how to solve the problem
>
> In the case of the missing triplets and updated Autoconf files, I
> usually provide a prescriptive recipe:
>
>     wget https://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.xz
>     tar xf autoconf-latest.tar.xz
>     autoconf-2.69
>     cp build-aux/config.sub <where needed>
>
> Jeff
>
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux