This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shared object of CDL.


> > Why is the question that springs to mind. 
> > 
> > Is there something going on with symbol tables? Has the shared library
> > version been stripped where as the static version still has all the
> > symbols?
> 
> No, I stripped both of them. The static version links all functions
> defined in libcdl.a, while the shared versios has only tables of libcdl.

You should look at the options you are passing to gcc and the
linker. It should be possible to get the linker to throw away all the
symbols that are not needed.  I think -ffunction-sections
-fdata-sections is what you need.

       Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]