http://sourceware.org/bugzilla/show_bug.cgi?id=12485

           Summary: Support for automatic linking via pragma
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: gold
        AssignedTo: i...@airs.com
        ReportedBy: olafvds...@gmail.com


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.

#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

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to