* gcc cross compiler build fails with target=sh-elf
@ 2001-02-05 12:51 Nick - eCos Developer
2001-02-05 17:58 ` Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: Nick - eCos Developer @ 2001-02-05 12:51 UTC (permalink / raw)
To: gcc-help
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]
I'm having problems building a gcc cross compiler
with target=sh-elf for the Hitachi SH. I'm using gcc20001225. The compile errors
are specific to the sh processor. The errors are pretty obivious, the
definitions in rtl.h don't match those in the generated (from sh.md) file
insn-flags.h. Is this something I can fix, or do I need to get a different
version of gcc?
Â
gcc -DCROSS_COMPILE
-DIN_GCCÂ Â Â Â -g -O2Â -DHAVE_CONFIG_HÂ -o genflags
\ Â genflags.o rtl.o bitmap.o print-rtl.o ` case "obstack.o" in ?*) echo
obstack.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*)
echo ;; esac ` ` c ase "" in ?*) echo ;; esac ` ` case ""
in ?*) echo ;; esac ` -ladvapi32 ./genflags
/src/gcc-2.95.2/gcc/config/sh/sh.md >
tmp-flags.h /src/gcc-2.95.2/gcc/move-if-change tmp-flags.h
insn-flags.h insn-flags.h is unchanged touch s-flags gcc -c
-DCROSS_COMPILE -DIN_GCCÂ Â Â Â -g -O2Â
-DHAVE_CONFIG_HÂ Â Â -I. -I/src/gcc-2. 95.2/gcc
-I/src/gcc-2.95.2/gcc/config -I/src/gcc-2.95.2/gcc/../include
/src/gcc- 2.95.2/gcc/function.c In file included from
/src/gcc-2.95.2/gcc/function.c:48: insn-flags.h:393: conflicting types for
`gen_beq' /src/gcc-2.95.2/gcc/rtl.h:1032: previous declaration of
`gen_beq' insn-flags.h:397: conflicting types for
`gen_ble' /src/gcc-2.95.2/gcc/rtl.h:1034: previous declaration of
`gen_ble' insn-flags.h:398: conflicting types for
`gen_bge' /src/gcc-2.95.2/gcc/rtl.h:1033: previous declaration of
`gen_bge' insn-flags.h:403: conflicting types for
`gen_jump' /src/gcc-2.95.2/gcc/rtl.h:1031: previous declaration of
`gen_jump' /src/gcc-2.95.2/gcc/function.c: In function
`expand_function_end': /src/gcc-2.95.2/gcc/function.c:6386: too many
arguments to function
`gen_ic_inva lidate_line' /src/gcc-2.95.2/gcc/function.c:6505: too many
arguments to function `gen_jump'
Â
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc cross compiler build fails with target=sh-elf
2001-02-05 12:51 gcc cross compiler build fails with target=sh-elf Nick - eCos Developer
@ 2001-02-05 17:58 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2001-02-05 17:58 UTC (permalink / raw)
To: Nick - eCos Developer; +Cc: gcc-help
On Feb 5, 2001, "Nick - eCos Developer" <n_ecos@targus.net> wrote:
> I'm using gcc20001225.
^^^^^^^^
> In file included from /src/gcc-2.95.2/gcc/function.c:48:
^^^^^^
Huh?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-05 17:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-05 12:51 gcc cross compiler build fails with target=sh-elf Nick - eCos Developer
2001-02-05 17:58 ` Alexandre Oliva
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).