linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David L. Martin" <dlmarti@kc2lcf.net>
To: C programming list <linux-c-programming@vger.kernel.org>
Subject: Automatic library init
Date: Sat, 04 Jun 2005 21:34:31 -0400	[thread overview]
Message-ID: <1117935271.4561.3.camel@localhost.localdomain> (raw)

I am updating a whole set of libraries at work, one of the complaints I
am dealing with is the need to initialize the library.

Back in the day (Borland days), there used to be a pragma directive that
could be used to automatically call a function with-in the library on
startup.  I know something like this must exist in gcc but I can't find
it.

Does anyone have info?


             reply	other threads:[~2005-06-05  1:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-05  1:34 David L. Martin [this message]
2005-06-05 13:50 ` Automatic library init Steven Smith

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=1117935271.4561.3.camel@localhost.localdomain \
    --to=dlmarti@kc2lcf.net \
    --cc=linux-c-programming@vger.kernel.org \
    /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).