linux-mips
[Top] [All Lists]

Re: Linux-MIPS compilation

To: Brian Murphy <brm@tt.dk>
Subject: Re: Linux-MIPS compilation
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 1 Apr 2003 16:03:26 +0200
Cc: "Neeraj Garg, Noida" <ngarg@noida.hcltech.com>, linux-mips@linux-mips.org
In-reply-to: <3E899ABF.3070704@tt.dk>; from brm@tt.dk on Tue, Apr 01, 2003 at 03:57:19PM +0200
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <E04CF3F88ACBD5119EFE00508BBB2121086ED859@exch-01.noida.hcltech.com> <20030401134258.A7618@linux-mips.org> <3E899ABF.3070704@tt.dk>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5.1i
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.

  Ralf

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