-
Notifications
You must be signed in to change notification settings - Fork 0
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
Supports compiling with VC4 #55
Comments
Updated sources: GreenPad-vc4test.zip and it leaves 2 mystery errors:
|
Good idea I will give this a try. |
I almost get it to work, but there is a trap: in we may need to write MIPS version of this or write a C/C++ version of this instead. |
alright I think I am finished porting it to NT MIPS. |
compiled VC4 MIPS binary(and also MIPS version of libchardet (cdetmips.dll)) I can compile with TARGET_VER=310 for now, since there is no IMM32 import library, and broken 30/12 build: GreenPad-mips.zip
|
Very Nice. |
but it could be slower since every call to
I use included header files and libraries. |
and today @tenox7 decided to build it on PowerPC NT: |
Very nice indeed! Does it have a repo with official release? so I can link it in the readme? I tried to cross compile using OpenWatcom but it seems Alpha and target is only available for plain C. (I could not find wppaxp but I did find wccaxp). |
still preparing (just added IA64 defines but no emulator/real machine for testing yet), and he built it from my VC4 tree's GreenPad.mak adding /DNO_ASMTHUNK and done. |
I'm going to try to compile for AXP as well. |
Nice to see that, so the circle is almost complete in term of CPU architectures.
Maybe we should create use getOSVerMinor(), and getOSVerMajor(). |
don't know if this is a VC2017's fault or not, as |
maybe you can use wclaxp for all source files. P.S.: there is an archive contains wppaxp and you can try with it: https://ftp2.zx.net.nz/pub/misc/watcom/ and by the way there are some WIP issue for NT-MIPS support in OpenWatcom: open-watcom/open-watcom-v2#1031 OpenWatcom also some foundation for generating NT-PowerPC but of course it is far to be usable in the moment. |
wclaxp just trties to call wppaxp and fails, but after further testing when I do a simple C program i cannot even build it with wclaxp because even if it can be compiled by wccaxp it cannot be linked because of missing AXP specific lib files.
Thanks for the link, I gave it a try and it works at 99%, I just need to get ConfigManager.cpp to build without a crash from OpenWatcom. |
also related is open-watcom/open-watcom-v2#183 |
I wonder if this can be done. Motivation is that, if we can compile it with VC4, we can try to compile it with VC4 RISC Edition to create MIPS binary.
My trial is that:
typename
(by #definingtypename
asclass
, definingexplicit
as nothing) andbool
/true
/false
by includeyvals.h
)but it still complains
CRITICAL_SECTION
and other standard windows functions:what do you think?
VC4 project files: GreenPad-vc4prj.zip
The text was updated successfully, but these errors were encountered: