Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Dan Kegel <dank-news@kegel.com>
Subject: Re: compile a kernel for Cabriolet
Date: Tue, 10 Aug 2004 06:51:16 GMT	[thread overview]
Message-ID: <4118600A.6010005@kegel.com> (raw)
In-Reply-To: <20040801151952.29625.00002435@mb-m16.aol.com>

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


      parent reply	other threads:[~2004-08-10  6:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]
read-only archive

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