[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [parisc-linux] Re: Compiling glide-2001.01.26 on hppa




Ok, will do. Thanks for the tip!

- Doug


Christopher C. Chimelis wrote:
Try starting with the source for glide3-alpha.  It is the 64-bit branch of
the glide sources.  I tweaked them to compile ok on Alpha and they
shouldn't be hard to fix up for hppa as well.

C

On Sat, 24 Aug 2002, Carlos O'Donell wrote:


cc -O6 -m486 -fomit-frame-pointer -funroll-loops \
-fexpensive-optimizations -ffast-math -DBIG_OPT -I. \
-I/usr/src/glide-2001.01.26/build-tree/glide2x/swlibs/include \
-I/usr/src/glide-2001.01.26/build-tree/glide2x/cvg/include \
-DENDB -DX11 -Wall -fPIC -DPIC -c -o fx64.o fx64.c

cc1: Invalid option `486'


My question is, what incantation should I use on hppa to
replace the '-O6 -m486 -f...' CFLAGS?

i would suggest just using "-O2" for now....

randolph


The issues revolves around the fact that the source tree and assembly for some of pieces you want to build are meant for x86 boxes.
Though from a cusory glance it looks like the .c files are present for
these bits (so you can revert to those).

Right off the top:
tvg/makefile.linux:CFLAGS = -O -m486 -fomit-frame-pointer $(LCDEFS) $(LCOPTS) $(LCINC)
glide2x/sst1/init/initvg/makefile.unix:CFLAGS = -O -m486 -fomit-frame-pointer $(LCDEFS) $(LCOPTS) $(LCINC)
glide2x/swlibs/include/make/3dfx.linux.mak:CNODEBUG       = -O6 -m486 -fomit-frame-pointer -funroll-loops \
glide2x/swlibs/include/make/3dfx.mak:CNODEBUG       = -O6 -m486 -fomit-frame-pointer -funroll-loops \
glide2x/swlibs/include/make/3dfx.mak:CNODEBUG       = -O6 -m486 -fomit-frame-pointer -funroll-loops \
glide2x/swlibs/include/make/makefile.autoconf.bottom:GLIDE_DEBUG_GCFLAGS = -O6 -m486
glide3x/swlibs/include/make/3dfx.linux.mak:CNODEBUG       = -O6 -m486 -fomit-frame-pointer -funroll-loops \
glide3x/swlibs/include/make/3dfx.mak:CNODEBUG       = -O6 -m486 -fomit-frame-pointer -funroll-loops \
glide3x/swlibs/include/make/3dfx.mak:CNODEBUG       = -O6 -m486 -fomit-frame-pointer -funroll-loops \
glide3x/swlibs/include/make/makefile.autoconf.bottom:GLIDE_DEBUG_GCFLAGS = -O6 -m486
swlibs/include/make/3dfx.linux.mak:CNODEBUG       = -O6 -m486 -fomit-frame-pointer -funroll-loops \
swlibs/include/make/3dfx.mak:CNODEBUG       = -O6 -m486 -fomit-frame-pointer -funroll-loops \
swlibs/include/make/3dfx.mak:CNODEBUG       = -O6 -m486 -fomit-frame-pointer -funroll-loops \
swlibs/include/make/makefile.autoconf.bottom:GLIDE_DEBUG_GCFLAGS = -O6 -m486

These files will give you some grief and need to be changed; remove the -m486 bit.
You either need to produce .dpatch's for the deb to use or stop building
the deb and do it by hand with the upstream source.

You've got me all excited about seeing this work :) I have a Vodoo1 (Monster3D)
PCI card that I might be tempted to ressurect.

Hope this helps. Sorry about there not being a _magic_ switch :)

c.

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux










Reply to: