fishxz
Posts: 71
Joined: Thu Feb 14, 2013 7:38 pm

Diese Software für ARM kompilieren, möglich?

Thu Mar 21, 2013 3:14 pm

Hallo,
ich denke momentan darüber nach meinen Vserver gegen einen RPI zu ersetzen, dazu brauche ich natürlich auch die Software für ARM. Momentan wäre das nur mein Quake2 Server. Ich frage mich ob es denn generell möglich wäre diesen für ARM zu bauen oder ob hierzu etwas am Code geändert werden müsste.

Den Sourcode gibt es übrigens hier: http://www.r1ch.net/stuff/r1q2/src/r1q2-b8012-src.zip
Das wäre natürlich nur der Anfang, wäre aber generell gut zu wissen ob das überhaupt realisierbar ist, was ich da plane.
Last edited by fishxz on Thu Mar 21, 2013 3:28 pm, edited 1 time in total.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 13100
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Ist es generell möglich Software für ARM zu kompilieren?

Thu Mar 21, 2013 3:23 pm

Ist es generell möglich Software für x86 zu kompilieren? :mrgreen:

fishxz
Posts: 71
Joined: Thu Feb 14, 2013 7:38 pm

Re: Ist es generell möglich Software für ARM zu kompilieren?

Thu Mar 21, 2013 3:28 pm

hehe, der titel ist etwas blöd, wegen dem limit :)
ich kenn mich aber wirklich da nicht so aus, also die frage ist schon ernst gemeint.
Last edited by fishxz on Thu Mar 21, 2013 3:48 pm, edited 1 time in total.

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Diese Software für ARM kompilieren, möglich?

Thu Mar 21, 2013 3:42 pm

Sieht OK aus , würde mir aber nicht sonderlich viel Performance erhoffen.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

fishxz
Posts: 71
Joined: Thu Feb 14, 2013 7:38 pm

Re: Diese Software für ARM kompilieren, möglich?

Thu Mar 21, 2013 3:47 pm

was meinst du nicht mit sonderlich viel performance?
mir spuckt er übrigens beim versuch diesen Fehler aus:

Code: Select all

pi@raspberrypi ~/r1q2/binaries/r1q2ded $ make
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/cmd.d -MMD   -c -o cmd.o ../../qcommon/cmd.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/cmodel.d -MMD   -c -o cmodel.o ../../qcommon/cmodel.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/common.d -MMD   -c -o common.o ../../qcommon/common.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/crc.d -MMD   -c -o crc.o ../../qcommon/crc.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/cvar.d -MMD   -c -o cvar.o ../../qcommon/cvar.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/files.d -MMD   -c -o files.o ../../qcommon/files.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/md4.d -MMD   -c -o md4.o ../../qcommon/md4.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/net_chan.d -MMD   -c -o net_chan.o ../../qcommon/net_chan.c
../../qcommon/net_chan.c: In function âNetchan_Initâ:
../../qcommon/net_chan.c:94:7: warning: variable âportâ set but not used [-Wunused-but-set-variable]
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/mersennetwister.d -MMD   -c -o mersennetwister.o ../../qcommon/mersennetwister.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/redblack.d -MMD   -c -o redblack.o ../../qcommon/redblack.c
../../qcommon/redblack.c: In function ârbdeleteâ:
../../qcommon/redblack.c:260:27: warning: variable âyâ set but not used [-Wunused-but-set-variable]
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/sv_ccmds.d -MMD   -c -o sv_ccmds.o ../../server/sv_ccmds.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/sv_ents.d -MMD   -c -o sv_ents.o ../../server/sv_ents.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/sv_game.d -MMD   -c -o sv_game.o ../../server/sv_game.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/sv_init.d -MMD   -c -o sv_init.o ../../server/sv_init.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/sv_main.d -MMD   -c -o sv_main.o ../../server/sv_main.c
../../server/sv_main.c: In function âSVC_RemoteCommandâ:
../../server/sv_main.c:1896:12: warning: variable âendRedirâ set but not used [-Wunused-but-set-variable]
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/sv_send.d -MMD   -c -o sv_send.o ../../server/sv_send.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/sv_user.d -MMD   -c -o sv_user.o ../../server/sv_user.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/sv_world.d -MMD   -c -o sv_world.o ../../server/sv_world.c
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/q_shlinux.d -MMD   -c -o q_shlinux.o ../../linux/q_shlinux.c
{standard input}: Assembler messages:
{standard input}:459: Error: bad instruction `int $3'
make: *** [q_shlinux.o] Error 1

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Diese Software für ARM kompilieren, möglich?

Thu Mar 21, 2013 3:59 pm

Tja , ich hab wohl nicht so gründlich hingeschaut ...
da ist Assemblercode dabei - möglicherweise mal beim Autor nachfragen
ob man den Server (du willst doch nur den Server , oder ?) auch ohne ihn benutzen kann.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

fishxz
Posts: 71
Joined: Thu Feb 14, 2013 7:38 pm

Re: Diese Software für ARM kompilieren, möglich?

Thu Mar 21, 2013 4:00 pm

nur server, ja. ich werds versuchen, aber ob ich ihn erreiche ist die andere frage.

NetSecond
Posts: 106
Joined: Wed Mar 13, 2013 12:14 am
Location: Germany

Re: Diese Software für ARM kompilieren, möglich?

Fri Mar 22, 2013 9:47 pm

Was meinst Du mit Erreichen ??

Das ist normal kein Problem. DynDNS Dienst im Router einrichten, Portforwarding konfigurieren und schon ist das Teil im Internet erreichbar.

Ich habe meinen mit ner normalen DE Domain über Strato als Subdomain laufen. Meine Hauptdomain trägt meine Foren und diverse intensivere Projekte und der RPI ist als "Datengrab" über ne Subdomain angebunden. Strato bietet auch DynDNS.

Ansonsten kannst Du ja mal bei den FreeDynDNS Anbietern schauen, hatte davor mit DynDNS.org sehr gute Erfahrungen gemacht.

Denk aber daran, den gut genug abzusichern, sonst hast Du bald unbeliebtes Zeugs drauf.
Selbst wenn der RPI nur ein Miniserver ist, so ist er doch ein Server ....
Gruß / Regards
NetSecond

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Diese Software für ARM kompilieren, möglich?

Mon Mar 25, 2013 9:48 am

@NetSecond
"ihn" bezieht sich auf den Autor , vermute ich mal.

@fishxz
Ich glaube der Autor hat ein Forum , vielleicht ist es so
einfacher mit ihm in Kontakt zu treten.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “Deutsch”