On Tuesday 2013-10-22 03:43, Daniel Richard G. wrote:
>On Mon, 2013 Oct 21 18:13+0800, JonY wrote:
>
>In the same way that, on a Solaris machine I work with here, I can get
>
>    $ ./config.guess 
>    i386-pc-solaris2.10
>    $ CC="cc -xarch=generic64" ./config.guess
>    x86_64-pc-solaris2.10

But “only” on Solaris (and I even question _that_ decision). In
particular,

 CC="gcc -m32" ./config.guess   # from sparc64, ppc64(non-IBM)
 CC="gcc -mx32" ./config.guess  # from x86_64

run from an sparc64-linux does not produce sparc-linux respectively,
nor should it.

The platform in both -m cases is sparc64, it is just that one chose
to use ELF32 objects (be it for performance reasons or just general
enjoyment). The situation is (loosely) like choosing between "small"
and "large" memory models in Borland Turbo C (and probably other
DOS-era compilers).


_______________________________________________
config-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to