delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/16/05:14:18

Message-ID: <004001c0dde8$88e23090$1b01010e@sav>
From: "Andrew Shapovalov" <sav AT mks DOT kharkov DOT ua>
To: <djgpp AT delorie DOT com>
Subject: May be it is bug ?
Date: Wed, 16 May 2001 12:13:56 +0300
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_003D_01C0DE01.AE202650
Content-Type: text/plain;
	charset="koi8-u"
Content-Transfer-Encoding: quoted-printable

HI, my name Andrew Shapovalov? i'm a new customer of DJGPP, i'm download =
DJGPP 2.03=20
13.05.01  17:29              1 712 024 bnu27b.zip
13.05.01  16:47                639 989 djcrx203.zip
13.05.01  16:56              1 538 147 djdev203.zip
13.05.01  17:01              1 361 332 djdoc203.zip
16.05.01  10:26                545 881 djhlp201.zip
13.05.01  17:00              1 515 665 djlsr203.zip
13.05.01  17:04                870 698 djtst203.zip
13.05.01  17:08                490 103 djtzn203.zip
13.05.01  17:09                234 688 djtzs203.zip
13.05.01  17:18              1 973 168 gcc2953b.zip
13.05.01  17:44              1 796 810 gpp2953b.zip
When i try compile programm=20
h.c
#include <stdio.h>

int main(void)
{
  printf("Hello, world!\n");
  return 0;
}

with help gcc h.c
i have message=20
c:/djgpp/tmp\cchL0Zd9.s: Assembler messages:
c:/djgpp/tmp\cchL0Zd9.s:19: Error: Rest of line ignored. First ignored =
character is `,'.

h.s have image=20
 .file "h.c"
gcc2_compiled.:
___gnu_compiled_c:
.text
LC0:
 .ascii "Hello, world!\12\0"
 .p2align 2
.globl _main
_main:
 pushl %ebp
 movl %esp,%ebp
 subl $8,%esp
 addl $-12,%esp
 pushl $LC0
 call _printf
 addl $16,%esp
 xorl %eax,%eax
 jmp L2
 .p2align 4,,7       /* this line calling error */
 /*             ^ may be compiler generate to many commas */
L2:
 movl %ebp,%esp
 popl %ebp
 ret

What i must to do, for fix this problem ?
P.S. This problem meteentg in all programms which i had try to compile. =
F.E. DJGPP tests.
=20
Best regards=20
Andrew.
ICQ 75116582

------=_NextPart_000_003D_01C0DE01.AE202650
Content-Type: text/html;
	charset="koi8-u"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dkoi8-u" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>HI, my name Andrew Shapovalov? i'm a =
new customer=20
of DJGPP, i'm download DJGPP 2.03 </FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>13.05.01&nbsp;=20
17:29&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
1&nbsp;712&nbsp;024 bnu27b.zip<BR>13.05.01&nbsp;=20
16:47&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
639&nbsp;989 djcrx203.zip<BR>13.05.01&nbsp;=20
16:56&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
1&nbsp;538&nbsp;147 djdev203.zip<BR>13.05.01&nbsp;=20
17:01&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
1&nbsp;361&nbsp;332 djdoc203.zip<BR>16.05.01&nbsp;=20
10:26&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
545&nbsp;881 djhlp201.zip<BR>13.05.01&nbsp;=20
17:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
1&nbsp;515&nbsp;665 djlsr203.zip<BR>13.05.01&nbsp;=20
17:04&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
870&nbsp;698 djtst203.zip<BR>13.05.01&nbsp;=20
17:08&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
490&nbsp;103 djtzn203.zip<BR>13.05.01&nbsp;=20
17:09&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
234&nbsp;688 djtzs203.zip<BR>13.05.01&nbsp;=20
17:18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
1&nbsp;973&nbsp;168 gcc2953b.zip<BR>13.05.01&nbsp;=20
17:44&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;=20
1&nbsp;796&nbsp;810 gpp2953b.zip<BR><FONT face=3DArial>When i try =
compile programm=20
</FONT></FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>h.c</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>#include =
&lt;stdio.h&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>int main(void)<BR>{<BR>&nbsp; =
printf("Hello,=20
world!\n");<BR>&nbsp; return 0;<BR>}<BR></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DArial>with help gcc =
h.c</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Arial CYR">i have message =
</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Arial CYR">c:/djgpp/tmp\cchL0Zd9.s: =
Assembler=20
messages:<BR>c:/djgpp/tmp\cchL0Zd9.s:19: Error: Rest of line ignored. =
First=20
ignored character is `,'.<BR></FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DArial>h.s have image =
</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT=20
face=3D"Arial =
CYR">&nbsp;.file&nbsp;"h.c"<BR>gcc2_compiled.:<BR>___gnu_compiled_c:<BR>.=
text<BR>LC0:<BR>&nbsp;.ascii=20
"Hello, world!\12\0"<BR>&nbsp;.p2align 2<BR>.globl=20
_main<BR>_main:<BR>&nbsp;pushl %ebp<BR>&nbsp;movl =
%esp,%ebp<BR>&nbsp;subl=20
$8,%esp<BR>&nbsp;addl $-12,%esp<BR>&nbsp;pushl $LC0<BR>&nbsp;call=20
_printf<BR>&nbsp;addl $16,%esp<BR>&nbsp;xorl %eax,%eax<BR>&nbsp;jmp=20
L2<BR>&nbsp;.p2align 4,,7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* this =
line=20
calling error */</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Arial CYR"><FONT=20
face=3DArial>&nbsp;/*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
^ may be compiler generate to many commas */</FONT><BR>L2:<BR>&nbsp;movl =

%ebp,%esp<BR>&nbsp;popl %ebp<BR>&nbsp;ret<BR></FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3DArial>What i must to do, for fix this =
problem=20
?</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Arial CYR">P.S. This problem meteentg =
in all=20
programms which i had try to compile. F.E. DJGPP =
tests.</FONT></FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3D"Arial CYR">Best regards =
</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Arial CYR">Andrew.</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Arial CYR">ICQ=20
75116582</FONT></DIV></FONT></FONT></DIV></BODY></HTML>

------=_NextPart_000_003D_01C0DE01.AE202650--

- Raw text -


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