Sorry, http://archive.openbsd.nu/?ml=openbsd-misc&a=2008-05&m=7350623
shows all the newlines removed...

I'll see if I can edit below to fix....

  - Jay




From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: SPARC32 ==
SPARC32on64?Date: Mon, 12 May 2008 22:49:20 +0000


  I'm porting some oddball software, and trying to      get "every" platform,
if I have hardware,      and getting more hardware (but not a lot).
         So, regarding SPARC, my quick understanding is that:       OpenBSD
has separate "pure" SPARC and SPARC64.        On SPARC64, gcc accepts -m32 and
-m64 (I think),        defaults to -m64, usermode is "all" 64bit.       Linux
has just SPARC, runs on either hardware, usermode is         mostly 32bit, gcc
accepts -m32 and -m64, defaults to -m32.       So now, I'm going to have
roughly the following ports:          SPARC32_LINUX (already working)
SPARC64_LINUX           SPARC32_OPENBSD           SPARC64_OPENBSD
(and more NetBSD, OpenBSD, etc.)       In the Linux case, this is two sets of
binaries that run on one OS.      Folks might chose 32 perhaps for size or
speed or interop with      code that hasn't been ported to 64, whatever.
So my question then is...well, you see, I only have SPARC64 hardware      and
am unlikely to install SPARC32, though maybe.      More so, I'm unlikely to
acquire SPARC32 hardware, unless SPARC64      can run SPARC32?         So my
question is, do OpenBSD/sparc binaries run on OpenBSD/sparc64?      Do
binaries built on OpenBSD/sparc64 with -m32 run on OpenBSD/sparc?      And are
they the same?      That is, if I wanted a complete matrix, is:
SPARC32_OPENBSD          SPARC64_OPENBSD       complete, or is there really
SPARC32on32_OPENBSD          SPARC32on64_OPENBSD          SPARC64_OPENBSD
or even more? (64 on 32?)        http://www.openbsd.org/sparc.html
http://www.openbsd.org/sparc64.html        appear to list different machines,
so that answers part of my question.        sparc won't run on my sparc64
machine.        If SPARC32 == SPARC32on64, I'll just do those two.        If
SPARC32 != SPARC32on64, I'll probably just do SPARC64.       Thanks,       -
Jay

Reply via email to