[fpc-devel] MIPS

Pierre Free Pascal pierre at freepascal.org
Thu Jun 30 15:01:47 CEST 2011


  I had a MIS related question:

  using fullcycle I got a warinng about
defdynlinker not being initialized fro mips in systems/t_linux.pas unit.

Is this a correct fix, 
Index: t_linux.pas
===================================================================
--- t_linux.pas (révision 17859)
+++ t_linux.pas (copie de travail)
@@ -192,6 +192,9 @@
 {$endif FPC_ARMEL}
 {$endif arm}

+{$ifdef mips}
+     defdynlinker:='/lib/ld-linux.so';
+{$endif mips}
      {
        Search order:
          glibc 2.1+


or can somoeone tell us what the default linker is for a mips linux
machine?
 
Pierre Muller

> -----Message d'origine-----
> De : fpc-devel-bounces at lists.freepascal.org [mailto:fpc-devel-
> bounces at lists.freepascal.org] De la part de Mark Morgan Lloyd
> Envoyé : jeudi 30 juin 2011 14:40
> À : fpc-devel at lists.freepascal.org
> Objet : Re: [fpc-devel] MIPS
> 
> Marco van de Voort wrote:
> > In our previous episode, Mark Morgan Lloyd said:
> >>> Current situation is that after ensuring the existence of dummy files
> >>> I've stepped back from the RTL code and am looking at a problem that
> >>> appears to be caused by floating point initialisation in the cross
> >>> compiler.
> >> A define incorrectly suggested that MIPS was using MM registers. Now
> >> back following missing files/symlinks in the RTL.
> >>
> >> http://wiki.lazarus.freepascal.org/Native_MIPS_Systems#Stall_point
> >
> > wrt the missing of STAT.inc, IIRC the stat record definition on linux
was
> > found to be slightly architecture dependant (x86 being a bit different
due
> > to legacy reasons, of both FPC and Linux).
> >
> >  Probably the wisest is to take the PPC one and check it quickly against
> the
> > header.
> 
> Thanks, I'm already using ppc for comparison purposes which is why I had
> a hard time finding the MM issue :-)
> 
> Question if I may: should I be avoiding symlinks as non-portable?
> 
> I'm gradually hacking through with a mixture of command-line compilation
> and using Lazarus to step through. I considered looking at FPP to see if
> I could log all procedure calls, I thought I was looking for something
> that hadn't been initialised properly.
> 
> --
> 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




More information about the fpc-devel mailing list