9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] A newbie question...
Date: Mon,  4 Feb 2008 02:49:17 +0100	[thread overview]
Message-ID: <20080204014916.GE15093@nibiru.local> (raw)
In-Reply-To: <3e3428848ec2d125923fc97232534973@quanstro.net>

* erik quanstrom <quanstro@quanstro.net> wrote:

> part of the issue is that autotool solves a problem that doesn't
> exist on plan 9 systems.  one doesn't need to test for compilers,
> exotic library problems or portability issues.

Actually, often for problems that don't exist at all
(on sane systems). For example, why each individual package
should check for the toolchain commands ?! That's completely
insane! There are standard variables for that, which can
be assumed to point to the right commands. Checking if the
toolchain's not broken should clealy NOT be the job of an
individual package.

Another point are imported libraries: there's really no need
to run any compile test (or even worse: try to run some code).
Just ask an database tool (->pkg-config) to tell you the right
flags and make sure the required version is installed.
Yeah, there are working autoconf macros for that, but many
many packages still don't use them (sometimes with really
stupid cop-out's ;-o)

Older versions of autoconf had been even more insane:
Lot's of "detection" macros (X11 stuff was such an bad
candidate) pulled in hard-coded and absolute (!) pathes.
It's obvious that this clearly breaks any crosscompile attemt.

BTW: one thing I never understood in the autoconf world:
Why's the term "support" so badly abused ?!
Imagine: in many packages you can switch whether some other
package is used - they call this "supported".
For example I'm currently compiling VLC: there's an flag
for "gnutls" support. WTH shall this mean ?!
The right way would be an "enable TLS" option, stating this
requires GNU-TLS as dependency.
Seems like autoconf people tend to turn things upside down ;-O

> another problem with autoconf is it encourages a style of
> programming that exploits every last nook and cranny of
> a system's & compiler's capabilities when the vast majority
> of applications will do just fine with the least common
> denominator.  if one's goal is to run on a variety of unix
> systems, this just is poor engineering.

As already said: autoconf has *NOTHING* to do with real
portability, just working around lots of system/target
differences. ACK, this is really poor engineering.

> as a case in point, my sacrificial linux machine is a 993mhz
> pIII.  mplayer, an application one would think would benefit
> from fancy optimizations on such a slow machine, shows absolutely
> no visible performance benefit from sse2 instructions.  it
> is fast enough already.

Well, I'm really happy with those optimizations (eg. on
number crunching applications, properly optimized code *can*
give an heaviy boost). But there's really *no* need for such
an complex and unstable oracle like autoconf - there are clean
ways to fix this, eg. passing the right CFLAGS and using the
compiler's/preprocessor's symbols.

> one last gripe: autotools often take longer to ./configure
> than to compile with gcc.  curious that gcc is famed for
> slowness.

Yep, *rofl* ;-O


cu
--
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------


  reply	other threads:[~2008-02-04  1:49 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01  0:22 Michael Andronov
2008-02-01  0:25 ` erik quanstrom
2008-02-01  0:31   ` john
2008-02-01  0:30 ` Pietro Gagliardi
2008-02-04  0:59   ` Enrico Weigelt
2008-02-01  2:16 ` Pietro Gagliardi
2008-02-01  8:50 ` John Stalker
2008-02-01 17:15   ` Michael Andronov
2008-02-02  4:43     ` Michael Andronov
2008-02-02  4:57       ` Pietro Gagliardi
2008-02-02 13:02         ` Steve Simon
2008-02-04 10:21           ` Greg Comeau
2008-02-04 10:52             ` mattmobile
2008-02-04 11:12               ` Uriel
2008-02-04 11:47                 ` Filipp Andronov
2008-02-04 15:42                   ` Alf
2008-02-04 16:06                     ` Filipp Andronov
2008-02-04 16:53                       ` Steve Simon
2008-02-04 19:51                       ` Pietro Gagliardi
2008-02-06  9:53                   ` Greg Comeau
2008-02-06 19:11                     ` Joel C. Salomon
2008-02-07  1:32                       ` Uriel
2008-02-07  1:44                         ` Pietro Gagliardi
2008-02-07  9:54                       ` Greg Comeau
2008-02-06  9:45               ` Greg Comeau
2008-02-04 11:09             ` Uriel
2008-02-06  9:53               ` Greg Comeau
2008-02-04 14:32             ` [9fans] cross-compilation Charles Forsyth
2008-02-02  4:57       ` [9fans] A newbie question Pietro Gagliardi
2008-02-02  7:12         ` Filipp Andronov
2008-02-02 14:57           ` Pietro Gagliardi
2008-02-02 15:30             ` Filipp Andronov
2008-02-02 15:33               ` Pietro Gagliardi
2008-02-02 15:48                 ` Filipp Andronov
2008-02-02 16:04                   ` Pietro Gagliardi
2008-02-02 16:34                     ` Filipp Andronov
2008-02-02 16:10                   ` Charles Forsyth
2008-02-02 17:41                     ` Uriel
2008-02-02 18:27                       ` Martin Neubauer
2008-02-02 19:22                         ` Juan M. Mendez
2008-02-02 19:42                           ` Anthony Sorace
2008-02-02 20:10                           ` erik quanstrom
2008-02-04  1:49                             ` Enrico Weigelt [this message]
2008-02-02 22:25                           ` ron minnich
2008-02-03  0:17                           ` Robert William Fuller
2008-02-03  0:30                             ` Rob Pike
2008-02-03  7:51                               ` Eris Discordia
2008-02-03  8:44                                 ` Filipp Andronov
2008-02-03  9:30                                   ` lucio
2008-02-03 11:39                                     ` Filipp Andronov
2008-02-03 12:49                                       ` lucio
2008-02-03 13:25                                         ` Filipp Andronov
2008-02-03 14:10                                         ` Pietro Gagliardi
2008-02-04  2:05                                     ` Enrico Weigelt
2008-02-08 16:40                                     ` plan9
2008-02-03 14:07                                   ` Pietro Gagliardi
2008-02-03  0:33                             ` Uriel
2008-02-03  1:42                             ` erik quanstrom
2008-02-03  1:55                               ` Pietro Gagliardi
2008-02-03 14:47                                 ` Paweł Lasek
2008-02-04  2:03                                   ` Enrico Weigelt
     [not found]                                   ` <b11249e00802030713x2e08a3d4g4d395c53e1bf658c@mail.gmail.com>
     [not found]                                     ` <F9E7B91B-B3DD-4F5F-92F2-9556311B559D@mac.com>
     [not found]                                       ` <b11249e00802030728p6475625kd19bdf54666272df@mail.gmail.com>
     [not found]                                         ` <6018296E-43A8-43D5-94C1-6EE4B7CE36B6@mac.com>
     [not found]                                           ` <b11249e00802030756k6d11a110g76c2be92fc88d058@mail.gmail.com>
2008-02-03 16:12                                             ` erik quanstrom
2008-02-04  2:57                                             ` Enrico Weigelt
2008-02-04  8:00                                               ` Filipp Andronov
2008-02-03  7:31                               ` john
2008-02-03 15:01                             ` dave.l
2008-02-03 15:10                               ` Pietro Gagliardi
2008-02-02 21:16                         ` Pietro Gagliardi
2008-02-02 22:01                           ` Martin Neubauer
2008-02-04  1:02                       ` Enrico Weigelt
2008-02-04  1:11                         ` Pietro Gagliardi
2008-02-04  1:19           ` Enrico Weigelt
2008-02-04  1:29             ` Lyndon Nerenberg
2008-02-05  2:23               ` David Arnold
2008-02-05  2:26                 ` Pietro Gagliardi
2008-02-05  2:38                   ` erik quanstrom
2008-02-05  2:51                     ` Pietro Gagliardi
2008-02-05  3:00                       ` Roman V. Shaposhnik
2008-02-06  9:53                         ` Greg Comeau
2008-02-05  3:35                   ` Federico G. Benavento
2008-02-05  2:31                 ` erik quanstrom
2008-02-02  4:57 kokamoto
2008-02-04 12:12 gdiaz
2008-02-04 12:47 ` Filipp Andronov
2008-02-04 13:01   ` Uriel
2008-02-04 13:41     ` Eris Discordia
2008-02-04 13:59       ` Anant Narayanan
2008-02-04 14:36         ` Eris Discordia
2008-02-04 14:43         ` Martin Neubauer
2008-02-06  9:53         ` Greg Comeau
2008-02-06 10:02           ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080204014916.GE15093@nibiru.local \
    --to=weigelt@metux.de \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).