-
Notifications
You must be signed in to change notification settings - Fork 8
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
aarch64 compilation #10
Comments
Line 51 should read This assumes the compiler defines the target architecture as |
I should point out that this is going to be a problem when porting to other architectures besides x86 going forward. The naming convention you are extending was intended to allow the development toolset to automatically name the DLL according to the platform. There are now too many platforms to maintain. The game might as well have been named game.dll or game.so for all architectures. |
hmm... my question is, why doesn't it work on my aarch64 archlinux, is it from q2tadmin that the problem is, or is it from something who can be missin on my aarch computer ? |
PowaBanga, I cloned your repository and I cloned q2admin-tsmod and q2pro into your subtree and they all built without changes. Invoking the server with ./ddaynormandyded map dday1 started the server correctly and all bots started correctly and I was able to join the server without any trouble. From what I can see, the q2pro build assumes all arm processors are "arm" so the building of the game dll should always keep "arm" as the CPU type and make no changes there. You can test this by building q2pro and looking at the game dll it built in the q2pro folder. If the name of that binary is gamearm.so then your build of q2admin should follow that naming and the name of the real normandy game dll should be gamearm.real.so. Note: if your aarch64 compiler doesn't define
I hope this helps. P.S. Please report results if this fixes your issue with q2admin-tsmod and I will modify the repository accordingly. |
ok, here is my g_main.c
and the compilation here :
|
Hello,
I am trying to compil this source into my raspberry pi 3b+ with Archlinux installed on in aarch64 architecture.
so, i modified the code like i did for arm
and i have this error message :
Does anybody can help me to understand this error, and maybe find a way to fix that please ? :/
The text was updated successfully, but these errors were encountered: