> Op 22 feb. 2015, om 18:46 heeft Siarhei Siamashka 
> <siarhei.siamas...@gmail.com> het volgende geschreven:
> 
> On Sun, 22 Feb 2015 11:02:49 +0100
> Diego Roversi <die...@tiscali.it> wrote:
> 
>> On Sat, 21 Feb 2015 15:51:19 +0200
>> Siarhei Siamashka <siarhei.siamas...@gmail.com> wrote:
>> 
>>> Regarding packaging, there are some pull requests on github, which try
>>> to add autotools support. I have quickly looked at these patches and did
>>> not quite like them. They add autogenerated files to git, which is not a
>>> great idea. And also they don't seem to really solve the problem of the
>>> need to use two toolchains at once (part of the build needs to be done
>>> by the compiler from the host machine, and part of the build needs to
>>> be done by an arm crosscompiler).
>> 
>> In debian, packages are compiled with a native compiler on a native
>> platform, so it's not really a problem.
> 
> The current build process seems simple because the sunxi-tools git
> repository just contains the pre-compiled ARM binaries along with
> the sources. And this means that the end users don't need an ARM
> crosscompiler.
> 
> However this also means that every commit to the sunxi-tools repository,
> which touches the ARM source code, also requires to update the
> pre-compiled ARM binaries. This is inconvenient and the sources may
> get out of sync with the binaries. Though if we don't plan to do much
> further development, then we can survive this minor inconvenience.
> 
>> BTW I think that adding autotools support to trivial C program can be
>> considere bike shedding (ihmo).
> 
> I myself tend to prefer CMAKE for very simple projects nowadays.

For non-simple project cmakes is an abomination that should be avoided at all 
costs. Pretty much all the FindFoo method are broken by design and completely 
unfit for cross compilation or sysroot usage. Or the mis-feature where running 
cmake twice will ignore the failures from the first run.
The only positive thing I can say about cmake is that is has the toolchain-file 
concept.

regards,

Koen

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to