* cross-compile gcc
@ 1997-02-13 15:30 Fude Yao
0 siblings, 0 replies; 7+ messages in thread
From: Fude Yao @ 1997-02-13 15:30 UTC (permalink / raw)
Hi,
Advice on cross compile from alpha-dec-osf3.2 to
alpha-unknown-linux and alpha-unknown-linux to alpha-dec-osf3.2
is welcome. What includes and headers are needed? Do I have
to patch on both directions? How to cross compile ld, as and
especially ar?
Fude Yao
--
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] 7+ messages in thread
* Re: cross-compile gcc
[not found] <199702131531.KAA11977@everest.micro.umass.edu>
@ 1997-02-13 16:06 ` Jim Nance
1997-02-13 19:21 ` Richard Henderson
1 sibling, 0 replies; 7+ messages in thread
From: Jim Nance @ 1997-02-13 16:06 UTC (permalink / raw)
> Advice on cross compile from alpha-dec-osf3.2 to
> alpha-unknown-linux and alpha-unknown-linux to alpha-dec-osf3.2
> is welcome. What includes and headers are needed? Do I have
> to patch on both directions? How to cross compile ld, as and
> especially ar?
If you just want to compile a 2.0.X linux kernel, you can just use a stock
Digital Unix gcc 2.7.2.1 or 2.7.1. I don't know how to do a 2.1.X kernel
because those have to be ELF, and Digital Unix is ECOFF based.
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] 7+ messages in thread
* Re: cross-compile gcc
@ 1997-02-13 18:35 DDX
1997-02-13 19:22 ` Richard Henderson
1997-02-13 19:26 ` Jim Nance
0 siblings, 2 replies; 7+ messages in thread
From: DDX @ 1997-02-13 18:35 UTC (permalink / raw)
Jim Nance wrote:
>
> > Advice on cross compile from alpha-dec-osf3.2 to
> > alpha-unknown-linux and alpha-unknown-linux to alpha-dec-osf3.2
> > is welcome. What includes and headers are needed? Do I have
> > to patch on both directions? How to cross compile ld, as and
> > especially ar?
>
> If you just want to compile a 2.0.X linux kernel, you can just use a stock
> Digital Unix gcc 2.7.2.1 or 2.7.1. I don't know how to do a 2.1.X kernel
> because those have to be ELF, and Digital Unix is ECOFF based.
>
> 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
and what about compiling an kernel for linux
on an intel pentium ?
is this possible ?
--
Greetings,
DDX
mailto:stephanh@htsa.hva.nl
http://www.htsa.hva.nl/~stephanh
--
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] 7+ messages in thread
* Re: cross-compile gcc
[not found] <199702131531.KAA11977@everest.micro.umass.edu>
1997-02-13 16:06 ` Jim Nance
@ 1997-02-13 19:21 ` Richard Henderson
1 sibling, 0 replies; 7+ messages in thread
From: Richard Henderson @ 1997-02-13 19:21 UTC (permalink / raw)
> Advice on cross compile from alpha-dec-osf3.2 to
> alpha-unknown-linux and alpha-unknown-linux to alpha-dec-osf3.2
> is welcome. What includes and headers are needed? Do I have
> to patch on both directions? How to cross compile ld, as and
> especially ar?
Cross compiling with gcc generally works best if you do bits like
configure --prefix=/usr/local --host=alpha-dec-osf3.2 --target=alpha-linux
This will look for cross utilities in /usr/local/alpha-linux/bin,
system headers in /usr/local/alpha-linux/include, libraries in ...
Cross compiling to linux is easy -- you need all the glibc headers
and libraries. Cross to osf -- dunno. You shouldn't have any
problems if you grab all of /usr/include. Oh, binutils doesn't
understand dec's shared libraries, so you'd have to build static there.
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] 7+ messages in thread
* Re: cross-compile gcc
1997-02-13 18:35 DDX
@ 1997-02-13 19:22 ` Richard Henderson
1997-02-13 19:26 ` Jim Nance
1 sibling, 0 replies; 7+ messages in thread
From: Richard Henderson @ 1997-02-13 19:22 UTC (permalink / raw)
> and what about compiling an kernel for linux
> on an intel pentium ?
> is this possible ?
Cross compiling from a pentium to an alpha? No, that doesn't work.
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] 7+ messages in thread
* Re: cross-compile gcc
1997-02-13 18:35 DDX
1997-02-13 19:22 ` Richard Henderson
@ 1997-02-13 19:26 ` Jim Nance
1 sibling, 0 replies; 7+ messages in thread
From: Jim Nance @ 1997-02-13 19:26 UTC (permalink / raw)
> and what about compiling an kernel for linux
> on an intel pentium ?
> is this possible ?
No. Unfortunatly it is not possible to cross compile between 32 and 64
bit platforms with gcc yet. I did put together a cross compiler once,
but it is mainly for testing syntax.
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] 7+ messages in thread
* Re: cross-compile gcc
@ 1997-02-13 19:43 DDX
0 siblings, 0 replies; 7+ messages in thread
From: DDX @ 1997-02-13 19:43 UTC (permalink / raw)
Jim Nance wrote:
>
> > and what about compiling an kernel for linux
> > on an intel pentium ?
> > is this possible ?
>
> No. Unfortunatly it is not possible to cross compile between 32 and 64
> bit platforms with gcc yet. I did put together a cross compiler once,
> but it is mainly for testing syntax.
>
> 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
and compile on Hp Unix for the Aplha Linux ?
--
Greetings,
DDX
mailto:stephanh@htsa.hva.nl
http://www.htsa.hva.nl/~stephanh
--
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] 7+ messages in thread
end of thread, other threads:[~1997-02-13 19:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-13 19:43 cross-compile gcc DDX
[not found] <199702131531.KAA11977@everest.micro.umass.edu>
1997-02-13 16:06 ` Jim Nance
1997-02-13 19:21 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1997-02-13 18:35 DDX
1997-02-13 19:22 ` Richard Henderson
1997-02-13 19:26 ` Jim Nance
1997-02-13 15:30 Fude Yao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox