[fpc-devel] MIPS

Pierre Free Pascal pierre at freepascal.org
Fri Jul 1 09:49:10 CEST 2011



> -----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é : vendredi 1 juillet 2011 08:21
> À : fpc-devel at lists.freepascal.org
> Objet : Re: [fpc-devel] MIPS
> 
> Pierre Free Pascal wrote:
> >   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
> 
> On Debian "Squeeze" mipsel (using Marco's suggestion):
> 
> $ ldd `which gcc`
>          libc.so.6 => /lib/libc.so.6 (0x2aab0000)
>          /lib/ld.so.1 (0x55550000)

  So I added /lib/ld.so.1 as default dynamic linker for now to trunk.

Pierre




More information about the fpc-devel mailing list