This is the mail archive of the gcc@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]

Re: gcc_tooldir is useless


  In message <jeiu4v191s.fsf@hawking.suse.de>you write:
  > Which is the reason why it works for you.  But I have already send a patch
  > to gcc-patches that fixes the case when the headers are in
  > $tooldir/include.  You just have to make sure that the target libraries
  > use the same compiler command as in the gcc directory when running the
  > target compiler.
But I don't see why you want or need $tooldir/include to work.


The documented way to provide headers for a cross compiler is the 
--with-headers options.  If you're doing something different, then I'm not
surprised it doesn't work.  Follow the instructions for building a cross
compiler and it should work just fine.

jeff


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