[ECOS] shared object of CDL.

Andrew Lunn andrew.lunn@ascom.ch
Mon Aug 12 09:40:00 GMT 2002


> > 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



More information about the Ecos-discuss mailing list