From: gowrisankar loganathan <lgowris@hotmail.com>
To: <gcc-help@gcc.gnu.org>
Subject: Gcc for V850
Date: Thu, 19 Mar 2009 15:50:00 -0000 [thread overview]
Message-ID: <SNT102-W71157EFC1428A0E2FA4FCCB4960@phx.gbl> (raw)
In-Reply-To: <49BFB6BC.5020106@wippies.com>
Hello All,
I build the tool chain for v850 with following command
$ ../../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-newlib -v 2>&1 |
tee configure.out
$ make -w all-gcc install-gcc LANGUAGE="c c++" 2>&1 | tee make.out
and then try to compile test file as follows
$ 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 `_'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:7: Error: too many memory
references for `add'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:8: Error: no such instruc
tion: `st.w r29,12[sp]'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:9: Error: too many memory
references for `mov'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:10: Error: no such instru
ction: `st.w r0,4[r29]'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:11: Error: too many memor
y references for `mov'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:12: Error: no such instru
ction: `st.w r10,8[r29]'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:13: Error: no such instru
ction: `ld.w 4[r29],r11'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:14: Error: no such instru
ction: `ld.w 8[r29],r10'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:15: Error: too many memor
y references for `cmp'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:16: Error: no such instru
ction: `be .L4'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:17: Error: no such instru
ction: `movea lo(20),r0,r10'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:18: Error: no such instru
ction: `st.w r10,8[r29]'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:20: Error: too many memor
y references for `mov'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:21: Error: no such instru
ction: `ld.w 12[sp],r29'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:22: Error: no such instru
ction: `addi 16,sp,sp'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:23: Error: invalid char '
[' beginning operand 1 `[r31]'
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:24: Warning: .size pseudo
-op used outside of .def/.endef ignored.
/cygdrive/c/DOKUME~1/SECOND~1/LOKALE~1/Temp/ccI33e2q.s:24: Error: junk at end of
line, first unrecognized character is `_'
I didn't get any clue where to look for these error, can anyone provide some info
with Thanks & Regards,
Gowrisankar Loganathan
_________________________________________________________________
The new Windows Live Messenger. You don’t want to miss this.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx
next prev parent reply other threads:[~2009-03-19 15:50 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 ` gowrisankar loganathan [this message]
2009-03-19 22:08 ` Gcc for V850 Jeff Law
2009-03-19 23:23 ` Ian Lance Taylor
2009-03-20 9:06 ` gowrisankar loganathan
2009-03-20 10:23 ` Kai Ruottu
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=SNT102-W71157EFC1428A0E2FA4FCCB4960@phx.gbl \
--to=lgowris@hotmail.com \
--cc=gcc-help@gcc.gnu.org \
/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).