* [parisc-linux] Compiling glide-2001.01.26 on hppa
@ 2002-08-24 17:55 B. Douglas Hilton
2002-08-24 18:01 ` [parisc-linux] " Randolph Chung
2002-08-24 18:01 ` Randolph Chung
0 siblings, 2 replies; 8+ messages in thread
From: B. Douglas Hilton @ 2002-08-24 17:55 UTC (permalink / raw)
To: debian-hppa; +Cc: parisc-linux
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [parisc-linux] Re: Compiling glide-2001.01.26 on hppa
2002-08-24 17:55 [parisc-linux] Compiling glide-2001.01.26 on hppa B. Douglas Hilton
@ 2002-08-24 18:01 ` Randolph Chung
2002-08-24 22:37 ` Carlos O'Donell
2002-08-24 22:37 ` Carlos O'Donell
2002-08-24 18:01 ` Randolph Chung
1 sibling, 2 replies; 8+ messages in thread
From: Randolph Chung @ 2002-08-24 18:01 UTC (permalink / raw)
To: B. Douglas Hilton; +Cc: debian-hppa, parisc-linux
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [parisc-linux] Re: Compiling glide-2001.01.26 on hppa
2002-08-24 18:01 ` [parisc-linux] " Randolph Chung
@ 2002-08-24 22:37 ` Carlos O'Donell
2002-08-27 4:02 ` Christopher C. Chimelis
2002-08-27 4:02 ` Christopher C. Chimelis
2002-08-24 22:37 ` Carlos O'Donell
1 sibling, 2 replies; 8+ messages in thread
From: Carlos O'Donell @ 2002-08-24 22:37 UTC (permalink / raw)
To: Randolph Chung; +Cc: B. Douglas Hilton, debian-hppa, parisc-linux
> > 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [parisc-linux] Re: Compiling glide-2001.01.26 on hppa
2002-08-24 22:37 ` Carlos O'Donell
@ 2002-08-27 4:02 ` Christopher C. Chimelis
2002-08-27 4:02 ` Christopher C. Chimelis
1 sibling, 0 replies; 8+ messages in thread
From: Christopher C. Chimelis @ 2002-08-27 4:02 UTC (permalink / raw)
To: Carlos O'Donell
Cc: Randolph Chung, B. Douglas Hilton, debian-hppa, 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
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
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [parisc-linux] Re: Compiling glide-2001.01.26 on hppa
2002-08-24 22:37 ` Carlos O'Donell
2002-08-27 4:02 ` Christopher C. Chimelis
@ 2002-08-27 4:02 ` Christopher C. Chimelis
1 sibling, 0 replies; 8+ messages in thread
From: Christopher C. Chimelis @ 2002-08-27 4:02 UTC (permalink / raw)
To: Carlos O'Donell
Cc: Randolph Chung, B. Douglas Hilton, debian-hppa, 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
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
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [parisc-linux] Re: Compiling glide-2001.01.26 on hppa
2002-08-24 18:01 ` [parisc-linux] " Randolph Chung
2002-08-24 22:37 ` Carlos O'Donell
@ 2002-08-24 22:37 ` Carlos O'Donell
1 sibling, 0 replies; 8+ messages in thread
From: Carlos O'Donell @ 2002-08-24 22:37 UTC (permalink / raw)
To: Randolph Chung; +Cc: B. Douglas Hilton, debian-hppa, parisc-linux
> > 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [parisc-linux] Re: Compiling glide-2001.01.26 on hppa
2002-08-24 17:55 [parisc-linux] Compiling glide-2001.01.26 on hppa B. Douglas Hilton
2002-08-24 18:01 ` [parisc-linux] " Randolph Chung
@ 2002-08-24 18:01 ` Randolph Chung
1 sibling, 0 replies; 8+ messages in thread
From: Randolph Chung @ 2002-08-24 18:01 UTC (permalink / raw)
To: B. Douglas Hilton; +Cc: debian-hppa, parisc-linux
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [parisc-linux] Compiling glide-2001.01.26 on hppa
@ 2002-08-24 17:55 B. Douglas Hilton
0 siblings, 0 replies; 8+ messages in thread
From: B. Douglas Hilton @ 2002-08-24 17:55 UTC (permalink / raw)
To: debian-hppa; +Cc: parisc-linux
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-08-27 4:02 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-24 17:55 [parisc-linux] Compiling glide-2001.01.26 on hppa B. Douglas Hilton
2002-08-24 18:01 ` [parisc-linux] " Randolph Chung
2002-08-24 22:37 ` Carlos O'Donell
2002-08-27 4:02 ` Christopher C. Chimelis
2002-08-27 4:02 ` Christopher C. Chimelis
2002-08-24 22:37 ` Carlos O'Donell
2002-08-24 18:01 ` Randolph Chung
-- strict thread matches above, loose matches on Subject: below --
2002-08-24 17:55 [parisc-linux] " B. Douglas Hilton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.