9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Boyd Roberts <boyd@strakt.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Help! Compiling sam on Linux running IceWM
Date: Wed, 17 Apr 2002 12:49:45 +0200	[thread overview]
Message-ID: <3CBD5349.B870917C@strakt.com> (raw)
In-Reply-To: <3CBD0981.5732BD3F@null.net>

"Douglas A. Gwyn" wrote:
>
> Boyd Roberts wrote:
> > > >           /usr/X11R6/lib/libSM.a /usr/X11R6/lib/libICE.a
> > I did a quick nm, before my first post, and that junk you need
> > is in the last two.  Give me the Plan 9 C compiler/loader anyday.
>
> How would that help if one omitted the libraries?

1) I did the nm to be sure, before posting [on linux].

2) #pragma lib removes the need for specifying libraries on Plan 9:

    http://plan9.bell-labs.com/sys/doc/comp.html

    The loader is an integral part of the compilation process.
    Each library header file contains a #pragma that tells the
    loader the name of the associated archive; it is not necessary
    to tell the loader which libraries a program uses.


      reply	other threads:[~2002-04-17 10:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-12 15:05 Matt Senecal
2002-04-12 15:33 ` Boyd Roberts
2002-04-16  9:17   ` Matt Senecal
2002-04-16 10:03     ` Boyd Roberts
2002-04-17  9:06       ` Douglas A. Gwyn
2002-04-17 10:49         ` Boyd Roberts [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=3CBD5349.B870917C@strakt.com \
    --to=boyd@strakt.com \
    --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).