* port to minix3 @ 2012-12-14 14:53 Andreas Grapentin 2012-12-14 15:44 ` Игорь Пашев ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Andreas Grapentin @ 2012-12-14 14:53 UTC (permalink / raw) To: libc-ports hi, I need a port of glibc to Minix 3.2 and decided to do it myself. I'll be following this guide: http://www.gnu.org/software/libc/manual/html_node/Porting.html and I'll let you know if there is any progress at all :) Cheers, Andy ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: port to minix3 2012-12-14 14:53 port to minix3 Andreas Grapentin @ 2012-12-14 15:44 ` Игорь Пашев 2012-12-14 16:01 ` Carlos O'Donell 2012-12-15 11:53 ` Thomas Schwinge 2 siblings, 0 replies; 6+ messages in thread From: Игорь Пашев @ 2012-12-14 15:44 UTC (permalink / raw) To: libc-ports; +Cc: Andreas Grapentin 2012/12/14 Andreas Grapentin <andreas@grapentin.org>: > hi, > > I need a port of glibc to Minix 3.2 and decided to do it myself. > I'll be following this guide: > http://www.gnu.org/software/libc/manual/html_node/Porting.html > > and I'll let you know if there is any progress at all :) Welcome to the club! :-) ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: port to minix3 2012-12-14 14:53 port to minix3 Andreas Grapentin 2012-12-14 15:44 ` Игорь Пашев @ 2012-12-14 16:01 ` Carlos O'Donell 2012-12-16 17:12 ` Andreas Grapentin 2012-12-15 11:53 ` Thomas Schwinge 2 siblings, 1 reply; 6+ messages in thread From: Carlos O'Donell @ 2012-12-14 16:01 UTC (permalink / raw) To: Andreas Grapentin; +Cc: libc-ports On Fri, Dec 14, 2012 at 9:52 AM, Andreas Grapentin <andreas@grapentin.org> wrote: > hi, > > I need a port of glibc to Minix 3.2 and decided to do it myself. > I'll be following this guide: > http://www.gnu.org/software/libc/manual/html_node/Porting.html > > and I'll let you know if there is any progress at all :) Get involved, ask questions, and feel free to post early snapshots for review. Welcome to the community! Cheers, Carlos. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: port to minix3 2012-12-14 16:01 ` Carlos O'Donell @ 2012-12-16 17:12 ` Andreas Grapentin 2012-12-16 17:51 ` Игорь Пашев 0 siblings, 1 reply; 6+ messages in thread From: Andreas Grapentin @ 2012-12-16 17:12 UTC (permalink / raw) To: Carlos O'Donell; +Cc: libc-ports On 12/14/2012 05:01 PM, Carlos O'Donell wrote: > On Fri, Dec 14, 2012 at 9:52 AM, Andreas Grapentin > <andreas@grapentin.org> wrote: >> hi, >> >> I need a port of glibc to Minix 3.2 and decided to do it myself. >> I'll be following this guide: >> http://www.gnu.org/software/libc/manual/html_node/Porting.html >> >> and I'll let you know if there is any progress at all :) > Get involved, ask questions, and feel free to post early snapshots for review. > > Welcome to the community! > > Cheers, > Carlos. Okay, I've looked into this for some time and I've got a question: where the hell should I start? O_o I mean, are there documentations, guides, man pages on how the sysdeps things work? Thanks, Andy ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: port to minix3 2012-12-16 17:12 ` Andreas Grapentin @ 2012-12-16 17:51 ` Игорь Пашев 0 siblings, 0 replies; 6+ messages in thread From: Игорь Пашев @ 2012-12-16 17:51 UTC (permalink / raw) To: libc-ports > I mean, are there documentations, guides, man pages on how the sysdeps > things work? Start from configure.in, make it recognize something like --host=i386-minix3.2-gnu Add subdirs to sysdeps/, like sysdeps/unix/sysv/minix (is minix SysV compatible?) same for nptl (nptl/sysdeps/...). You can find examples in Debian's kfreeBSD port or kOpenSolaris. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: port to minix3 2012-12-14 14:53 port to minix3 Andreas Grapentin 2012-12-14 15:44 ` Игорь Пашев 2012-12-14 16:01 ` Carlos O'Donell @ 2012-12-15 11:53 ` Thomas Schwinge 2 siblings, 0 replies; 6+ messages in thread From: Thomas Schwinge @ 2012-12-15 11:53 UTC (permalink / raw) To: Andreas Grapentin; +Cc: libc-ports [-- Attachment #1: Type: text/plain, Size: 1734 bytes --] Hi! On Fri, 14 Dec 2012 15:52:21 +0100, Andreas Grapentin <andreas@grapentin.org> wrote: > I need a port of glibc to Minix 3.2 and decided to do it myself. It's been a few years that I have read a bit about Minix 3, and have again forgotten a lot of details. Remind me, how does userspace code (including any libc) access "kernel services" (such as opening a file to get a file descriptor, for example)? Is it a standard Unix system call interface (one syscall for open, one for read, one for close, and so on), or is it based on a remote procedure call (RPC) interface, so there essentially is a send message call that the kernel then dispatches to the appropriate entitiy? If the former, you can reference the existing Linux kernel ports as well as some remaining bits of *BSD and other Unix kernel ports; if the latter, your port will probably (have to) bear some resemblance with the GNU Hurd port, which likewise is present in the current source tree (apart from bug fixed and additional functionality waiting to be merged). I once began documenting some specifics of the Hurd port, start at <http://www.gnu.org/software/hurd/glibc.html>, and also sections 2.1 and 2.5 of »A Critique of the GNU Hurd Multi-server Operating System«, <http://www.gnu.org/software/hurd/hurd/critique.html>, give some architectural overview. > I'll be following this guide: > http://www.gnu.org/software/libc/manual/html_node/Porting.html > > and I'll let you know if there is any progress at all :) Be aware that doing a glibc port, especially if not a "straight-forward" Unix syscall interface port, is not a trivial thing to do, so be prepared to spend considerable effort there. Grüße, Thomas [-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-12-16 17:51 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-12-14 14:53 port to minix3 Andreas Grapentin 2012-12-14 15:44 ` Игорь Пашев 2012-12-14 16:01 ` Carlos O'Donell 2012-12-16 17:12 ` Andreas Grapentin 2012-12-16 17:51 ` Игорь Пашев 2012-12-15 11:53 ` Thomas Schwinge
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 read-only IMAP folder(s) and NNTP newsgroup(s).