[quake3] Q3 x86_64
PaSzCzUs
paszczus at gmail.com
Fri Nov 4 16:27:03 EST 2005
Ok, fixed in spec file, thanks!
2005/11/3, Ludwig Nussel <ludwig.nussel at suse.de>:
> PaSzCzUs wrote:
> > > > [...]
> > > > Loading vm file vm/qagame.qvm...
> > > > compiling qagame
> > > > running assembler < /var/games/quake3/.q3a/baseq3/qagame.s >
> > > > /var/games/quake3/.q3a/baseq3/qagame.o
> > > > done
> > > > computing jump table
> > > > Received signal 11, exiting...
> > > > Shutdown tty console
> > >
> > > The vm compiler is disabled by default on purpose. It works for me
> > > though (except for bots). Which distro/compiler/assembler/CFLAGS are
> > > you using?
> >
> > I`m using PLD Linux Distribution with gcc 3.3.6 and compiled using:
> >
> > CFLAGS="%{rpmcflags}"
> > CFLAGS="$CFLAGS -DDEFAULT_BASEDIR=\\\"%{_datadir}/games/%{name}\\\""
> > CFLAGS="$CFLAGS -Wall -Wimplicit -Wstrict-prototypes"
> > CFLAGS="$CFLAGS -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 $(sdl-config --cflags)"
> > CFLAGS="$CFLAGS -DNDEBUG -MMD"
> > %ifnarch %{ix86} #%{x8664} - experimental
> > CFLAGS="$CFLAGS -DNO_VM_COMPILED"
> > %endif
> >
> > %{__make} -C code/unix makedirs targets \
> > B="release-%{_target}" \
> > CC="%{__cc}" \rpm --showrc|grep CFLAGS
> > CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS;
> > CFLAGS="${CFLAGS:-%rpmcflags}" \
> > CFLAGS="${CFLAGS:-%rpmcflags}" ; export CFLAGS ; \
> >
> > %optflags -O2
> >
> > CFLAGS="$CFLAGS"
> >
> > Complete spec file is on http://cvs.pld-linux.org/SPECS/quake3.spec
>
> make %{?jobs:-j%jobs} \
> OPTIMIZE="%{optflags} -O3 -ffast-math -fno-strict-aliasing" \
> LCC_CFLAGS="%{optflags} -fno-strict-aliasing" \
> Q3ASM_CFLAGS="%{optflags} -fno-strict-aliasing" \
> release
>
> That's what I use. You better override OPTIMIZE rather than CFLAGS.
>
> cu
> Ludwig
>
> --
> (o_ Ludwig Nussel
> //\ SUSE LINUX Products GmbH, Development
> V_/_ http://www.suse.de/
>
>
More information about the quake3
mailing list