* Cross compile problem
@ 1997-03-07 16:11 Jim Nance
1997-03-08 0:50 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Jim Nance @ 1997-03-07 16:11 UTC (permalink / raw)
Hello all,
I decided to try to set up a cross compile environment so I could
compile Linux under Digital Unix 4.0. This was trivial under the 2.0.X
because I could use gcc compiled for Digital Unix, but since the 2.1.X
kernels have to be copiled as ELF, I build binutils and gcc as cross
platform tools.
The first problem I ran into was that the arch/alpha/lib Makefile
detects if you are cross compiling and trys to use the Digital Unix ld
command. This workes if you are compiling and ECOFF kernel, I suspect
it will not work for ELF. I just commented out the check.
Here is the next problem I found:
make[1]: Entering directory `/group/jlnance/src/linux/arch/alpha/lib'
/group/jlnance/bin/alpha-dec-linux-gcc -D__KERNEL__ -I/group/jlnance/src/linux/include -c -o stxcpy.o stxcpy.S
stxcpy.S:22: alpha/regdef.h: No such file or directory
Does anyone know where to get this file? Its not in the 2.0.28 source.
Now that I think about it, I probably have to applay some diffs from
azstarnet dont I? I am downloading axp-diffs-2.0.21.gz now and will try
again.
Thanks,
Jim
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cross compile problem
1997-03-07 16:11 Cross compile problem Jim Nance
@ 1997-03-08 0:50 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1997-03-08 0:50 UTC (permalink / raw)
> stxcpy.S:22: alpha/regdef.h: No such file or directory
This is actually /usr/include/alpha/regdef.h. It is on DU as well,
however it is likely that it is not someplace that your cross gcc
will look for it. Try putting it in .../2.7.2/sys-include/alpha/.
> Now that I think about it, I probably have to applay some diffs from
> azstarnet dont I?
No. There are no axp-diffs for the 2.1.x series.
r~
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-03-08 0:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-07 16:11 Cross compile problem Jim Nance
1997-03-08 0:50 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox