Web lists-archives.com

Re: Circular dependency with mingw64-x86_64-runtime




On Tue, 1 May 2018 13:44:45, JonY wrote:
What is the actual problem you are facing?

i already described it: when 2 things depend on each other in this way, that is
an error:

http://wikipedia.org/wiki/Circular_dependency

while setup.exe may account for this, it doesnt change the fact that this is not
correct. ideally one should depend on the other, and *not* vice versa. in this
case "gcc" should depend on "runtime", and not the other way around. the fix is
pretty simple; with "mingw64-x86_64-runtime.cygport", change:

   REQUIRES="mingw64-x86_64-headers mingw64-x86_64-gcc-core"

to

   REQUIRES="mingw64-x86_64-headers"

compare this to "w32api-runtime.cygport":

   REQUIRES="w32api-headers"


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple