I am currently studying CP and have encountered a problem. I need to convert my C++ code to 32-bit TASM and use it inside an
__asm__(R"()");
inline assembly on a GNU 10.2 C++ 17 compiler with the default 64-bit compilation. The system is a Debian GNU/Linux 11 (bullseye) virtual machine on VMware Workstation 16.1.2 build-17966106 Pro (the host operating system is Windows 11, 64-bit, Pro, Central Processing Unit: i5-8300h). However, neither the command
gcc -m32 main.c -o main
nor
gcc -m32 main.cpp -o main
(even though I renamed the file to .cpp) have worked. The error messages follow. Thanks in advance. https://i.stack.imgur.com/gm4IG.png