[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Passing names of libraries to linker.
From: |
BigMan |
Subject: |
Passing names of libraries to linker. |
Date: |
29 Jun 2005 11:36:37 -0700 |
User-agent: |
G2/0.2 |
MS C++ compiler supports a
#pragma comment(lib, "library.lib")
directve, that causes the compiler to pass the quoted file name to the
linker. The linker is expected to add this file name to the list of
libraries to be searched for external symbols. Is there a similar
mechanism in gcc/g++?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Passing names of libraries to linker.,
BigMan <=