RFR: 8326587: Separate out Microsoft toolchain linking
    Erik Joelsson 
    erikj at openjdk.org
       
    Fri Feb 23 22:07:55 UTC 2024
    
    
  
On Fri, 23 Feb 2024 21:31:09 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> Ok, fair enough, I should have phrase this split as "Microsoft toolchain" and "everything else". The point is that linking is vastly different on Windows than on other platforms. Our efforts to force "lib" to behave as "ar" etc was far-fetched to begin with. And to fully support static libraries, we need to separate the static linking into several steps, running ld, objcopy and then finally ar There is no correspondence to of this at all with the Microsoft toolchain, and trying to shoehorn this in is just going to make matters worse.
> 
> I'll rename the split according to toolchain and not platform. (And then I think this will actually help Julian, since we'll push the microsoft strangeness away in a separate file.) Sounds OK to you then?
That sounds good to me, thanks!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17987#issuecomment-1962063986
    
    
More information about the build-dev
mailing list