Passing names of libraries to linker.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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++? 



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux