Re: Cannot compile in testing
On Mon, Sep 29, 2003 at 05:22:09PM +0100, Ross Burton wrote:
> 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?...
I don't have a wrapper around g++. Guess I should fix that. Thanks for
noticing :)
--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
Reply to: