From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12061 invoked by alias); 20 Mar 2009 10:23:24 -0000 Received: (qmail 12052 invoked by uid 22791); 20 Mar 2009 10:23:22 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mta-out.inet.fi (HELO kirsi2.inet.fi) (195.156.147.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 Mar 2009 10:23:16 +0000 Received: from [192.168.0.42] (88.192.88.204) by kirsi2.inet.fi (8.5.014) id 49B91142004E76B9; Fri, 20 Mar 2009 12:23:12 +0200 Message-ID: <49C36F73.2080901@wippies.com> Date: Fri, 20 Mar 2009 10:23:00 -0000 From: Kai Ruottu User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: gowrisankar loganathan CC: gcc-help@gcc.gnu.org Subject: Re: Gcc for V850 References: <49BE6207.9090401@wippies.com> <49BE6EAC.8090505@wippies.com> <49BFB6BC.5020106@wippies.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00246.txt.bz2 gowrisankar loganathan wrote: > The configuration indiates it is using gnu assembler and loader, the below is the configuration > > $ v850-elf-gcc -v > Using built-in specs. > Target: v850-elf > Configured with: ../../gcc_source/gcc-4.3.0/configure --target=v850-elf -prefix= > /tools --exec-prefix=/tools/Gnu-i686-V850 --with-gnu-as --with-gnu-ld --with-new > lib -v > Thread model: single > gcc version 4.3.0 (GCC) Of course v850 has different machine language from x86, the ELF object format is different from the COFF-based PE format in Cygwin/x86 etc. So different directives in assembly made for ELF format will not be understood by a PE-format assembler... The GNU assembler will be configured for only one CPU (family), in this case it should be configured and built for the same 'v850-elf' target as the GCC... What else you have forgotten to produce? Have you any C-library ? The '--with-newlib' says that you are going to use the 'newlib' as this and when one cannot produce even a "Hello World" application for the target without a C library, then maybe you would like to have that... Maybe also a debugger/simulator like GDB for 'v850-elf' could be useful...