[fpc-devel] MIPS

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Thu Jun 30 18:01:44 CEST 2011

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?

I can't say at this point. I'm working through step-by-step starting 
with a cross compiler, i.e. I'm a long way from having a full build.

/If/ I get to the point of a full build then hopefully somebody will 
review my work and consider merging it with trunk. Until then I'm 
working with a local copy, but the issues I find are noted on the wiki page.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-devel mailing list