From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <67f5603fdf61ace990823e8d7489295b.axp-list@archive.invalid> X-Archive-Original-Message-ID: <9712150113.ZM4951@davros.bwh.com> Date: 15 Dec 1997 12:52:11 +0200 From: Harvey J. Stein Subject: Re: Optimal options for egcs optimization? Richard Henderson writes: > Just plain -O2 seems to work best at present. What about the Haifa instruction scheduler? Is that a good thing to use on the Alphas, or would I be better off building with haifa disabled? I'm especially concerned about optimization because we're getting harrassed by the system administrators who want to use 300mhz Ultra-sparcs instead of Alphas running Linux. I now have to prove that the Alphas are sufficiently faster than the Suns to justify supporting such a radical platform. So, I want to get the best compiler & compile time options that I can, and I'd prefer the compiler to be gcc. I suppose I could argue that if they're going to use Sun's C compiler, then they should use DEC's C complier on the Linux/Alpha boxes (by statically linking under DEC Unix), but then we'd have to get a DEC box, and they already have the sun box, and ... > > Also, the -mcpu=21164a failed in compilation with lots of complaints > > about the $at register being used in a noat environment again. > > You need a newer binutils for that. The one from RH5 should be > just fine, but note that you can't just drop that into RH4. Would -mcpu=21164a help, or is -mcpu=21164 equally good? But in any case, which binutils version would be needed & where can I get it? Is 2.8.1 from prep.ai.mit.edu good enough? I tried 2.8.1.0.15 from tsx-11.mit.edu, but it didn't even configure. It said: *** BFD does not support target alphaev5-unknown-linux-gnu. *** Look in bfd/config.bfd for supported targets. I presume it'd configure with target = alpha-unknown-linux-gnu? What about building the RH5 one from source on RH4? Also, would the newer binutils also fix the problem of sometimes seeing masses of "relocation truncated to fit" errors during linking? Thanks, Harvey J. Stein Berger Financial Research hjstein@bfr.co.il -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com