linux-mips
[Top] [All Lists]

Re: compile problem with kernel

To: Oliver Frommel <oliver@aec.at>
Subject: Re: compile problem with kernel
From: ralf@uni-koblenz.de
Date: Tue, 31 Mar 1998 16:38:48 +0200
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <Pine.LNX.3.96.980331093700.8445C-100000@web.aec.at>; from Oliver Frommel on Tue, Mar 31, 1998 at 09:39:47AM +0200
References: <19980331091452.41730@uni-koblenz.de> <Pine.LNX.3.96.980331093700.8445C-100000@web.aec.at>
Sender: owner-linux@cthulhu.engr.sgi.com
On Tue, Mar 31, 1998 at 09:39:47AM +0200, Oliver Frommel wrote:

> Hi,
> 
> i forgot to add the output of xgcc compiling with -v ... 
> 
> $ ../xgcc -v -B../ -c test.c
> 
>  ../cpp -lang-c -v -isystem ../include -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 
> -D__ELF__ -D_MIPS_SIM=_MIPS_SIM_ABI32 -D__PIC__ -D__pic__ -Dunix -Dmips 
> -DR3000 -DMIPSEB -Dlinux -D__ELF__ -D_MIPS_SIM=_MIPS_SIM_ABI32 -D__PIC__ 
> -D__pic__ -D__unix__ -D__mips__ 
> -D__R3000__ -D__MIPSEB__ -D__linux__ -D__unix -D__mips -D__R3000 -D__MIPSEB 
> -D__linux -Asystem(linux) -Asystem(posix) -Acpu(mips) -Amachine(mips) 
> -D__LANGUAGE_C__ -DLANGUAGE_C -D_MIPS_FPSET=32 -D_MIPS_ISA=_MIPS_ISA_MIPS1 
> -D_MIPS_SZINT=32 -D__SIZE_TYPE__=u
> nsigned int -D__SSIZE_TYPE__=int -D__PTRDIFF_TYPE__=int -D_MIPS_SZLONG=32 
> -D_MIPS_SZPTR=32 test.c /tmp/cca22420.i
> GNU CPP version 2.7.2 [AL 1.1, MM 40] (MIPS Linux/ELF)
> #include "..." search starts here:
> #include <...> search starts here:
>  ../include
>  /usr/lib/gcc-lib/mips-linux/2.7.2/include
>  /usr/lib/gcc-lib/mips-linux/2.7.2/sys-include
>  /usr/mips-linux/include
> End of search list.
>  ../cc1 /tmp/cca22420.i -quiet -dumpbase test.c -version -o /tmp/cca22420.s
> GNU C version 2.7.2 [AL 1.1, MM 40] (MIPS Linux/ELF) compiled by GNU C 
> version 2.7.2.3.
>  as -v -KPIC -o test.o /tmp/cca22420.s
> GNU assembler version 2.8.1 (i686-pc-linux-gnu), using BFD version 
> linux-2.8.1.0.1
> as: unrecognized option `-PIC'

Your crosscompiler is caling the native assembler.  Did you install binutils?
Did you configure the sources them using the same --prefix option?

  Ralf

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