File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
data/templates/src/pe/exe Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 10
10
; LINK.exe template_aarch64_windows.obj /SUBSYSTEM:WINDOWS /ENTRY:main /NODEFAULTLIB kernel32.lib /OUT:template_aarch64_windows.exe
11
11
;
12
12
;
13
+ ; --- Cross Compilation (Microsoft Visual Studio Build Tools) ---
14
+ ; 1. Locate Cross Compiler Tools and Libraries
15
+ ; In this case: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\arm64\
16
+ ; And: C:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\um\arm64
17
+ ; 2. Assemble:
18
+ ; "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\arm64\armasm64.exe" -o template_aarch64_windows.obj template_aarch64_windows.asm
19
+ ; 3. Link:
20
+ ; "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\arm64\link.exe" template_aarch64_windows.obj /LIBPATH:"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\um\arm64" /MACHINE:ARM64 /SUBSYSTEM:WINDOWS /ENTRY:main /NODEFAULTLIB kernel32.lib /OUT:template_aarch64_windows.exe
13
21
AREA |.text| , CODE , READONLY
14
22
15
23
; Import the Win32 functions we need from kernel32.dll
You can’t perform that action at this time.
0 commit comments