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?

[EMAIL PROTECTED]:~$ gcc-3.0 -m64 test.c
[EMAIL PROTECTED]:~$ ./a.out
bash: ./a.out: cannot execute binary file
[EMAIL PROTECTED]:~$ 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.

thanks
-kevin

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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to