-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bernhard Reutner-Fischer wrote: > On Fri, Feb 20, 2009 at 03:59:11PM +0100, Carmelo AMOROSO wrote: > >>> oh, and probably -DFOO=__sh2__ -DBAR=__SH2A__ >> why ? I would expect to be defined by gcc itself. >> At least cross gcc for sh4 defines the following >> >> #define __sh__ 1 >> #define __SH4__ 1 > > via gcc/config/sh/sh.h, exactly, so why not trust the compiler there?
oh clear now, I misunderstood your initial reply, we were thinking the same thing at the end. I agree, indeed it seems that only sh is using the uclibc config option instead of the built-in macro from gcc. I'll try to do a sort of find&replace for all the sh code to change them accordingly. > Anyway, i do not have a strong opinion on that one. > > Thanks for the prompt repair! > cheers, > Bernhard > carmelo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkmezxEACgkQoRq/3BrK1s/ArACbBaK5m6/tucwQ5/5SbSgqJk+0 uNoAoODH0xsRBi1OT7FU6O5Id0sjRPGc =ntz1 -----END PGP SIGNATURE----- _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
