News for hackers. Stuff that matters.
Re:Varnish guy's hatred for autoconf by saurik on Friday July 09, 2010 @02:24PM (#1501656)
I don't think a single person here has mentioned cross-compiling. As someone who maintains a cross-compiled distribution of Unix (for the iPhone), when someone writes software that involves anything remotely complex (maybe shared libraries), if you aren't using autoconf and libtool you are a cruel sadistic bastard (and if you think uname is /ever/ appropriate to use in a build environment, you are simply naive).
Re:Varnish guy's hatred for autoconf by kelnos on Saturday July 10, 2010 @07:49AM (#1503517)
Autotools is no panacea for cross compiling. I've cross-compiled minimal (and not so minimal) systems for sparc, powerpc, arm, and mips, and it's not all that hard to come up with a configure script that falls down and dies when build!=host.
Re:Varnish guy's hatred for autoconf by rlpb on Saturday July 10, 2010 @02:24PM (#1504095)
In my experience, many non-trivial autoconf-based applications don't cross compile without patching.

The problem is that most people have to extend things with their own tests and disregard cross-compiling (by assuming that the build machine is the same as the target machine).

Re:Varnish guy's hatred for autoconf by newman314 on Sunday July 11, 2010 @06:15AM (#1505301)
FWIW, varnish apparently does not support cross-compiling. Kind of a bummer when I tried to do so the other day.
Re:Varnish guy's hatred for autoconf by phkamp on Sunday July 11, 2010 @09:12AM (#1505429)
Yeah, well, Varnish is a slightly special in that it needs a C-compiler at runtime, so cross-compilation is not terribly relevant: If you do not have a native compiler, you cannot use it anyway.

(The VCL domain-specific language is translated to C, compiled to shared lib, and dlopen(2)'ed, that eliminated the runtime overhead of an interpreter)

/phk

Re:Varnish guy's hatred for autoconf by saurik on Friday July 09, 2010 @02:28PM (#1501670)
(Ok, I found a comment by astrange below that mentions cross-compiling, but doesn't mention libtool ;P.)