11
ASMC Development / Re: Asmc source and binaries
« Last post by 2B||!2B on December 09, 2019, 08:18:56 AM »Ah, i have 32bit. That must be why the import libraries failed to build.
I will be installing 64bit Windows then will see.
You don't really need Win64 to use (or build) Asmc. You may also build 64-bit binaries but you wont be able to execute them. As for import libraries the reason why it's not included is the share size of it and only a selected few are even included in the build-list so you'll need a mechanism to add imports dynamically. This means Win64 is needed to add 64-bit libraries.
To build the current sample using Win32 add the following changes to the MAKEFILE:
_aligned_malloc.exe:
asmc64 $*.asm
linkw system con_64 file $*
asmc -Fitchar.inc $*.asm
linkw system con_32 file $*
It works 32bit.
Code: [Select]
This pointer, 00275800, is aligned on 512
But i needed 64bit. So i needed those libs for 64bit.
I have a question, is asmc able to convert a 32bit project to 64bit or vice versa? because i see this aligned malloc project is 64bit and after i used that command you sent, it built 32bit without modifying the source.