We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attempting to compile
.data msg: .string "Hello" .text .global _main .intel_syntax noprefix .extern MessageBoxA _main: # write your code here push offset msg push 0 call MessageBoxA ret
returns the following error undefined reference to MessageBoxA, despite the following flags in COLLECT_GCC_OPTIONS: -lmingw32 -lgcc_eh -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_eh -lgcc -lmoldname -lmingwex -lmsvcrt c:/program files (x86)/sasm/mingw/bin/../lib/gcc/mingw32/4.6.2/crtend.o
undefined reference to MessageBoxA
COLLECT_GCC_OPTIONS
-lmingw32 -lgcc_eh -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_eh -lgcc -lmoldname -lmingwex -lmsvcrt c:/program files (x86)/sasm/mingw/bin/../lib/gcc/mingw32/4.6.2/crtend.o
The text was updated successfully, but these errors were encountered:
No branches or pull requests
attempting to compile
returns the following error
undefined reference to MessageBoxA
, despite the following flags inCOLLECT_GCC_OPTIONS
:-lmingw32 -lgcc_eh -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_eh -lgcc -lmoldname -lmingwex -lmsvcrt c:/program files (x86)/sasm/mingw/bin/../lib/gcc/mingw32/4.6.2/crtend.o
The text was updated successfully, but these errors were encountered: