delorie.com/archives/browse.cgi | search |
From: | "Andrew Cottrell" <AndrewCottrell AT swiftdsl DOT com DOT au> |
To: | "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> |
Cc: | <djgpp-workers AT delorie DOT com> |
Subject: | RE: GCC 3.3 & LIBC - build process change (attempt #2) |
Date: | Sun, 20 Jul 2003 12:06:37 +1000 |
Message-ID: | <000801c34e63$90c4eee0$0101a8c0@acp42g> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook, Build 10.0.4510 |
In-Reply-To: | <3F193398.68AC8A99@phekda.freeserve.co.uk> |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id h6K26tj13292 |
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 |
> > + $(TOP)/../gpp.opt : $(TOP)/../gcc.opt > > + sed -f $(TOP)/../gpp_opt.sed $< > $@ > > + > > ifneq ($(MAKEFILE_LIB),1) > > all :: makefile.oh > > makefile.oh : makefile > > I saw that, but what depends on gpp.opt? AFAICT nothing would > cause it to be built, when you start with a fresh tree. Maybe > you need a line like: > > $(OBJS): $(TOP)/../gpp.opt > > Or does make auto-detect that it needs to build $(TOP)/../gpp.opt? > > Maybe I'm missing something. Make did auto-detect it somehow, but I also spotted it on Friday and added it to the all requriements, but this is a better option. I am in the process of doing a final check on attempt #3. > > 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? > > I don't understand. I wonder why the first one didn't work. I now do anfter some more investigating, but I still don't know the mechanism. This clean is called for each of the directories under the src root. As gpp.opt is in the src root it does not get deleted. I have added the following line to the src\makefile which causes the gpp.opt to be deleted. $(MAKE) -f makempty clean + ./misc.exe rm gpp.opt ./misc.exe rm makemake.exe copyrite.exe misc.exe I will post an attempt #3 after re-building and checking everything after at least 3 LIBC builds and clean cycles. Regards, Andrew
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |