[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cobalt RaQ 2

On Tue, Aug 22, 2000 at 12:41:41PM +0200, Florian Lohoff wrote:
> You should be able to build it with egcs 1.0.3a and binutils 2.8.1 with
> patches - Both can be found on oss.sgi.com.
> The current binutils should work ok for mips/mipsel - The gcc 2.96
> is significantly broken in some aspects (c++ for example).

   It looks like I've gotten these to work, but...  it looks like the compile
is going into the 2.0.34 files in /usr/include/asm.  I thought the kernel 
could be compiled without reference to /usr/include....  How do I get it to
keep from looking anywhere but within my compile directory?

make[1]: Entering directory `/home/debian/root/usr/src/linux-2.4.0-test6-pre8/arch/mips/cobalt'
gcc -D__KERNEL__ -I/home/debian/root/usr/src/linux-2.4.0-test6-pre8/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abica
lls -fno-pic -mcpu=r8000 -mips2 -Wa,--trap -mmad -pipe     -c -o cobaltscc.o cobaltscc.c
gcc -D__KERNEL__ -I/home/debian/root/usr/src/linux-2.4.0-test6-pre8/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abica
lls -fno-pic -mcpu=r8000 -mips2 -Wa,--trap -mmad -pipe     -c -o hw-access.o hw-access.c
/usr/include/asm/cobalt.h: In function `r4030_write_reg32':
In file included from hw-access.c:15:
/usr/include/asm/cobalt.h:92: warning: control reaches end of non-void function
gcc -D__KERNEL__ -I/home/debian/root/usr/src/linux-2.4.0-test6-pre8/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -G 0 -mno-abica
lls -fno-pic -mcpu=r8000 -mips2 -Wa,--trap -mmad -pipe   -c int-handler.S -o int-handler.o
/usr/include/asm/cobalt.h: Assembler messages:
/usr/include/asm/cobalt.h:57: Error: unrecognized opcode `extern'
/usr/include/asm/cobalt.h:58: Error: Rest of line ignored. First ignored character is `{'.

> > Also...  Is there a debian porting FAQ somewhere that tells everyone
> > what order to tackle the compiles in?
> Look at the "MIPS-HOWTO" on http://oss.sgi.com - Its not Cobalt specific.

  Their site could use some reorganization..  It's confusing.


Mike Mattice - Debian Developer
mailto: mike@milliways.cx mattice@debian.org
1024D/137A955E print 050C 2D2F A95A 25BB B61F  CD16 EC3B CAC4 137A 955E

Reply to: