[haiku-development] Re: buildtools for mips

  • From: "Jonas Sundström" <jonas@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 19 Apr 2009 13:13:29 +0200 CEST

zhan han <zhanhan.cn@xxxxxxxxx> wrote:
> Hi,
> 
> I think you have noticed that Jam settings
> need some patch.
> 

Yes, I´ve started to work on that:
http://www.kirilla.com/tmp/mips_4/

See
http://www.kirilla.com/tmp/mips_4/build.jam.BuildSetup.diff

I´m not a 100% certain on this part:

+if $(HAIKU_ARCH) = mipsel { 
+       # We don't need a PIC kernel as it's always at the same place. 
+       HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ; 
+       HAIKU_KERNEL_PIC_LINKFLAGS = ; 
+}

(FWIW, in the classic 32-bit memory layout the
interrupt vectors are a fixed location, IIRC.

I need to read up on all of these things.)

/Jonas.

Other related posts: