This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
cross-compile broken?
- From: <tm_gccmail at kloo dot net>
- To: bonzini at gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Aug 2004 22:42:42 -0700 (PDT)
- Subject: cross-compile broken?
Your change:
2004-08-06 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (bfd, opcodes, gcc, zlib): Mark as bootstrap
module.
(bison, byacc, flex, texinfo): Do not mark as bootstrap module.
(Dependencies): New section.
* Makefile.tpl (Dependencies): Generate from Makefile.def.
(configure-target-[+module+]): Depend on maybe-all-gcc
(all-prebootstrap): New name of all-bootstrap. Changed
throughout.
(toplevel profiledbootstrap): Fix dependencies.
* Makefile.in: Regenerate.
...may have broken cross-compiling.
When I attempt to build a cross-compiler for sh-elf, it fails:
gcc -c -g -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -I. -I../gcc/gcc
-I../gcc/gcc/. -I../gcc/gcc/../include -I../gcc/gcc/../libcpp/include \
../gcc/gcc/errors.c -o errors.o
make: *** No rule to make target `../libiberty/libiberty.a', needed by
`genmodes'. Stop.
Can you investigate?
Toshi