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 some dependencies on s-gtype v2.0


Rafael Espíndola wrote:
On 12/7/05, Daniel Jacobowitz <drow@false.org> wrote:

I believe "tr ' ' '\n'" is the portable solution to this problem.

Testing on GNU/LInux. I have just installed a Darwin/86. I will test with it too and report.

darwin-ppc, ppc-linux and solaris8 seems happy with!!!! Thx. Andreas

Index: Makefile.in
===================================================================
--- Makefile.in (revision 108164)
+++ Makefile.in (working copy)
@@ -2820,7 +2820,7 @@
$(subst /,-,$(GTFILES_FILES_FILES_C:.c=.h)))
GTFILES_LANG_DIR_NAMES_H = $(foreach d,$(GTFILES_LANG_DIR_NAMES), gtype-$(d).h)
ALL_GTFILES_H := $(shell echo $(GTFILES_FILES_FILES_H) \
- $(GTFILES_LANG_DIR_NAMES_H) | sed "s/ /\n/g" | sort -u)
+ $(GTFILES_LANG_DIR_NAMES_H) | tr ' ' '\n' | sort -u)


$(ALL_GTFILES_H) : s-gtype ; @true


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