9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jens Staal <staal1978@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] ape/errno.h
Date: Mon, 24 Dec 2012 06:56:49 +0100	[thread overview]
Message-ID: <1498360.O0VUOEfXsy@krypton> (raw)
In-Reply-To: <366355C9-583C-4112-B8F8-8D0778257529@corpus-callosum.com>

fredagen den 21 december 2012 12.38.01 skrev  Jeff Sickel:
> Given all the Plan 9 spinoffs that still include APE, it might
> be worth the effort at some point to bring APE up to SUSv3 or
> SUSv4 to ease in porting code that's heavily POSIX-dependent.
>
> Though there might not be enough time or energy to take on
> such an endeavor.
>
> -jas

Just recently, I copied a few files from the newlib libc into an application
to make it compile under APE.

I guess that the "low road" to take might be to basically do the same but to
generate a temporary "APE extension library" with kernel-independent libc code
copied from other projects (basially similar to what gnulib does).

Newlib and Musl libc are both permissively licensed so they should not be a
problem to use. Musl is currently linux-specific but perhaps there are kernel-
independent parts that could be used. I guess the most important thing is to
make sure that the things included in the extension library does not overlap
with the APE libraries.

The advantage with this approach could be that the real APE keeps clean and
can be developed at its own pace depending on what the needs are (and stuff
found useful from the extension library could be merged back to real APE after
being re-written according to the standards of Plan9).



      parent reply	other threads:[~2012-12-24  5:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-17 22:06 Jeff Sickel
2012-12-17 23:25 ` erik quanstrom
2012-12-18  6:08   ` Jens Staal
2012-12-18  6:37     ` Lyndon Nerenberg
2012-12-18  8:35 ` tlaronde
2012-12-18 10:16   ` Richard Miller
2012-12-18 16:43     ` Jeff Sickel
2012-12-18 17:04       ` arnold
2012-12-18 18:03         ` Jeff Sickel
2012-12-18 18:21           ` arnold
2012-12-18 20:02             ` David du Colombier
2012-12-21 18:38               ` Jeff Sickel
2012-12-21 18:39                 ` erik quanstrom
2012-12-21 18:54                 ` tlaronde
2012-12-24  5:56                 ` Jens Staal [this message]

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=1498360.O0VUOEfXsy@krypton \
    --to=staal1978@gmail.com \
    --cc=9fans@9fans.net \
    /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).