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

Supporting more host platform #2051

Closed
Naville opened this issue Nov 4, 2024 · 4 comments
Closed

Supporting more host platform #2051

Naville opened this issue Nov 4, 2024 · 4 comments

Comments

@Naville
Copy link

Naville commented Nov 4, 2024

Hi:
Following #2050 , I'm porting uc to more host environment.

For now, I'm targeting X86_64-Windows.
I've used WSL to execute create_config and configure, with some CRLF/LF patches, and made it past the configuration stage, as well as adding include guard checks at many places to support building on environments with a limited libC functionality as well as shims.

However, now I'm stuck with the SJLJ code (to be precise: sigsetjmp / siglongjmp ) everywhere. Is it possible to disable those?

@Naville
Copy link
Author

Naville commented Nov 4, 2024

Apparently you can't port uc if qemu is unsupported on your target platform

@Naville Naville closed this as completed Nov 4, 2024
@wtdcode
Copy link
Member

wtdcode commented Nov 4, 2024

WSL2 should be supported out-of-box. Regarding WSL1, I have no idea and experience porting code for it.

@Naville
Copy link
Author

Naville commented Nov 4, 2024

WSL2 should be supported out-of-box. Regarding WSL1, I have no idea and experience porting code for it.

我指的是, 在Windows下使用wsl来调用qemu/configure 和qemu/scripts/create_config 来生成对应的.h文件
现在在原生Windows上这是会失败的, 而且因为execute_process没有加COMMAND_ERROR_IS_FATAL ANY会导致静默失败

@aquynh
Copy link
Member

aquynh commented Nov 4, 2024 via email

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

3 participants