9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Joel Salomon" <salomo3@cooper.edu>
To: "9fans" <9fans@cse.psu.edu>
Subject: [9fans] Plan9 ports on cygwin
Date: Wed, 22 Oct 2003 12:18:43 -0400	[thread overview]
Message-ID: <1949.199.98.17.54.1066839523.squirrel@wish> (raw)

I got another chance to experiment, so:
* as far as the #ifdefs are concerned, I copied whatever was under
    #if defined(__FreeBSD__)
to
    #if defined(__CYGWIN__)

* gnu ld seems not to find the various libs needed to link executables
(libposix, etc.). Replace calls to ld with calls to gcc - *it* knows where
to find everything.

* at this point there are complaints (when linking tprimes) about
undefined reference to `__setlabel' and also to `__getlabel'. Apparently
the extra underscore isn't added by gas, so I added them (in lib*/*.s -
they're needed everywhere).

* when compiling lib9:
    cc await.c
    await.c: In function `await':
    await.c:99: warning: implicit declaration of function `WCOREDUMP'
and linking of the test programs in src/libthread all fail with this
missing function. Does anyone have a work-around for this?

BTW, is anything happening on the libdraw/windows front?

--Joel


                 reply	other threads:[~2003-10-22 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1949.199.98.17.54.1066839523.squirrel@wish \
    --to=salomo3@cooper.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).