delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/05/22:00:54

Sender: nate AT cartsys DOT com
Message-ID: <36197951.60E2BDCF@cartsys.com>
Date: Mon, 05 Oct 1998 18:58:41 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
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: <a7a368da DOT 36191760 AT aol DOT com>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019