From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199605172302.TAA22344@portal.stwing.upenn.edu> Date: Fri, 17 May 1996 19:02:42 -0400 (EDT) From: Roman Gollent Subject: Re: X-development sources Matti E Aarnio wrote: > Lessee... (how I did it..) > > From RedHat AXP development sources, pick: > - binutils > - gccaxp > > You propably need to install some of the RPM tools too to > get those packages open -- rpm2cpio SHOULD be sufficient. > There is a bit of manual job to get compilable binary from > the base source + patches, though... > > Then: > > ./configure --target=alpha-linux --prefix=.... --with-gas I built bin-utils using these parameters... no problem. I downloaded the gccaxp.src.rpm and extracted the tar and patch files. I moved them over to my alpha and untarred the tar and applied the patches. I then use the some configure parameters as mentioned above. I 'make languages="C"' ("make bootstrap" was also unhappy) When it gets to the point when it's supposed to make libgcc1.a, it bombs out, so I "make libgcc1.a" and hope it works. It then goes one step further and bombs out at: ./xgcc -B./ -O2 -DCROSS_COMPILE -DIN_GCC -g -I./include -g1 -I. -I. -I./config -c -DL${name} \ ./libgcc2.c -o ${name}.o; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ /usr/linux/local/alpha-linux/bin/ar rc tmplibgcc2.a ${name}.o; \ rm -f ${name}.o; \ done _muldi3 In file included from config/alpha/string.h:53, from config/alpha/xm-alpha.h:65, from config/alpha/xm-linux.h:4, from tconfig.h:1, from ./libgcc2.c:33: /usr/include/sys/types.h:77: standards.h: No such file or directory /usr/include/sys/types.h:343: mach/machine/vm_types.h: No such file or directory /usr/include/sys/types.h:375: sys/select.h: No such file or directory make: *** [libgcc2.a] Error 1 Now, this makes absolutely no sense, because I checked /usr/include on my machine and it contains all of the necessary files that are #include 'd in xm-alpha.h... It should also be pointed out to the developers that cc != gcc under Digital Unix or any other OS for that matter. :-) I would be most appreciative if you could enlighten me as to what I'm doing wrong. Regards, Roman PS: If I succeed in finishing this up, I will right step-by-step instructions on how to do it, so that other people will have less of a hassle.