<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Technically I think GHC doesn’t support .hi files built with different GHCs, unfortunately.<div class=""><br class=""></div><div class="">I don’t think that cabal-install supports binary packages as far as I know :(<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 27, 2020, at 3:57 PM, Sylvester Hazel via Haskell-Cafe <<a href="mailto:haskell-cafe@haskell.org" class="">haskell-cafe@haskell.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">
<pre class="">Hi Haskellers,</pre></div>
<div class="gmail-usertext-body gmail-may-blank-within gmail-md-container"><div class="gmail-md"><p class="">Cabal
 couldn't resolve dependencies for a generated package so I used Stack 
that used 2 different GHC versions to build library from this package. 
Stack stored the library as  libHSclient-something.a , 
HSclient-something.o and helper ".hi" files</p><p class="">The dependent libraries Stack stored and registered at  C:\sr..\lib\ </p><p class="">How to add this information to GHC or Cabal database to be able to use this new library? 
This is on Chocolatey managed Windows platform;-)</p>
</div>
</div>

</div>
_______________________________________________<br class="">Haskell-Cafe mailing list<br class="">To (un)subscribe, modify options or view archives go to:<br class=""><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br class="">Only members subscribed via the mailman list are allowed to post.</div></blockquote></div><br class=""></div></body></html>