[patch] vxworks multilib typo

Andreas Tobler andreast-list@fgznet.ch
Thu Jan 22 20:25:00 GMT 2009


Hello all,

the below patch fixes a typo.
I think it is correct since I did not find a MULTIDIR in the whole gcc tree.
Also, I tested it while building a cross sparc i586-wrs-vxworks 
compiler. Without this patch it does not find the system headers.

Is this ok for trunk or should I wait?

Thanks,
Andreas

2009-01-22  Andreas Tobler  <a.tobler@schweiz.org>

	* config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.

Index: config/t-vxworks
===================================================================
--- config/t-vxworks	(revision 143574)
+++ config/t-vxworks	(working copy)
@@ -22,7 +22,7 @@
  # VxWorks system headers have names that collide with GCC's
  # internal (host) headers, e.g. regs.h.
  LIBGCC2_INCLUDES = -nostdinc -I \
-  `case "/$$(MULTIDIR)" in \
+  `case "/$$(MULTIDIRS)" in \
       */mrtp*) echo $(WIND_USR)/h ;; \
       *) echo $(WIND_BASE)/target/h ;; \
     esac`



More information about the Gcc-patches mailing list