From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4136 invoked by alias); 19 Mar 2009 23:23:43 -0000 Received: (qmail 3867 invoked by uid 22791); 19 Mar 2009 23:23:43 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Mar 2009 23:23:36 +0000 Received: from wpaz9.hot.corp.google.com (wpaz9.hot.corp.google.com [172.24.198.73]) by smtp-out.google.com with ESMTP id n2JNNYlY032671; Thu, 19 Mar 2009 16:23:34 -0700 Received: from smtp.corp.google.com (spacemonkey1.corp.google.com [192.168.120.115]) by wpaz9.hot.corp.google.com with ESMTP id n2JNNVrL032451 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 19 Mar 2009 16:23:32 -0700 Received: from localhost.localdomain.google.com (adsl-71-133-8-30.dsl.pltn13.pacbell.net [71.133.8.30]) (authenticated bits=0) by smtp.corp.google.com (8.13.8/8.13.8) with ESMTP id n2JNNVhZ005542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 19 Mar 2009 15:23:31 -0800 To: gowrisankar loganathan Cc: Subject: Re: Gcc for V850 References: <49BE6207.9090401@wippies.com> <49BE6EAC.8090505@wippies.com> <49BFB6BC.5020106@wippies.com> From: Ian Lance Taylor Date: Thu, 19 Mar 2009 23:23:00 -0000 In-Reply-To: (gowrisankar loganathan's message of "Thu\, 19 Mar 2009 15\:50\:01 +0000") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg00240.txt.bz2 gowrisankar loganathan writes: > $ v850-elf-gcc -Wall test.c -o test > test.c: In function 'main': > test.c:16: warning: 'return' with no value, in function returning non-void > /cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s: Assembler messages: > /cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:5: Warning: .type pseudo- > op used outside of .def/.endef ignored. > /cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:5: Error: junk at end of > line, first unrecognized character is `_' Most likely you are using an x86 assembler rather than a v850 assembler. Use the -v option to see which assembler is being run. You must ensure that that is a v850 assembler. Ian