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 =20
17:29 &n=
bsp; =20
1 712 024 bnu27b.zip<BR>13.05.01 =20
16:47 &n=
bsp; =20
639 989 djcrx203.zip<BR>13.05.01 =20
16:56 &n=
bsp; =20
1 538 147 djdev203.zip<BR>13.05.01 =20
17:01 &n=
bsp; =20
1 361 332 djdoc203.zip<BR>16.05.01 =20
10:26 &n=
bsp; =20
545 881 djhlp201.zip<BR>13.05.01 =20
17:00 &n=
bsp; =20
1 515 665 djlsr203.zip<BR>13.05.01 =20
17:04 &n=
bsp; =20
870 698 djtst203.zip<BR>13.05.01 =20
17:08 &n=
bsp; =20
490 103 djtzn203.zip<BR>13.05.01 =20
17:09 &n=
bsp; =20
234 688 djtzs203.zip<BR>13.05.01 =20
17:18 &n=
bsp; =20
1 973 168 gcc2953b.zip<BR>13.05.01 =20
17:44 &n=
bsp; =20
1 796 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 =
<stdio.h></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>int main(void)<BR>{<BR> =
printf("Hello,=20
world!\n");<BR> 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"> .file "h.c"<BR>gcc2_compiled.:<BR>___gnu_compiled_c:<BR>.=
text<BR>LC0:<BR> .ascii=20
"Hello, world!\12\0"<BR> .p2align 2<BR>.globl=20
_main<BR>_main:<BR> pushl %ebp<BR> movl =
%esp,%ebp<BR> subl=20
$8,%esp<BR> addl $-12,%esp<BR> pushl $LC0<BR> call=20
_printf<BR> addl $16,%esp<BR> xorl %eax,%eax<BR> jmp=20
L2<BR> .p2align 4,,7 /* this =
line=20
calling error */</FONT></FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Arial CYR"><FONT=20
face=3DArial> /* &nbs=
p; =20
^ may be compiler generate to many commas */</FONT><BR>L2:<BR> movl =
%ebp,%esp<BR> popl %ebp<BR> 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> </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 -