Re: Unable to compile 64bit programs
On Thu, May 30, 2002 at 12:21:54PM -0400, Kevin Falcone wrote:
> I have woody/testing installed on an ultra1, and am trying to compile
> programs with the libc6-dev-sparc64 and gcc-3.0 packages.
> I am seeing the following errors. Any ideas why?
> kevin@hawser:~$ gcc-3.0 -m64 test.c
> kevin@hawser:~$ ./a.out
> bash: ./a.out: cannot execute binary file
> kevin@hawser:~$ file a.out
> a.out: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV),
> dynamically linked (uses shared libs), not stripped
> The only think I can think of is that I have the
> kernel-image-2.4.18-sun4u kernel package installed.
> Is this just horribly broken, and I should compile my own 2.4.19-pre8?
We're in the middle of a move from /lib/64 to /lib64. Things will be
broken in the process.
> As an aside, is ldd packaged on the sparc platform? All I can find
> is lddlibc4 which doesn't seem to do anything.
Uh, it comes with the libc6 package on _all_ platforms. It's already
Debian - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo - http://www.deqo.com/
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org