This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Gcc for V850
gowrisankar loganathan <lgowris@hotmail.com> 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