mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Mingw-cross-env-list Digest, Vol 31, Issue 37


From: René Berber
Subject: Re: [Mingw-cross-env-list] Mingw-cross-env-list Digest, Vol 31, Issue 37
Date: Fri, 30 Mar 2012 20:14:04 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0

On Fri, 30 Mar 2012, Volker Grabsch wrote:

but I just changed index.html and make still
re-builds binutils, mingwrt, and others (I don't know why, nothing
changed there) and the wrong gcc (original index has version 4.7.0,
make was building 4.6.3, and I don't want either of them, but after
changing to the version I want make is still building 4.6.3).

My confusion is, if make is not getting the version from index.html,
then from where?
The main Makefile takes all version information from index.html,
but the checksums are taken from src/*.mk so that changes will still
result in a rebuild of the respective package.

Found the problem: I was keeping your original gcc.mk as gcc-4.6.3.mk and gcc-4.7.0.mk alongside the old gcc-4.5.3.mk, somehow your Makefile kept grabbing only gcc-4.6.3.mk instead of gcc.mk, or any of the others.

[snip]
Otherwise, I recommend:

    hg pull -u
    make clean
    make

Even after making those steps the same gcc-4.6.3.mk was used.

Looks like a side effect, and a good candidate for a warning: "never keep old, renamed files in the src directory".

I moved the other gcc-*.mk files from src, and everything works normal again.

Thanks for your help.
--
René Berber



reply via email to

[Prev in Thread] Current Thread [Next in Thread]