Re: Questions about linking.
- From: lxbcyllt@xxxxxxxxx
- Date: 11 Mar 2006 23:00:15 -0800
Minix 3 doesn't support dynamic linking; we don't even have a ld.soThanks for above help.
My other question is about static linking.
For example, if one library (i.e. liba.a) include two functions : f1( )
and f2( ), one object file which calls f1( ) is statically linked with
liba.a to get a executable, then is the f1( ) linked into the
executable or the whole liba.a ?
In other words, does the linker select the necessary stuff , not the
whole, to get the executable?
If so,is it applied to the LIB's global variables which are accessed by
a object file?
Are all the global variables which come from different object files
collected in the LIB's data segment by the linker ?
Thanks.
lxbcyllt.
.
- Follow-Ups:
- Re: Questions about linking.
- From: Giovanni
- Re: Questions about linking.
- References:
- Questions about linking.
- From: lxbcyllt
- Re: Questions about linking.
- From: Ivan Kelly
- Re: Questions about linking.
- From: lxbcyllt
- Re: Questions about linking.
- From: Segin
- Questions about linking.
- Prev by Date: Re: Packages for Minix3
- Next by Date: Re: Questions about linking.
- Previous by thread: Re: Questions about linking.
- Next by thread: Re: Questions about linking.
- Index(es):
Relevant Pages
|