[Top] [All Lists]

Re: Linux-MIPS compilation

To: Brian Murphy <>
Subject: Re: Linux-MIPS compilation
From: Ralf Baechle <>
Date: Tue, 1 Apr 2003 16:03:26 +0200
Cc: "Neeraj Garg, Noida" <>,
In-reply-to: <>; from on Tue, Apr 01, 2003 at 03:57:19PM +0200
Original-recipient: rfc822;
References: <> <> <>
User-agent: Mutt/
On Tue, Apr 01, 2003 at 03:57:19PM +0200, Brian Murphy wrote:

> >The options -D__linux__ -D_MIPS_SZLONG=32 and the error messages make it
> >look like you're forcing a non-Linux toolchain into building a kernel.
> >
> What is the problem with this? At least a mips(el)-elf should have no 
> problem compiling the kernel
> (at least apart from the check you have somewhere which gives an error 
> if you try).

These options are the default for every usable compiler.  If he actually
needed to add these options it looks like his compiler is pretty broken.
Similary the PIC-related error messages.  He's explicitly passing options
to disable PIC code yet the assembler and linker error messages indicate
he's using PIC code.  That's very strange also.


<Prev in Thread] Current Thread [Next in Thread>