www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/24/17:56:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Oleksandr Gavenko <gavenkoa AT gmail DOT com>
Subject: Where is 'getconf' utility?
Date: Sat, 25 Dec 2010 00:55:30 +0200
Lines: 44
Message-ID: <if38d8$c99$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I can not found 'getconf' utility in Cygwin.

   http://cygwin.com/cgi-bin2/package-grep.cgi?grep=getconf

I search that same reported in 2003 and found some article
where people have portability issue because utility is missing, like:

 
http://software.intel.com/en-us/blogs/2008/03/05/hacking-threading-building-blocks-into-cygwin-part-2/

'getconf' utility present in POSIX 2003/2008.

I don't know if utility mention in POSIX it must be implemented
in POSIX compliance env.

Also as state cygwin-ug-net-nochunks.html:

   Early on in the development process,
   we made the important design
   decision that it would not be necessary
   to strictly adhere to existing UNIX
   standards like POSIX.1 if it was not
   possible or if it would significantly
   diminish the usability of the tools on the Win32 platform.

As I understand if it will be exist it must included
in 'cygwin' package because this package provide:

   /usr/include/limits.h
...
   /usr/lib/libc.a
... etc.

and I see 'libc6' for Debian also contain /usr/bin/getconf.

In web I found many realisation of this utility
(ever with BSD licence from NetBSD).
They so simple that I think that no any portability
issue occurred.

Does it must be included in Cygwin and make it more POSIX compliance?

--
Best regards!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019