On Mon, 2003-09-29 at 15:47, Ben Collins wrote: > In the newest packages, the compiler has some different defaults > depending on a couple of criteria. If you are on an UltraSPARC (IOW, > `uname -m' prints sparc64), and you have /usr/lib64/libc.so (IOW, you > have libc6-dev-sparc64 installed), then the compiler will default to > 64-bit mode. The way to get 32-bit compiles in this instance is easy, > just prepend the sparc32 command to your build command. For example:
[snip]
Great, that works. So once we have ensured that the 32-bit binary on
the SPARC, how do we execute 64-bit binaries?
"make test" will generate a 64-bit binary, but "./test", "sparc64
./test" and "sparc64 bash ... ./hello" all fail with "./hello: cannot
execute binary file"
Thanks again,
Ross
--
Ross Burton mail: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
signature.asc
Description: This is a digitally signed message part

