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

Re: Cobalt RaQ 2



On Tue, Aug 22, 2000 at 08:07:58PM +0200, Seth Mos wrote:
> At 12:00 PM 8/22/00 -0500, Mike Mattice wrote:
> >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?
> 
> Which version of gcc are you using (eg snapshot or CVS ?)
> The last snapshot I used only fails with a Internal compiler error in sysctl.c

cache:~$ gcc --version
egcs-2.90.27 980315 (egcs-1.0.2 release)

I guess I'm not running 1.0.3...  I think that was the closest match that was
precompiled on oss.sgi.com that I could find though.  Urls below...
  ftp://oss.sgi.com/pub/linux/mips/mipsel-linux/RPMS/mipsel/binutils-2.8.1-2.mipsel.rpm
  ftp://oss.sgi.com/pub/linux/mips/mipsel-linux/RPMS/mipsel/egcs-1.0.2-9.mipsel.rpm

In fact... since I have it...  here's the output from the make around sysctl.c.
Looks like it works just fine in this version.  Unless there's another one in there. =)

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-abicalls -fno
-pic -mcpu=r8000 -mips2 -Wa,--trap -mmad -pipe     -c -o resource.o resource.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-abicalls -fno
-pic -mcpu=r8000 -mips2 -Wa,--trap -mmad -pipe     -c -o sysctl.o sysctl.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-abicalls -fno
-pic -mcpu=r8000 -mips2 -Wa,--trap -mmad -pipe     -c -o acct.o acct.c

-- 
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: