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

Unable to compile 64bit programs

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?

As an aside, is ldd packaged on the sparc platform?  All I can find
is lddlibc4 which doesn't seem to do anything.


Never put off till run-time what you can do at compile-time.
	-- D. Gries

To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: