Date: Sun, 19 Mar 2000 12:23:52 -0500 From: "Thomas M. Sommers" <tms2@mail.ptd.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: NASM Message-ID: <38D50D28.5E881A12@mail.ptd.net> References: <38D4CDEA.D8218E53@bluewin.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
matteotti wrote: > > Hello, > I am doing the first steps with NASM. > > Who can tell me, what is wrong with the following code: > > ; hello.asm > [snip] > I compile it with : nasm -f elf hello.asm > I link it with : ld -o hello hello.o > > I get an executable 'hello'. Running it gives no output whatsoever ! > My OS is FreeBSD3.2. NASM version 0.98 > > The same procedure as above works perfectly under Linux. > FreeBSD and Linux do not make syscalls the same way. Take a look at http://home.ptd.net/~tms2/hello.html to see how its done in FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D50D28.5E881A12>