[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Hai Xu" <xhai@CLEMSON.EDU>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["Hai Xu" <xhai@CLEMSON.EDU>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Wed, 23 May 2001 06:42:42 +0200 (CEST)
>From owner-rtl Tue May 22 14:08:26 2001
Received: from CLEMSON.EDU (mail.clemson.edu [130.127.28.87])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f4MK8Pr31539
for <rtl@rtlinux.org>; Tue, 22 May 2001 14:08:26 -0600
Received: from crb50 (crb50.ces.clemson.edu [130.127.172.60])
by CLEMSON.EDU (8.11.0/8.11.0) with SMTP id f4MK3fw21031
for <rtl@rtlinux.org>; Tue, 22 May 2001 16:03:41 -0400 (EDT)
Message-ID: <006101c0e2fa$ab5eec00$3cac7f82@crb50>
From: "Hai Xu" <xhai@CLEMSON.EDU>
To: <rtl@rtlinux.org>
Subject: The differences between gcc/g++ and kgcc
Date: Tue, 22 May 2001 16:06:20 -0400
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
Dear all,
I met a problem. When I try to compile my code with gcc or g++, I will get
the following errors:
/tmp/ccMCTgOr.s: Assembler messages:
/tmp/ccMCTgOr.s:155: Error: ignoring junk `new' after expression
/tmp/ccMCTgOr.s:299: Error: Rest of line ignored. First ignored character is
`n'.
/tmp/ccMCTgOr.s:301: Error: Rest of line ignored. First ignored character is
`n'.
/tmp/ccMCTgOr.s:302: Error: ignoring unrecognized symbol type "new"
/tmp/ccMCTgOr.s:302: Error: Rest of line ignored. First ignored character is
`,'.
/tmp/ccMCTgOr.s:303: Error: no such instruction: `operator new:'
/tmp/ccMCTgOr.s:312: Error: expected comma after name `operator' in .size
directive
/tmp/ccMCTgOr.s:312: Error: Rest of line ignored. First ignored character is
`n'.
/tmp/ccMCTgOr.s:313: Warning: Ignoring changed section attributes for
.modinfo
make: *** [_mq.o] Error 1
But when I changed to kgcc, I will just get some warning message not error
message.
/usr/src/linux/include/asm/processor.h: In function `void rep_nop()':
In file included from /usr/src/linux/include/linux/sched.h:74,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/malloc.h:4,
from /usr/qrts/include/builtins++.h:42,
from mq.cpp:23:
/usr/src/linux/include/asm/processor.h:333: warning: volatile qualifier
ignored on asm
/tmp/ccCeklPz.s: Assembler messages:
/tmp/ccCeklPz.s:368: Warning: Ignoring changed section attributes for
.modinfo
Why? What is the differences between them?
I need your help.
Thanks in advance.
Hai Xu