From owner-freebsd-questions Sun Nov 18 8: 3: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id E619437B405 for ; Sun, 18 Nov 2001 08:02:57 -0800 (PST) Received: from hades.hell.gr (patr530-a114.otenet.gr [212.205.215.114]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fAIG2qv26036; Sun, 18 Nov 2001 18:02:53 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fAIG2ru01485; Sun, 18 Nov 2001 18:02:53 +0200 (EET) (envelope-from charon@labs.gr) Date: Sun, 18 Nov 2001 18:02:51 +0200 From: Giorgos Keramidas To: Anthony Atkielski Cc: FreeBSD Questions Subject: Re: Windows/DOS .OBJ files to FreeBSD objects? Message-ID: <20011118160251.GA468@hades.hell.gr> References: <031801c16fb3$dbe19df0$0a00000a@atkielski.com> <20011118033947.GD28425@hades.hell.gr> <03a201c1702e$44eb1c70$0a00000a@atkielski.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <03a201c1702e$44eb1c70$0a00000a@atkielski.com> User-Agent: Mutt/1.3.23.1i 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 2001-11-18 13:40:50, Anthony Atkielski wrote: > Giorgos writes: > > > Does a86 even work on FreeBSD? The homepage > > seems to suggest that it's a program written > > for DOS and/or Windows. > > Correct. That's why I am wondering if there are any utilities that can change a > Windows/DOS OBJ file to a FreeBSD object file, so that I can assemble modules > under Windows or DOS, and then move the objects to a FreeBSD system (after some > sort of conversion) and link them there. I'm not sure if a conversion can be done *after* the file has been assembled to .OBJ. > > b) Use some other assembler, that is freely > > available under FreeBSD. > > What other assemblers can you recommend? A86 has the advantage of truly > extraordinary simplicity, unlike MASM and most other overcomplicated macro > assemblers. If you like using Intel's syntax (the one used by MASM and TASM in DOS/Windows) then you might like `nasm' which is available both for Windows and FreeBSD. It can save its output in .OBJ and ELF .o files, so you will probably find it useful. If you tend to write mostly C, with a few asm lines that you want to link to your code, GCC's inline assembly or GNU as(1) [both available on a stock FreeBSD installation] will probably suit you fine :) -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message