From: Olaf van der Spek <olafvdspek@gmail.com>
To: binutils@sourceware.org
Subject: Re: Support for automatic linking via pragma
Date: Fri, 04 Mar 2011 16:30:00 -0000 [thread overview]
Message-ID: <AANLkTimCxKpnqFZ34ELdejO6JY-CCvX_fhkSB6SWYSzF@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinAzwzX00cxiPScsW49NeyGWFgeE+m6RSr7Hu7k@mail.gmail.com>
On Mon, Feb 28, 2011 at 7:17 PM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> Hi,
>
> I've submitted a feature request for automatic linking via pragma:
> http://sourceware.org/bugzilla/show_bug.cgi?id=12485
> What do others think about the idea?
Somebody?
Let me quote the request:
MSVC supports the following pragma, which can be used to automatically link a
library when a header file is included. This is used by for example Boost.
It makes linking with the right lib a lot simpler. No more fiddling
with autoconf to detect the right lib name.
#pragma comment(lib, "requiredLibrary.lib")
Unfortunately, gold doesn't support this. Could you add it?
I assume this needs coordination with gcc.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39437
--
Olaf
next prev parent reply other threads:[~2011-03-04 16:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 18:17 Olaf van der Spek
2011-03-04 16:30 ` Olaf van der Spek [this message]
2011-03-04 16:44 ` H.J. Lu
2011-03-04 16:52 ` Ian Lance Taylor
2011-03-04 16:55 ` H.J. Lu
2011-03-04 17:31 ` Kai Tietz
2011-03-04 17:35 ` Olaf van der Spek
2011-03-04 18:40 ` Ian Lance Taylor
2011-03-04 17:31 ` Olaf van der Spek
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=AANLkTimCxKpnqFZ34ELdejO6JY-CCvX_fhkSB6SWYSzF@mail.gmail.com \
--to=olafvdspek@gmail.com \
--cc=binutils@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).