Husam Senussi wrote:
>> There's only one set of packages built, and both 32-bit & 64-bit binaries
>> are installed at the same time, and you can choose at system boot which
>> kernel to load, so even when 64-bit binaries are available, just running
>> file on the binary in /bin won't help, because that will be the 32-bit
>> "isaexec" wrapper which checks to see which kernel is running, and then
>> exec's either the 32-bit or 64-bit version from a subdirectory.
> So I'm right saying for may application I should compile two version of
> the application one one in 64 bit directory and
> one in 32 bit and that should work the same.

If you want to support running 64-bit versions automatically on 64-bit systems,
and 32-bit on 32-bit, then yes, you can do the same.  "man isaexec" has some
more details.   (It can also, for instance, run an SSE/MMX 32-bit version on
newer processors, and a plain i386 version on older processors.)

-- 
        -Alan Coopersmith-           [email protected]
         Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to