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
Build optlink with masm 9 or 10 and with dmc-tools instead of SLR #2
Conversation
- masm (v9 or v10) complained about a number of "mov AL,errorCode" which had to be changed to AX (I guess it would not assume an external to fit into a byte) - I had to add a number of ridiculous "BYTE PTR" modifiers - do not build loadx.exe
Btw @WalterBright, maybe you know this already but here's a handy tip if you want to diff this locally instead of using Github:
You would probably replace |
Looks good, this compiles and links |
The compiled version hangs for me after a few files when trying to build |
Optlink fails on multicore machines. You have to set the "affinity" to one core. |
I use:
imagecfg.exe is available on the intarnets. http://www.robpol86.com/index.php/ImageCFG |
Maybe OptLink can do this instead?
|
Thanks, that explains it. Until we have it in optlink as Vladimir |
Build optlink with masm 9 or 10 and with dmc-tools instead of SLR
Is it correct to just call this external app like that? xfBuild used an elaborate way to call the |
Is it correct to just call this external app like that? xfBuild used an elaborate way to call the |
On 11.03.2013 01:54, Andrej Mitrovic wrote:
I think setting the affinity in the exe header is ok. The only drawback |
I think it would be better if optlink, upon startup, could say "stay on this core". But I don't know if there's a windows api to do that. |
To build, set environment variable DM (if not \dm), add dmc\bin to the path and run build_optlink.bat.