Compiling glide-2001.01.26 on hppa
I have received my Voodoo2 board and am now working on building the glide packages for the hppa architecture. Working with the Debian source...
dpkg-buildpackage fails with the following line:
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?
Also, a side note, I'm missing the vga pass-through cable for the Voodoo2. If anybody would be interested in swapping one of the EVC->VGA dongle cables for an EVC->VGA adapter, I will kick in $10 to sweeten the deal. The adapter works fine.
Quoted 11 lines
cc -O6 -m486 -fomit-frame-pointer -funroll-loops \
(quoted diff) +0
-4-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.ccc1: 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
Quoted 9 lines
Quoted 9 lines
cc -O6 -m486 -fomit-frame-pointer -funroll-loops \
(quoted diff) +0
-4-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.ccc1: Invalid option `486'
Quoted 7 lines
Quoted 2 lines
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.
Quoted 9 lines
Quoted 9 lines
cc -O6 -m486 -fomit-frame-pointer -funroll-loops \
(quoted diff) +0
-4-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.ccc1: Invalid option `486'
Quoted 7 lines
Quoted 2 lines
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.
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
Quoted 55 lines · Carlos O'Donell
Quoted 9 lines
Quoted 9 lines
cc -O6 -m486 -fomit-frame-pointer -funroll-loops \
(quoted diff) +0
-4-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.ccc1: Invalid option `486'
Quoted 7 lines
Quoted 2 lines
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 -m486These 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
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
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
Quoted 55 lines · Carlos O'Donell
Quoted 9 lines
Quoted 9 lines
cc -O6 -m486 -fomit-frame-pointer -funroll-loops \
(quoted diff) +0
-4-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.ccc1: Invalid option `486'
Quoted 7 lines
Quoted 2 lines
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 -m486These 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
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 11 lines
cc -O6 -m486 -fomit-frame-pointer -funroll-loops \
(quoted diff) +0
-4-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.ccc1: 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