Subject: Re: my first mac68k asm program...
To: Christian Groessler <cpg@aladdin.de>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-mac68k
Date: 06/20/2002 11:48:03
On Thu, Jun 20, 2002 at 05:22:56PM +0200, Christian Groessler wrote:
> But it does not work:
> 
> mac68k:~/work$ as -o ahello.o ahello.s 
> mac68k:~/work$ ld -m m68kelfnbsd -e _start -o ahello ahello.o
> mac68k:~/work$ ./ahello 
> bash: ./ahello: cannot execute binary file

Which NetBSD installation are you using?  What does 'file ahello' show,
and what does 'file /usr/bin/ld' show?

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 http://www.wasabisystems.com/    Quality NetBSD CDs, Sales, Support, Service
NetBSD development for Alpha, ARM, M68K, MIPS, PowerPC, SuperH, XScale, etc...