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

Cannot compile in testing



Hi,

This problem may be totally due to User Error, this is the first SPARC
we've had running Linux.

Debian testing, as of this morning.

        $ cat hello.c
        #include <stdio.h>
         
        int main(int argc, char **argv)
        {
                puts("Hello, World");
                return 0;
        }

A simple C program.

        $ gcc -o hello -Wall hello.c

A simple compile, which works.

        $ ./hello
        -bash2: ./hello: cannot execute binary file

Not so good.

        $ 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

Thats interesting, a few months ago executables where 32-bit when
compiled without any options.

I'm no wizard with sparc, but I'm guessing that a no-option compile
should work fine.

Any ideas?

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: