Re: COPTS for Makefile LinuxPPC 2000

3 messages, 2 authors, 2000-10-23 · open the first message on its own page

Re: COPTS for Makefile LinuxPPC 2000

From: Derek Homeier <hidden>
Date: 2000-10-23 11:39:29

On Fri, 20 Oct 2000 15:17:26 -0700 (PDT), Michael Norton [off-list ref] wrote:
I am trying to build the OpenGL Heretic game and there are compiler options in t
he Makefile for m68k but not for the PPC.

COPT.m68k = -m68020-60 -O2 -fomit-frame-pointer -D__BIG_ENDIAN__ -D__32BIT__ \
        -DHAVE_ALLOCA_H


was should this statement read if I am going to compile a PPC image on my G4?
Well, you probably should keep the defines, and possibly the "-fomit-frame-pointer"
as well, so leave everything after that unchanged. It's possible you need
"-fsigned-char" in addition. You obviously wouldn't want the "-m68020-60"
which turns on m68k-specific tuning. You might simply try "-O2" or "-O3" for a
first run. There also are some architecture-specific flags available on PPC,
such as"-mcpu=604", don't know if there is a flag for 750 or even 7400 yet.
You should look at the gcc info page for more details on the different
optimizations (under "Invoking GCC::"). Chances are you won't need
terribly agressive optimization if that game actually runs on a 68k :-).

HTH,
							Derek


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: COPTS for Makefile LinuxPPC 2000

From: William Blew <hidden>
Date: 2000-10-23 15:35:01

On Mon, 23 Oct 2000, Derek Homeier wrote:
such as"-mcpu=604", don't know if there is a flag for 750 or even 7400 yet.
As of gcc 2.95.2 (at least) there is a -mcpu=750 (or -mtune=750) option
and on my beige G3/266 it was good for about a 11% throughput improvement
on the utah-glx's memory bandwidth benchmarks.

--
William Blew, wblew@home.com
Gamer by Choice, Geek by Birth


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: gpm and XF401 (Re: ADB-Mouse)

From: Derek Homeier <hidden>
Date: 2000-10-23 17:38:55

On Mon, 23 Oct 2000 15:00:02 +0200, Olaf Hering [off-list ref] wrote:
You mean you mark some text at console with gpm and all you get in the
selected area is garbage, even with a non psaux device?
I tried it here on a chrp machine and got the same effect, could be a
framebuffer bug. Anyone else with that problem?
Yes, with every 2.3/2.4pre kernel I can think of (though I haven't booted a
2.4 in a while). This is on a Lombard/Rage II with atyfb.

Cheers,
							Derek


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help