[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot compile in testing



Ben,

Me again...

Right, new kernel, works fine. Life is good.

However...

$ g++ hello.c -o hello
$ file hello
hello: ELF 32-bit MSB executable, SPARC, version 1 (SYSV), for GNU/Linux
2.2.0, dynamically linked (uses shared libs), not stripped

$ gcc hello.c -o hello
$ file hello
hello: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), for
GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped

Why are C++ binaries 32-bit but C binaries 64-bit?...

Ross
-- 
Ross Burton                                 mail: ross@burtonini.com
                                          jabber: ross@burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: