[fpc-devel] MIPS

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Thu Jun 30 23:03:36 CEST 2011


Felipe Monteiro de Carvalho wrote:
> On Thu, Jun 30, 2011 at 7:05 PM, Mark Morgan Lloyd
> <markMLl.fpc-devel at telemetry.co.uk> wrote:
>> 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.
> 
> ops, it seams that you are right =O

I only spotted it when I started wondering whether 'which' was going to 
be any use in a cross-development environment such as I think one has to 
start with in this case.

I presume the answer to the original question is "use the one on the 
system you're working on". In other words, if building a cross compiler 
to run on i386 assume /lib/ld-linux.so.2; the {$ifdef mips} will only 
come into play when building to run natively.

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