loongson-community / discussions

Cross-community issue tracker & discussions / 跨社区工单追踪 & 讨论场所
7 stars 0 forks source link

[ABI] Tracking issue for "parallel-universe" Windows ABI on LoongArch #21

Open xen0n opened 7 months ago

xen0n commented 7 months ago

Although it may be a while before Windows gets LoongArch support (if at all), it is useful to allow building winelib programs on LoongArch, and for this purpose we need to somehow hack together a Windows ABI for LoongArch.

As any such invention is not guaranteed to be compatible with the real LoongArch Windows ABI should this really happen, I propose calling this community-driven ABI a "parallel-universe" one.

xry111 commented 7 months ago

Porting ReactOS to LoongArch? :)

driver1998 commented 7 months ago

Just for reference:

.NET has a PAL layer which maps a lot of Windows (NT) concepts over to *nix systems.

It even seems to include SEH support... Not sure if it is a 100% clone of Windows SEH though.

The LoongArch implementation of .NET PAL might be interesting to look at.