What are the alignment of sections and memory within an EXE file I need to specify when creating using in the Mosa IL compiler?
Thanks.
What are the alignment of sections and memory within an EXE file I need to specify when creating using in the Mosa IL compiler?
Thanks.
The sections within the PE file must be aligned on 4k boundaries.
You can involve the MOSA compiler properly like this:
mosacl.exe -a=x86 -f=PE --pe-file-alignment=4096 --map=hello.map -b=mb0.7 -o hello.exe