Sender: nate AT cartsys DOT com Message-ID: <36197951.60E2BDCF@cartsys.com> Date: Mon, 05 Oct 1998 18:58:41 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) MIME-Version: 1.0 To: jtg AT lanl DOT gov CC: djgpp AT delorie DOT com, gammeljl AT sluvca DOT slu DOT edu Subject: Re: assembly language for delorie port of gnu to dos versus linux References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com GammelJT AT aol DOT com wrote: > > I have C++ codes which contain sections written in assembly language > which work fine with the Delorie import of the gnu C++ compiler to DOS. > Lately, I have tried copying these codes to Linux and using the Linux > gnu C++ compiler to compile them. > Everything goes ok except for two things connected with the assembly > language sections. First, the Linux gnu C++ compiler does not like \ > (backslash) > to end each line of assembly language. I do not know what it wants or > expects. Try passing the file through `dtou'; it may be confused by the \r\n style newlines. > Second, the Linux gnu C++ compiler does not like the :'s (colons) which > appear toward the end of each section of assembly language. I'm not sure why that would be-- post an example and I will try it. -- Nate Eldredge nate AT cartsys DOT com