News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

ml64 & link

Started by learn64bit, February 26, 2024, 06:35:27 PM

Previous topic - Next topic

learn64bit

that's impossible, too many versions.
it's not a one man job

NoCforMe

True, too much for one person. I was just suggesting compiling what info you already have and publishing it. Even if not complete it'd be useful to someone here.
Assembly language programming should be fun. That's why I do it.

Vortex

Quote from: learn64bit on March 23, 2024, 12:44:12 PMthat's impossible, too many versions.
it's not a one man job

Hi learn64bit,

Maintaining the toolset is the job of MS' development teams.

learn64bit

14.39.33523.0
  17.9.34723.18 Evergreen vs_Community.exe
    maybe Fixed too

learn64bit

14.30.30705.0
 Visual Studio 2022 17.0.0 Community - 17.0.31903.59 - Fixed - Current

sudoku

Quote from: learn64bit on April 03, 2024, 01:04:46 AM17.0.31903.59 - Fixed

What was 'broken'?

?? Without some context, I don't know what your post means.
Ignore the trolls

learn64bit

Fixed
  vs_Community.exe\vs_bootstrapper_d15\vs_setup_bootstrapper.config
    IsFixed=true

learn64bit

Evergreen
  vs_Community.exe\vs_bootstrapper_d15\vs_setup_bootstrapper.config
    IsFixed=false

learn64bit

#23
WinMainCRTStartup & mainCRTStartup
  WinMainCRTStartup
    seems all ml64 and link are ok with it
  mainCRTStartup
    is this vs2019 special? why is mainCRTStartup, a Microsoft typo?



tester - hello.asm & hello.cmd

hello.asm
  MessageBoxA proto
  extrn ExitProcess:proc
  .data
    caption db'hello',0
    message db'你好',0
  .code
    WinMainCRTStartup:
    public WinMainCRTStartup
    sub rsp,28h
    mov rcx,0
    lea rdx,message
    lea r8,caption
    mov r9d,0
    call MessageBoxA
    mov rcx,rax
    call ExitProcess
  end

hello.cmd
  \masm64\bin64\ml64.exe /c hello.asm
    rem Microsoft (R) Macro Assembler (X86-64) PRE-ALPHA Version 7.00.9279
  \masm64\bin64\link.exe /subsystem:windows /LARGEADDRESSAWARE hello.obj /defaultlib:\masm64\lib64\kernel32.lib /defaultlib:\masm64\lib64\user32.lib
    rem Microsoft (R) Incremental Linker Version 7.00.9269.1

lingo

Hi learn64bit, :thumbsup:


Quote\masm64\bin64\link.exe /subsystem:windows /LARGEADDRESSAWARE hello.obj /defaultlib:\masm64\lib64\kernel32.lib /defaultlib:\masm64\lib64\user32.lib

you can omit  empty /LARGEADDRESSAWARE from your hello.cmd because:

QuoteEnable Large Addresses
The /LARGEADDRESSAWARE option tells the linker that the application can handle larger then 2 gigabytes.
Be default /LARGEADDRESSAWARE is enabled....
Quid sit futurum cras fuge quaerere.


learn64bit

IsFixed=false = Evergreen (latest version)