This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/43531] [4.5 Regression] host files being used during cross compilation
- From: "joel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2010 16:22:24 -0000
- Subject: [Bug bootstrap/43531] [4.5 Regression] host files being used during cross compilation
- References: <bug-43531-9565@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from joel at gcc dot gnu dot org 2010-03-30 16:22 -------
Maybe I am misreading the command invoked in Ralf's original report but it is
using xgcc which is the cross gcc:
make[5]: Entering directory
`/users/rtems/src/rpms/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.5.0/build/gcc'
/users/rtems/src/rpms/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.5.0/build/./gcc/xgcc
-B/users/rtems/src/rpms/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.5.0/build/./gcc/
-B/opt/rtems-4.11/h8300-rtems4.11/bin/ -B/opt/rtems-4.11/h8300-rtems4.11/lib/
-isystem /opt/rtems-4.11/h8300-rtems4.11/include -isystem
So any attempt to compile h8300.c with the cross xgcc is just wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43531