Announcement

Collapse
No announcement yet.

Quake qwsv on ARM

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Quake qwsv on ARM

    Soloved. Had to change some stuff in the source and add some files that were not included in the original makefile. Now I hawe a ARM quake server


    This is the make file

    CFLAGS =-O2 -march=armv4 -I../client -L../client -I./ -L./ -DSERVERONLY -fstrict-aliasing -fomit-frame-pointer -fno-strength-reduce

    #CFLAGS = -g -Wall -DDEBUG -I../client -I. -DSERVERONLY

    #CFLAGS =-O3 -I../client -L../client -I./ -L./ -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce

    #CFLAGS = -O3 -Wall -I../client -I./ -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce
    #CFLAGS = -mpentium -O2 -Wall -I../client -I. -DSERVERONLY -fomit-frame-pointer -fno-strength-reduce
    #CFLAGS=-DSERVERONLY -I../client -V2.7.2.1 -bi486-linux/ -O6 -Wall -fomit-frame-pointer -fno-strength-reduce
    CLIENT_DIR=../client
    EXE = qwsv

    OFILES =\
    sv_nchan.o \
    pr_cmds.o \
    pr_edict.o \
    pr_exec.o \
    sv_init.o \
    sv_main.o \
    sv_ents.o \
    sv_send.o \
    sv_move.o \
    sv_phys.o \
    sv_user.o \
    sv_ccmds.o \
    world.o \
    sys_unix.o \
    model.o \
    ../client/md4.o \
    ../client/cmd.o \
    ../client/common.o \
    ../client/crc.o \
    ../client/cvar.o \
    ../client/mathlib.o \
    ../client/zone.o \
    ../client/pmove.o \
    ../client/pmovetst.o \
    ../client/net_chan.o \
    ../client/net_udp.o

    LDFLAGS = -lm -lnsl

    $(EXE) : $(OFILES)
    cc $(CFLAGS) -o $(EXE) $(OFILES) $(LDFLAGS)

    clean:
    rm -f $(OFILES) $(EXE)

    app:
    make $(CFLAGS)

    profile:
    make "CFLAGS = -g -pg -O -Wall -I../client -DPROFILE"
    cp $(EXE) /LocalApps

    .c.o: ; cc -c $(CFLAGS) -o $@ $*.c
    .s.o: ; cc -c $(CFLAGS) -o $@ $*.s
    Last edited by eak; 11-08-2008, 11:16 AM. Reason: Current makefile

  • #2
    There is some sort of conversation going on about that topic at this thread at quakeworld.nu:

    http://www.quakeworld.nu/forum/viewtopic.php?id=3344

    I don't know very much about compiling Quake for a router.

    I'd ask in that thread, I'm sure someone can help you there.
    Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

    So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

    Comment

    Working...
    X