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

Unix Makefile: Discard unnecessary architecture checks #48

Closed
wants to merge 1 commit into from
Closed

Unix Makefile: Discard unnecessary architecture checks #48

wants to merge 1 commit into from

Conversation

Nebuleon
Copy link

For the benefit of #46.

Unlike the Mupen64Plus Core, which is sensitive to the architecture
it's compiled for due to its just-in-time compilers, this project does
not require architecture-specific glue code, only operating system
checks to load dynamic libraries and the presence of a well-behaving
port of SDL and OpenGL (ES) on the platform.

M64P_BIG_ENDIAN is not used for any decisions in this plugin, either.
Delete the big-endian processor checks.
@Narann
Copy link
Member

Narann commented Mar 10, 2015

Mmmh... after some investigations, we should maybe not remove everything. There is a lot of places where the Makefile try to avoid compilation problems on various architectures using those values.

What I suggest is to add the architecture you want to support here.

@Nebuleon
Copy link
Author

Alright, so after building for MIPS with NO_ASM = 0, I see that there is indeed architecture-specific stuff, namely a CPUID instruction (and on MIPS, there is no such instruction); additionally, the code refers to eax, ecx and edx, which are Intel registers.

Gonna kill this pull request for now and remake it with a MIPS support stanza instead. That, or perhaps you want NO_ASM := 1 on all architectures other than Intel.

@richard42 richard42 closed this Mar 11, 2015
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

Successfully merging this pull request may close these issues.

3 participants