From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199802142054.NAA07342@ellpspace.math.ualberta.ca> Date: Sat, 14 Feb 1998 13:54:51 -0700 (MST) From: Michal Jaegermann Subject: Re: $at register while noat In-Reply-To: <199802140356.UAA06629@ellpspace.math.ualberta.ca> Well, nobody volunteered to jump in so I plodded by myself. :-) I grabbed gas-970915 from ftp.cygnus.com and tried with that one. Following my best guess I configured it with this command: ./configure --target=alpha-elf64-linux-gnu as simple './configure' does not work. It responded that it configures itself with 'alphaev5-unknown-linux-gnu', which worries me a bit, and proceeded merilly, after 'make', to build. The reason I am a bit worried is that this is indeed 'ev56' cpu but does that mean that my resulting assembler will be unusable on 'ev4' kind of machine? README file in bfd subdirectory says: "The documentation on using BFD is scanty and may be occasionally incorrect" and it lives up to that promise. 1/2 :-) I will be really obliged if somebody "in the know" confirm that I did not commited any grave errors in my procedure or point out why I am far in a left field. My new assembler is statically linked with bfd libraries in order to leave /usr/lib/libbfd.so.2.8.1.0.1, which came with a system, untouched. I'd rather leave it alone on such experiments. After /usr/bin/as become a link to my brave new assembler egcs-980205 snapshot compiled without any further complaints. I was even foolish enough to recompile a kernel with it and to boot with it my box. So far, after roughly an hour of uptime, so good. :-) A visible change is that kernels compiled with egcs drop in size. For the same kernel (2.0.33, patched) here are sizes for /vmlinux.gz 578479 for gcc from RH 5.0 distribution 556971 for egcs-1.0.1 534798 for egcs-980205 Oh, modules compiled with any compiler will work with any of these kernels. It is only kernel version which matters (I do not bother with module versioning). So far a few which I tried went in, with ismod, and out, with rmmod, smoothly. Not even a need for stripping debug symbols. I encountered one problem with a compilation when using egcs-980205. While compiling drivers/pci/pci.c I got: gcc: Internal compiler error: program cc1 got fatal signal 6 Dropping optimization from -O2 to -O for this one particular file allowed to finish compilation without any further incidents. Hope that the above will help if somebody else will have an urge to try similar things. Michal -- 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