| www.delorie.com/djgpp/mail-archives/browse.cgi | search |
| From: | "Andrew Cottrell" <AndrewCottrell AT swiftdsl DOT com DOT au> |
| To: | <djgpp-workers AT delorie DOT com> |
| Subject: | RE: GCC 3.3 & LIBC - build process change (attempt #2) |
| Date: | Sat, 19 Jul 2003 11:53:30 +1000 |
| Message-ID: | <000001c34d98$91956280$0101a8c0@acp42g> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook, Build 10.0.4510 |
| Importance: | Normal |
| In-Reply-To: | <3F183642.108FBB3E@phekda.freeserve.co.uk> |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
[snip] > Since you've generated gpp.opt, why not use it? How about: > > XNOPGGPP = $(CROSS_GCC) $(shell sed -f $(TOP)/../noprof.sed > $(TOP)/../gpp.opt) -I. -I- -isystem $(TOP)/../../include $(CFLAGS) I have done this. > Incidentally, what causes gpp.opt to be built? Does the > default rule built it? I couldn't see anything in the patch, > to force it to be built. I added the following rule to built it:- *************** $(HOSTBIN)/%.exe : % *** 155,160 **** --- 160,168 ---- all :: $(OBJS) $(EXTRA_OBJS) $(EXTRA_FILES) $(NOP) + $(TOP)/../gpp.opt : $(TOP)/../gcc.opt + sed -f $(TOP)/../gpp_opt.sed $< > $@ + ifneq ($(MAKEFILE_LIB),1) all :: makefile.oh makefile.oh : makefile I spotted a problem with the patch and I don't know how to get arround it with my limited make knowledge. The problem is that make clean does not remove gpp.opt . I have tried the following:- clean :: -$(MISC) rm *.o *.d *.i makefile.oh gpp.opt and also the following, but this gives and error clean :: rm gpp.opt -$(MISC) rm *.o *.d *.i makefile.oh Any ideas on this one? Thanks, Andrew
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |