Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* optimizing kernel compile
@ 1998-12-14  3:53 Designer 7
  1998-12-14  4:37 ` Peter Petrakis
  0 siblings, 1 reply; 2+ messages in thread
From: Designer 7 @ 1998-12-14  3:53 UTC (permalink / raw)
  To: axp-list

Hi.

I've been using the 2.1.131 kernels with Alan Cox's patches the last 
week or so... 

As I was reading some of the stuff in the kernel source tree.. I noticed 
that the Makefile under /usr/src/linux/arch/alpha ignores the config var 
CONFIG_ALPHA_EV5 ...  my system is a 21164a alpha PWS500a.. Miata 
family.. so I should really be using 

-mcpu=ev56 -Wa,-m21164a .... 

so I changed the Makefile to do this.. and the resulting kernel was 
smaller than it was without it. This I suppose is a good thing, since 
the new kernel compiled with the options above works and hasn't shown 
any problems.

The odd thing is that most of the time, when I compile something 
(afterstep, enlightenment, etc) with the -mcpu=ev56 and -Wa,-m21164a 
options... the resulting code is usually bigger... so what is up? does 
this make sense?

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: optimizing kernel compile
  1998-12-14  3:53 optimizing kernel compile Designer 7
@ 1998-12-14  4:37 ` Peter Petrakis
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Petrakis @ 1998-12-14  4:37 UTC (permalink / raw)
  To: axp-list

> The odd thing is that most of the time, when I compile something
> (afterstep, enlightenment, etc) with the -mcpu=ev56 and -Wa,-m21164a
> options... the resulting code is usually bigger... so what is up? does
> this make sense?

Are the faster too? Sometime binaries on a RISC machine are bigger than
on say an Insmell. I have a great example that relates to MS. SP4 for
intel - 40 megs
SP4 for Alpha - 70 megs. If they go faster keep em:). 

Alpha Powered,
Peter Petrakis 

-- 
STCC DEC Alpha Resource Page
http://math.stcc.mass.edu/petrakis
PeterPan@wn.net  AlphaGuy =)
"BLAM! Who the hell are you!? Name's Ash <click clock> Housewares..."


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-12-14  4:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-14  3:53 optimizing kernel compile Designer 7
1998-12-14  4:37 ` Peter Petrakis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox