Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* 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:39 ` Måns Rullgård
@ 2004-08-02 17:29   ` SBMailbox
  0 siblings, 0 replies; 4+ messages in thread
From: SBMailbox @ 2004-08-02 17:29 UTC (permalink / raw)


no i didnt build a cross compil <smile
i found a page here : 
http://www.cse.unsw.edu.au/~cgray/crossdev/x86-alpha-xcc.html

this should guide me in create a cross compiler

as far as i understood, i minimally need : 
source gcc
source bin-util
read README files in order to understand how to create a cross compil x86>alpha

...

i have another question that i put on a separate message


^ 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