Support for automatic linking via pragma
H.J. Lu
hjl.tools@gmail.com
Fri Mar 4 16:44:00 GMT 2011
More information about the Binutils mailing list
Fri Mar 4 16:44:00 GMT 2011
- Previous message (by thread): Support for automatic linking via pragma
- Next message (by thread): Support for automatic linking via pragma
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Mar 4, 2011 at 8:29 AM, Olaf van der Spek <olafvdspek@gmail.com> wrote: > 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. > Not necessarily. Unlike DSO, object files don't have ABI/API information. You may not link foo.o compiled with glibc 2.5/libbar 1.3 against glibc 2.13/libbar 1.9 -- H.J.
- Previous message (by thread): Support for automatic linking via pragma
- Next message (by thread): Support for automatic linking via pragma
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list