Am 09.12.2010 11:46, schrieb Michael Schnell:
> which fpc
/usr/local/bin/fpc

> /usr/local/bin/fpc
Free Pascal Compiler version 2.5.1 [2010/12/03] for i386
Copyright (c) 1993-2010 by Florian Klaempfl
/usr/lib/fpc/2.5.1/ppc386 [options] <inputfile> [options]

This doesn't match! /usr/bin/fpc should be called. Though this isn't the root of evil.
> whereis fpc
fpc: /usr/bin/fpc /etc/fpc.cfg /usr/lib/fpc /usr/bin/X11/fpc /usr/local/bin/fpc /usr/local/lib/fpc /usr/share/man/man1/fpc.1.gz
Here you see the fpc.cfg is in /etc. Take a look at and check paths are pointing to /usr/lib/... not /usr/local/lib/...

Like you mentioned in another mail you just need the second installation to build fpc. But you don't need the hole installation to do this, the ppc386 binary is enough.


Regards
Ingo

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to