[fpc-devel] MIPS

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


Felipe Monteiro de Carvalho wrote:
> On Thu, Jun 30, 2011 at 6:01 PM, Mark Morgan Lloyd
> <markMLl.fpc-devel at telemetry.co.uk> wrote:
>>> 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.
> 
> To answer his question you only need to issue the following command in
> your MIPS emulator running Linux:
> 
> which ld
> 
> This should tell you where the linker is

I think his is a loader issue- the binary needs to know what .so to pull 
in that later allows it to work out paths etc.

 > +{$ifdef mips}
 > +     defdynlinker:='/lib/ld-linux.so';
 > +{$endif mips}

-- 
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