libtool
[Top][All Lists]
Advanced

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

Re: Multipurpose binaries with different names


From: Roumen Petrov
Subject: Re: Multipurpose binaries with different names
Date: Fri, 24 Jul 2009 15:29:53 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.22) Gecko/20090624 SeaMonkey/1.1.17

Eric Blake wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jan Engelhardt on 7/24/2009 3:25 AM:
Hi,


when one has a program that does something like

  if(strcmp(argv[0], "gunzip") == 0)
    uncompress();
  else
    compress();

GNU Coding Standards frown on this practice:
http://www.gnu.org/software/automake/manual/standards.html#User-Interfaces

The "Multipurpose binaries" are born before "GNU Coding Standards". So I think that libtool has to support them for historical reasons.


Regards
Roumen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]