From owner-freebsd-questions Thu Aug 1 14:37:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA00935 for questions-outgoing; Thu, 1 Aug 1996 14:37:02 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA00930 for ; Thu, 1 Aug 1996 14:36:54 -0700 (PDT) Received: by agora.rdrop.com (Smail3.1.29.1 #17) id m0um5Pq-0008umC; Thu, 1 Aug 96 14:36 PDT Message-Id: From: garyh@agora.rdrop.com (Gary Hanson) Subject: Re: MASM, and coff, and elf, oh my! To: fqueries@jraynard.demon.co.uk (James Raynard) Date: Thu, 1 Aug 1996 14:36:22 -0700 (PDT) Cc: questions@freebsd.org In-Reply-To: <199608011640.QAA10800@jraynard.demon.co.uk> from "James Raynard" at Aug 1, 96 04:40:34 pm X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > I have a Linux app that I'd like to port to FreeBSD...Most of the > > work is done by routines written in Microsoft assembler. > > Yuck! Why didn't he/she just write them in GNU assembler (which is > also available on MSDOS, BTW)? It was originally a Win95/NT app, with the the C stuff in MSVC, I think. > > 2. A MASM-to-GAS translator (These exist [where?]... > Try looking at the comp.lang.asm.x86 FAQ... Thanks, I'll give it a try. There is another approach; I asked the original author to try to create a static-linked a.out version of the Linux program, but he didn't know how to do that. While it's not fair to ask for Linux help here, if some kind volunteer could massage his (very simple) makefile to generate a BSD-compatible Linux executable, I'll send it back to the original author and have him build it on his Linux system. If anyone's willing to have a go at this, please let me know. BTW, the app is George Woltman's mersenne-prime search program, and it'd be nice to have some BSD systems using spare cycles to look for the largest prime number in the world. :-) --Gary Hanson