On Fri, 09/06 00:20, Richard Henderson wrote: > On 09/05/2013 10:53 PM, Fam Zheng wrote: > > OK. Thanks for pointing out. The problem with ar file is that > > --whole-archive > > needs to be done specificly to modules .a, other libs shouldn't be linked > > with > > this flag. > > See also: > > --whole-archive foo.a --no-whole-archive
Yes, this is a way to do it, but will complicates the link command, and may be more error prone. I expanded foo.mo to its contained .o for static linking in the next revision that's coming up. Thanks, Fam