9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: William Josephson <jkw@eecs.harvard.edu>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Plan9port and gcc header files?
Date: Thu, 25 Aug 2005 18:59:27 -0400	[thread overview]
Message-ID: <20050825225927.GA40589@mero.morphisms.net> (raw)
In-Reply-To: <Pine.GSO.4.61.0508251611550.27741@cps210>

On Thu, Aug 25, 2005 at 04:14:33PM -0400, rattan wrote:
> Is there a way to use gcc include files with plan9
> include files in plan9port? E.g:
> 
> #include <u.h>
> #include <libc.h>
> #include <socket.h>	// from Linux side

It should just work if you define NOPLAN9DEFINES at the top.
You may need to use separate compilation to get access to the
Plan 9 routines you can't any longer see.  What do you need
out of socket.h?  You can get a lot just with dial and friends.


  reply	other threads:[~2005-08-25 22:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-25 20:14 rattan
2005-08-25 22:59 ` William Josephson [this message]
2005-08-25 23:07 ` Russ Cox

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=20050825225927.GA40589@mero.morphisms.net \
    --to=jkw@eecs.harvard.edu \
    --cc=9fans@cse.psu.edu \
    /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).