* compile a kernel for Cabriolet
@ 2004-08-01 19:19 SBMailbox
2004-08-01 19:39 ` Måns Rullgård
2004-08-10 6:51 ` Dan Kegel
0 siblings, 2 replies; 4+ messages in thread
From: SBMailbox @ 2004-08-01 19:19 UTC (permalink / raw)
Hi all,
i am a newbie <smile>
i wnat to compile a custum kernel for an alpha machine
cabriolet flavour
from a x86 machine
i don't know much about cross compile
here is what i did :
in /usr/src/linux
make mrproper
copy arch/alpha/defconfig .config
edit Makefile to set ARCH = alpha
make xconfig
make dep
make boot
then i get lots of bad messages :
<<
cc1: Invalid option `no-fp-regs'
as: option non reconue <<-mev6>>
warning: left shift count
warning: conflicting types
invalid register name for `current'
...
warning: cast to pointer
internal compiler error
>>
could someone guide me what i need to do ? what paper should i look ? any help
i thank you much in advance
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile a kernel for Cabriolet
2004-08-01 19:19 compile a kernel for Cabriolet SBMailbox
@ 2004-08-01 19:39 ` Måns Rullgård
2004-08-02 17:29 ` SBMailbox
2004-08-10 6:51 ` Dan Kegel
1 sibling, 1 reply; 4+ messages in thread
From: Måns Rullgård @ 2004-08-01 19:39 UTC (permalink / raw)
sbmailbox@aol.com (SBMailbox) writes:
> Hi all,
>
> i am a newbie <smile>
>
> i wnat to compile a custum kernel for an alpha machine
> cabriolet flavour
> from a x86 machine
>
> i don't know much about cross compile
>
> here is what i did :
> in /usr/src/linux
> make mrproper
> copy arch/alpha/defconfig .config
> edit Makefile to set ARCH = alpha
> make xconfig
> make dep
> make boot
> then i get lots of bad messages :
> <<
> cc1: Invalid option `no-fp-regs'
> as: option non reconue <<-mev6>>
> warning: left shift count
> warning: conflicting types
> invalid register name for `current'
It looks like you didn't use a cross compiler? Have you built a cross
compiler for Alpha target?
--
M�ns Rullg�rd
mru@kth.se
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: compile a kernel for Cabriolet
2004-08-01 19:19 compile a kernel for Cabriolet SBMailbox
2004-08-01 19:39 ` Måns Rullgård
@ 2004-08-10 6:51 ` Dan Kegel
1 sibling, 0 replies; 4+ messages in thread
From: Dan Kegel @ 2004-08-10 6:51 UTC (permalink / raw)
SBMailbox wrote:
> i wnat to compile a custum kernel for an alpha machine
> cabriolet flavour
> from a x86 machine
>
> i don't know much about cross compile
Ah, then get thee to http://kegel.com/crosstool
where you can learn how to build a cross-compiler.
> here is what i did :
> in /usr/src/linux
> make mrproper
> copy arch/alpha/defconfig .config
> edit Makefile to set ARCH = alpha
> make xconfig
> make dep
> make boot
> then i get lots of bad messages :
> <<
> cc1: Invalid option `no-fp-regs'
> as: option non reconue <<-mev6>>
> warning: left shift count
> warning: conflicting types
> invalid register name for `current'
> ...
> warning: cast to pointer
> internal compiler error
You need a cross-compiler, I think, and you
need to use it when you do 'make dep' and 'make boot'
by passing CC=alpha-unknown-linux-gnu in the environment
and making sure $CC is on your PATH.
- Dan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-10 6:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-01 19:19 compile a kernel for Cabriolet SBMailbox
2004-08-01 19:39 ` Måns Rullgård
2004-08-02 17:29 ` SBMailbox
2004-08-10 6:51 ` Dan Kegel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox