crosstool-generated toolchain produces massive ELF executable
Tue Jan 31 13:22:00 GMT 2006
Dave et al.:
Dave Korn wrote:
> Sometimes using just a few simple glibc functions can inadvertently pull in a whole boatload of other dependencies. Does
>compiling with -fno-exceptions help?
> Otherwise you're just going to have to look at the output of the linker map where it shows which symbols caused which other
>symbols to be pulled in and figure it out. Is there a sprintf() call somewhere you could leave out, for instance?
--cref is pretty handy for this. It tells you the dependencies that
caused a given module to link.
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to firstname.lastname@example.org
More information about the crossgcc