forked from eden-emu/eden
[docs, nce] use macos handler, cross arm inst
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
70d1e5cac5
commit
317d942ae0
2 changed files with 10 additions and 1 deletions
8
docs/CrossCompileARM64.md
Normal file
8
docs/CrossCompileARM64.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Cross compile ARM64
|
||||||
|
|
||||||
|
A painless guide for cross compilation (or to test NCE) from a x86_64 system without polluting your main.
|
||||||
|
|
||||||
|
- Install QEMU: `sudo pkg install qemu`
|
||||||
|
- Download Debian 13: `wget https://cdimage.debian.org/debian-cd/current/arm64/iso-cd/debian-13.0.0-arm64-netinst.iso`
|
||||||
|
- Create a system disk: `qemu-img create -f qcow2 debian-13-arm64-ci.qcow2 30G`
|
||||||
|
- Run the VM: `qemu-system-aarch64 -M virt -m 2G -cpu max -bios /usr/local/share/qemu/edk2-aarch64-code.fd -drive if=none,file=debian-13.0.0-arm64-netinst.iso,format=raw,id=cdrom -device scsi-cd,drive=cdrom -drive if=none,file=debian-13-arm64-ci.qcow2,id=hd0,format=qcow2 -device virtio-blk-device,drive=hd0 -device virtio-gpu-pci -device usb-ehci -device usb-kbd -device intel-hda -device hda-output -nic user,model=virtio-net-pci`
|
|
@ -375,7 +375,8 @@ elseif (APPLE)
|
||||||
"${MACH_EXC_DEFS_DIR}/mach/mach_exc.defs"
|
"${MACH_EXC_DEFS_DIR}/mach/mach_exc.defs"
|
||||||
)
|
)
|
||||||
target_sources(dynarmic PRIVATE
|
target_sources(dynarmic PRIVATE
|
||||||
backend/exception_handler_posix.cpp
|
backend/exception_handler_macos.cpp
|
||||||
|
backend/exception_handler_macos_mig.c
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
elseif (UNIX)
|
elseif (UNIX)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue