Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Roman Gollent <roman@portal.stwing.upenn.edu>
Subject: Re: X-development sources
Date: Fri, 17 May 1996 19:02:42 -0400 (EDT)	[thread overview]
Message-ID: <199605172302.TAA22344@portal.stwing.upenn.edu> (raw)

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.

             reply	other threads:[~1996-05-17 23:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-17 23:02 Roman Gollent [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-05-15 17:14 X-development sources Roman Gollent
1996-05-15 18:26 ` Matti E Aarnio
read-only archive

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