Best compiler/flags combination
Graham Stoney
greyham at research.canon.com.au
Mon Jan 31 10:21:30 EST 2000
Pavel Roskin writes:
> I'm using egcs-1.1.2 and glibc-2.1.1 with patches from LinuxPPC (i.e. I
> use their source RPM's).
>
> The question is, what compiler is known to produce good code for embedded
> PPC boards and what flags should be used? It is desireable that the
> binaries still run on PowerPC.
My general approach when starting out is to always use the latest official
released versions, and move to a newer snapshot if you encounter problems.
In particular, the latest official gcc release (gcc-2.95.2) is a better
starting point than the old egcs releases.
Regards,
Graham
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list