Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: X-development sources
@ 1996-05-17 23:02 Roman Gollent
  0 siblings, 0 replies; 3+ messages in thread
From: Roman Gollent @ 1996-05-17 23:02 UTC (permalink / 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread
* X-development sources
@ 1996-05-15 17:14 Roman Gollent
  1996-05-15 18:26 ` Matti E Aarnio
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Gollent @ 1996-05-15 17:14 UTC (permalink / raw)


I would like to be able to cross compile the kernel and milo from
Digital Unix (Since I don't have linux yet).  I was told that there is
supposedly a suite of sources or some such which are configured to get
this accomplished...  If that's not the case, are there any clear
concise instructions that will tell me what software I need to get and
what options I need to compile it with in order for me to correctly
compile the kernel and milo under Digital Unix 3.2c?  Thanks for your
time.

Regards,
Roman

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

end of thread, other threads:[~1996-05-17 23:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-17 23:02 X-development sources Roman Gollent
  -- strict thread matches above, loose matches on Subject: below --
1996-05-15 17:14 Roman Gollent
1996-05-15 18:26 ` Matti E Aarnio

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