On Sat, 24 Feb 2024 06:20:54 GMT, Julian Waters <jwat...@openjdk.org> wrote:

> Why not reuse the AR variable for lib rather than introduce an entirely new 
> LIB variable? 

The reason will become more apparent as I progress towards proper handling of 
static libs. In short, AR is not by far a 1-to-1 mapping with LIB. On 
non-Microsoft toolchains, we are basically going to do static linking by ld + 
objcopy + ar; on Windows, it's just lib. So there is nothing to be gained by 
pretending that lib is ar.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17987#issuecomment-1962316021

Reply via email to