Re: Pistachio on mips64

"Antoine Amirault" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Sorry but i don't see what you mean. I've searched for that folders and they
are empty. Do i have to dowmload and add those files to the folders ?

2007/6/21, Antoine Amirault <[email protected]>:
>
>
>
> 2007/6/21, Ben Leslie <[email protected]>:
> >
> > On Wed Jun 20, 2007 at 17:29:38 +0800, Antoine Amirault wrote:
> > >Hi, I'm a student from ESIAL (a french engineering school) and I'm
> > currently
> > >doing an internship in Beijing.
> > >I have to simulate on a PC Pistachio running on a MIPS64 emulated with
> > qemu.
> > >I have installed qemu, recompile gcc to make it generating code for
> > MIPS.
> > >After downloading pistachio I follow the instructions and there is a
> > problem
> > >at the beginning of the compilation and I haven't found help on the
> > Internet
> > >I hope you could help me.
> > >This is the code generated :
> > >
> > >antoine@liama-desktop:/var/projects/deviceware/pistachio$ make
> > >make[1]: Entering directory `/var/projects/deviceware/pistachio'
> > >===> src/glue/v4-mips64/asmsyms.cc
> > >cd src/glue/v4-mips64/ &&  gcc -nostdinc
> >
> > It looks like it is trying to compile using the host compiler rather
> > than the cross compiler. You might want to look at that.
> >
> > You might also want to look at Sulima:
> >
> > http://ertos.nicta.com.au/software/sulima/
> >
> > for simulation, as this is what the MIPS port was tested on.
> >
> > Finally, Open Kernel Labs is going to be releasing a MIPS port of
> > OKL4, a pistachio derivative, which may be more appropriate for
> > your work.
> >
> > Cheers,
> >
> > Ben
>
>
>
> Hi thanks for your answers, i have taken a prebuit binaries at
> http://ertos.nicta.com.au/software/prebuilt/ so I'm sure that the compiler
> is correct. The first error is gone but there is always one coming
> apparently from cc1plus
>
> make[1]: Entering directory `/home/antoine/Desktop/kernel'
> ===> src/glue/v4-mips64/asmsyms.cc
> cd src/glue/v4-mips64/ &&  /opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/mips64-elf/bin/mips64-elf-gcc
> -nostdinc -I/home/antoine/Desktop/kernel/include
> -I/home/antoine/Desktop/pistachio- 0.4/kernel/include
> -I/opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/mips64-elf/bin/../lib/gcc/mips64-elf/3.4.4/include
> -Umips64 -Ur4x00 -Uu4600 -Uv4 -D__ARCH__=mips64 -D__CPU__=r4x00
> -D__PLATFORM__=u4600 -D__API__=v4 -imacros
> /home/antoine/Desktop/kernel/config/config.h -imacros
> /home/antoine/Desktop/pistachio- 0.4/kernel/include/macros.h -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/types.h -fno-builtin
> -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O3 -G 0
> -mlong64 -mno-abicalls -non_shared -msplit-addresses -EB -mcpu=r4000 -mips3
> -mabi=64 -Wa,-mabi=o64    -c /home/antoine/Desktop/pistachio- 0.4
> /kernel/src/glue/v4-mips64/asmsyms.cc
> cc1plus: error: invalid option `cpu=r4000'
> ===> src/generic/lib.cc
> cd src/generic/ &&  /opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/mips64-elf/bin/mips64-elf-gcc
> -nostdinc -I/home/antoine/Desktop/kernel/include
> -I/home/antoine/Desktop/pistachio- 0.4/kernel/include
> -I/opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/mips64-elf/bin/../lib/gcc/mips64-elf/3.4.4/include
> -Umips64 -Ur4x00 -Uu4600 -Uv4 -D__ARCH__=mips64 -D__CPU__=r4x00
> -D__PLATFORM__=u4600 -D__API__=v4 -imacros
> /home/antoine/Desktop/kernel/config/config.h -imacros
> /home/antoine/Desktop/pistachio- 0.4/kernel/include/macros.h -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/types.h -fno-builtin
> -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O3 -G 0
> -mlong64 -mno-abicalls -non_shared -msplit-addresses -EB -mcpu=r4000 -mips3
> -mabi=64 -Wa,-mabi=o64    -c /home/antoine/Desktop/pistachio- 0.4
> /kernel/src/generic/lib.cc
> cc1plus: error: invalid option `cpu=r4000'
> make[1]: *** [src/generic/lib.o] Error 1
> make[1]: Leaving directory `/home/antoine/Desktop/kernel'
> make: *** [all] Error 2
>
> Do you know how  i can solve that ?
> Thanks
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.