From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1814 Path: news.gmane.org!not-for-mail From: Igmar Palsenberg Newsgroups: gmane.linux.lib.musl.general Subject: 'Proper' software writing Date: Mon, 03 Sep 2012 15:55:47 +0200 Message-ID: <5044B6E3.70203@palsenberg.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1346680566 31649 80.91.229.3 (3 Sep 2012 13:56:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2012 13:56:06 +0000 (UTC) To: Musl list Original-X-From: musl-return-1815-gllmg-musl=m.gmane.org@lists.openwall.com Mon Sep 03 15:56:06 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1T8X8F-0003BP-Pi for gllmg-musl@plane.gmane.org; Mon, 03 Sep 2012 15:56:03 +0200 Original-Received: (qmail 25811 invoked by uid 550); 3 Sep 2012 13:56:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 25802 invoked from network); 3 Sep 2012 13:55:59 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120824 Thunderbird/15.0 Xref: news.gmane.org gmane.linux.lib.musl.general:1814 Archived-At: Hi, When attempting to fix my own piece of software I've come to the conclusing that writing somewhat portable software (glibc vs musl) is a huge PITA. I've ironed out most issues, but that left me with some questions : - Why use _BSD_SOURCE and _GNU_SOURCE at all ? What is the argument of not exposing *ALL* stuff that is in musl ? - Is there a way to do proper feature detection ? I tried autoscan from autotools, but the outcome wanted to make me cry. It missed about all that is important. Any comments / suggestions ? Regards, Igmar