Problem with glibc-2.1.3 and gcc-2.95.2 -ffunction-sections
Ulrich Drepper
drepper@redhat.com
Wed Apr 5 09:01:00 GMT 2000
greyham@research.canon.com.au (Graham Stoney) writes:
> I've just run into some grief cross-compiling a simple hello world program
> statically linking against glibc-2.1.3 cross-compiled using gcc-2.95.2 with
> -ffunction-sections & -fdata-sections and the binutils-000330 snapshot
> configured for a powerpc-linux target.
It is not necessary to use these options. They are useful only for
statically linked applications and the sources are already structured
so that the least possible code is linked in the application.
Otherwise there wouldn't be thousands of files in the sources.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list