由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - what's the difference between .a and .so,
相关主题
关于一个C++library的连接script问题----运行多个文件
How to get the name of current executable in a library routine?Re: How to make PDF file?
where is libstdc++how to run background process after logout
[转载] 有人会用 libtool 吗?怎么弄出彩色的xterm?
[转载] 连结静态库to共享库问题:如何判断一个文件或命令的版本?
.cshrc?.login?.profile??
奇怪问题一个可有好的UNIX,LINUX,X-WINDOWS...书推荐。
strange problem about wget executionhOW CAN i COMPILE AND RUN FORTRAN?
相关话题的讨论汇总
话题: difference话题: between话题: so话题: library话题: what
进入Unix版参与讨论
1 (共1页)
o********g
发帖数: 162
1
and how to generate .a file with source code?
m*******m
发帖数: 182
2
There are two basic kinds of software libraries:
Static library. A library in which modules are bound into
the executable file before execution. Static libraries
are commonly named libname.a. The .a suffix refers to
archive.

Dynamic library. A library in which modules can be bound
into
the executable program at runtime. Dynamic libraries are
commonly
named libname.so. The .so suffix refers to shared
object.
The easy way: use GNU libtool. (`info libtool`)
The hard way:
gcc -g

【在 o********g 的大作中提到】
: and how to generate .a file with source code?
1 (共1页)
进入Unix版参与讨论
相关主题
hOW CAN i COMPILE AND RUN FORTRAN?[转载] 连结静态库to共享库问题:
How to creat .tar.gz?.cshrc?.login?.profile?
UNIX下的DLL编程奇怪问题一个
[急!] Shell Programming求救strange problem about wget execution
关于一个C++library的连接script问题----运行多个文件
How to get the name of current executable in a library routine?Re: How to make PDF file?
where is libstdc++how to run background process after logout
[转载] 有人会用 libtool 吗?怎么弄出彩色的xterm?
相关话题的讨论汇总
话题: difference话题: between话题: so话题: library话题: what