public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Kai Ruottu <kai.ruottu@wippies.com>
To: gowrisankar loganathan <lgowris@hotmail.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Gcc for V850
Date: Fri, 20 Mar 2009 10:23:00 -0000	[thread overview]
Message-ID: <49C36F73.2080901@wippies.com> (raw)
In-Reply-To: <SNT102-W8180BBFCE255F183CD8674B4970@phx.gbl>

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...

  reply	other threads:[~2009-03-20 10:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-16 12:20 Help needed to buid GCC for NEC V850 gowrisankar loganathan
2009-03-16 14:25 ` Kai Ruottu
2009-03-16 14:59   ` gowrisankar loganathan
2009-03-16 15:18     ` Kai Ruottu
2009-03-17  9:26       ` gowrisankar loganathan
2009-03-17 14:38         ` Kai Ruottu
2009-03-19 15:50           ` Gcc for V850 gowrisankar loganathan
2009-03-19 22:08             ` Jeff Law
2009-03-19 23:23             ` Ian Lance Taylor
2009-03-20  9:06               ` gowrisankar loganathan
2009-03-20 10:23                 ` Kai Ruottu [this message]
2009-03-20 14:09                 ` Ian Lance Taylor
2009-03-20 10:45               ` gowrisankar loganathan
2009-03-20 14:38                 ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49C36F73.2080901@wippies.com \
    --to=kai.ruottu@wippies.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=lgowris@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).