RE: [ILUG-BOM] linking a single library file in GCC
by Pillai, Gishu R (GE Infra, Energy)
>I want to test it in Linux now. And in the Linux version of
>the library, there are two files, 'dislin-9.0.a' and
>'dislin-9.0.so' - which library file am I supposed to link
>to? And how do link to a single file, from the command line?
AFAIK (and I don't know that much.. Please flame me
if I'm wrong)
.a = static library - inserted into your binary
.so = shared lib - called by your binary
for linking i think gcc has a switch. the command line help
should do
Gishu