[fpc-devel] mips-linux and mipsel-linux snapshots available

Pierre Free Pascal pierre at freepascal.org
Wed Dec 26 16:21:48 CET 2012



> -----Message d'origine-----
> De : fpc-devel-bounces at lists.freepascal.org [mailto:fpc-devel-
> bounces at lists.freepascal.org] De la part de microcode at zoho.com
> Envoyé : mercredi 26 décembre 2012 16:13
> À : fpc-devel at lists.freepascal.org
> Objet : Re: [fpc-devel] mips-linux and mipsel-linux snapshots available
> 
> Will this work on other OS running on MIPS? How much work would it be to
get
> it going on OpenBSD for example?

  It shouldn't be much work...
just look at the content of openbsd/CPU/ directories,
you will see what needs to be implemented specifically...
Starting with the linux equivalent code should work for most include files,
the startup prt0.as file might be a little bit more problematic...

 Pierre


> On Wed, Dec 26, 2012 at 03:07:16PM +0000, Mark Morgan Lloyd wrote:
> > Mark Morgan Lloyd wrote:
> > >Sergei Gorelkin wrote:
> >
> > >>This was caused by insufficient alignment of Double-typed temp
> > >>variables, fixed in r23146.
> > >>Moreover, it appeared that function UnixToWinAge wasn't doing
> > >>anything useful since year 2005, so it was removed in r23145,
> > >>making FindFirst/FindNext routines somewhat faster (and able to
> > >>run without FPU).
> > >>
> > >>Now I am able to run the big-endian MIPS compiler on QEMU.
> > >>Hoping you'll be able to reproduce it, too.
> > >
> > >I'll see what I can do, but I've not got any real hardware running
> > >here which is causing me problems (Qemu performance isn't
> > >brilliant).
> >
> > Basic operation OK. There's a slight problem in that the build
> > produces a directory /usr/local/lib/fpc/2.7.1/units/mips-linux while
> > ppcmips running with the standard fpc.cfg expects .../mipseb-linux
> >
> > Full build works with a standard set of parameters. Albeit slowly.
> > Only peculiarity was that I had to copy the fpc binary manually
> > before I could run  sudo make install
> >
> > I'll try to run the test suite for both mipsel and mips(eb), but a
> > higher priority has to be getting one of my SGI machines running.
> >
> > --
> > Mark Morgan Lloyd
> > markMLl .AT. telemetry.co .DOT. uk
> >
> > [Opinions above are the author's, not those of his employers or
> colleagues]
> > _______________________________________________
> > fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 
> --
>         _                             _
> ._ _ _ <_> ___  _ _  ___  ___  ___  _| | ___
> | ' ' || |/ | '| '_>/ . \/ | '/ . \/ . |/ ._>
> |_|_|_||_|\_|_.|_|  \___/\_|_.\___/\___|\___.
> 
> 
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel




More information about the fpc-devel mailing list