Skip to content
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

Building Runtime/Microsoft.Psi in Ubuntu #9

Closed
dreichCSL opened this issue Jun 28, 2018 · 2 comments
Closed

Building Runtime/Microsoft.Psi in Ubuntu #9

dreichCSL opened this issue Jun 28, 2018 · 2 comments

Comments

@dreichCSL
Copy link

Using Ubuntu 18.04. I'm trying to build Sources/Runtime/Microsoft.Psi as part of one of the provided samples and am getting an error because my "ilasm" tool isn't generating the debug file when compiling the provided MemoryAccess.il library (it is generating the MemoryAcess.dll file, though). The code that compiles the library file can be found at the bottom of:
Sources/Runtime/Microsoft.Psi/Microsoft.Psi.csproj

Is there something obvious that I'm missing here?

@AshleyF
Copy link
Contributor

AshleyF commented Jun 28, 2018

Trying to diagnose this. If you could tell me the ilasm --version you're using, that could help (I have 5.10.0.140). Also, if you could try this: ilasm IL/MemoryAccess.il /dll /output=./test.dll /DEBUG=OPT. In particular the /DEBUG=OPT should emit a .mdb. Does it for you?

Thanks in advance. I'll continue to try to repro here...

@dreichCSL
Copy link
Author

The ilasm code I was using previously was part of coreCLR. I've installed the latest mono version now. ilasm --version here is 5.12.0.226, using an older version (4. something) gave me a different error (couldn't even compile the .il file). Anyway, with the latest mono/ilasm version everything's working fine. Thanks for quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants