From owner-freebsd-questions Wed Nov 6 8: 3: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00BCD37B401 for ; Wed, 6 Nov 2002 08:03:00 -0800 (PST) Received: from mtiwmhc11.worldnet.att.net (mtiwmhc11.worldnet.att.net [204.127.131.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D1B543E6E for ; Wed, 6 Nov 2002 08:02:59 -0800 (PST) (envelope-from the_sawmill@worldnet.att.net) Received: from nutmeg ([12.89.146.195]) by mtiwmhc11.worldnet.att.net (InterMail vM.5.01.05.12 201-253-122-126-112-20020820) with SMTP id <20021106160257.KZRW22044.mtiwmhc11.worldnet.att.net@nutmeg>; Wed, 6 Nov 2002 16:02:57 +0000 Date: Wed, 6 Nov 2002 11:03:21 -0500 From: Eric Rivas To: Naydoe Maung Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NASM (BSD vs. Linux) Message-Id: <20021106110321.16d9b08a.the_sawmill@worldnet.att.net> In-Reply-To: <200211041524.43350.nyingelay@hotpop.com> References: <200211041524.43350.nyingelay@hotpop.com> X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 4 Nov 2002 15:24:43 -0800 Naydoe Maung wrote: [snip] > > As you can see here, It compiled and linked without any errors, > however no appropriate output is being generated. There were no > problems running it on Linux. I heard some issues about different > sys calls and interrupts on Linux and BSD, but I thought since the > Linux driver was loaded there should be no problems running Linux > oriented programs. I'm very confused, and I'm sure I'm missing out > some stuff. Help me please. > > Thank You Check out http://www.int80h.org/bsdasm/. It has a basic intro on asm programming for FreeBSD for people who know asm. It explains the diffs between Linux and FreeBSD and why you need to brandelf it (as others have said). > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Eric Rivas, KC2HMV email: the_sawmill@worldnet.att.net aim: kc2hmv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message