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