-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
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
Cannot build .asm files #16
Comments
Interesting. |
Do you have any idea on how to add the support for it? I know gcc is capable of building the asm; the question is how to feed those files to gcc. |
I look into it. |
Ok, working on it. |
Oh so your format of assembly is also in MASM? Dont worry about how feeding files into GCC. That is going to happen in my code. |
I've read a bit on the subject. It seems that we have three options to support assembly files within the vcxproj across multiple platforms:
|
Hi, I have finally managed to convert the .asm to NASM format and compile it within VS.
As soon as I remove it, gcc compiles everything like charm (but the project later fails to work since .so tries to resolve an unknown external in runtime). |
Have tried a few workarounds, including CustomBuildStep and PreLinkEvent. Neither do work when compiling with the GCC targets. |
I have added a couple of .asm files to my VC++ project.
Visual Studio does build the project just fine; however, build via GCC fails with the following error message:
See the
https://github.com/evilguest/linq2d/blob/master/SauvolaBinarizeCPP/SauvolaBinarizeCPP.vcxproj
for the project file detail.
Looks like we need a GCC-friendly counterpart of the masm.props and masm.targets.
The text was updated successfully, but these errors were encountered: