Boss lady
Boss lady
DIIDevHeads IoT Integration Server
Created by Marvee Amasi on 10/2/2024 in #firmware-and-baremetal
Compilation Errors on AMD RYZEN 5 Using GCC and NASM for Assembly Code
@Marvee Amasi The issue you're facing when compiling your app.asm file locally on an AMD Ryzen 5 with Windows 10 could be due to several factors. While the code works fine in the online compiler, the differences in environment and configuration between the two setups might be causing the errors. First, it could be a mismatch in GCC or NASM versions—your local versions may be outdated compared to the online compiler. Updating them might help. Next, there could be platform differences, as the online compiler might be using Linux, while you're working on Windows. Assembly code can be sensitive to such differences, so double-check for platform-specific instructions. Another possibility is that the flags or options you're using for assembling and linking might be incorrect. The online compiler might handle these automatically, but you may need to manually specify them, especially for architecture ( 32-bit vs 64-bit). Lastly, it could be related to file paths or dependencies in your local setup. Make sure everything is correctly referenced and accessible. To resolve this, review the error logs, check the versions of your tools, and ensure you’re targeting the correct architecture. You may also want to try compiling on a Linux machine or update your toolchain.
6 replies