From owner-freebsd-questions Thu Oct 9 12:05:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA21370 for questions-outgoing; Thu, 9 Oct 1997 12:05:53 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from trefoil.bogs.org (root@bogslab.ucdavis.edu [128.120.162.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA21365 for ; Thu, 9 Oct 1997 12:05:49 -0700 (PDT) (envelope-from greg@myrtle.bogs.org) Received: from myrtle.bogs.org (root@myrtle.bogs.org [198.137.203.39]) by trefoil.bogs.org (8.7.4/8.7.3) with SMTP id MAA24306 for ; Thu, 9 Oct 1997 12:05:35 -0700 (PDT) Received: from myrtle.bogs.org (greg@localhost [127.0.0.1]) by myrtle.bogs.org (8.6.12/8.6.12) with ESMTP id MAA06932 for ; Thu, 9 Oct 1997 12:05:32 -0700 Message-Id: <199710091905.MAA06932@myrtle.bogs.org> To: questions@freebsd.org X-To: Doug White X-Sender: owner-freebsd-questions@FreeBSD.ORG Subject: Re: Intel MMX programming In-reply-to: Your message of "Thu, 09 Oct 1997 10:40:11 PDT." Reply-To: gkshenaut@ucdavis.edu Date: Thu, 09 Oct 1997 12:05:24 -0700 From: Greg Shenaut Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message , Doug White cleopede: >On Thu, 9 Oct 1997, Mikhail Chernomordik wrote: > >> How have I to develope C-programms using inline >> MASM and MMX commands under FreeBSD? >> Lets GNU C compiler make it? > >Assembly under UNIX isn't the same as it is under DOS, since you have >other programs wanting to use the CPU and you can't muck it up for them. > >You can't use Microsoft Assembler bits since tehre is no MASM for FreeBSD. >If there was, there'd be no NT. :-) > >gcc does allow inline asm, but again, it's a different format. Check out >the info system for gas docs or contact hackers@freebsd.org. Allow me to comment that I have used masm and tasm, plus Borland tc 2.1, for years under BSDI's doscmd--once the port of doscmd is complete to FreeBSD, you can expect to have the option of using it for msdos compiles. -Greg Shenaut