This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix canadian cross compiles for *-elf targets (newlib)


Mike Frysinger wrote:
the fixed include changes (which i believe started with gcc-4.3, so this patch would be nice to have in the gcc-4.3 branch as well) broke canadian cross-
compiles for *-elf targets. the patch below fixes it the same way other C
libraries (like glibc) have been fixed ... that is, an explicit -isystem path
is added for the include-fixed/ subdir after the include/ subdir.


i believe this is the same issue Ãyvind Harboe reported here:
http://gcc.gnu.org/ml/gcc-help/2008-09/msg00100.html

tested this patch with gcc-4.3.2 and the bfin-elf target when building a
toolchian to run under Windows:
build=x86_64-linux host=mingw32 target=bfin-elf

I am not in a position to approve this patch, but RTEMS has been using an identical patch for its gcc toolchains for quite some time ;)


=> Tested with Cross-building gcc/newlib centos/suse/fedora-<i386/x86_64->*rtems,
Canadian Cross-building gcc/newlib mingw32->rtems and cygwin->rtems on Fedora-i386/x86_64


Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]