Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 18:02:51 +0200
From:      Giorgos Keramidas <charon@labs.gr>
To:        Anthony Atkielski <anthony@atkielski.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Windows/DOS .OBJ files to FreeBSD objects?
Message-ID:  <20011118160251.GA468@hades.hell.gr>
In-Reply-To: <03a201c1702e$44eb1c70$0a00000a@atkielski.com>
References:  <031801c16fb3$dbe19df0$0a00000a@atkielski.com> <20011118033947.GD28425@hades.hell.gr> <03a201c1702e$44eb1c70$0a00000a@atkielski.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011118160251.GA468>