Mail Archives: djgpp/1998/10/05/22:00:54
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 -