[fpc-devel] how to build FPC for armel

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Dec 12 15:28:42 CET 2009


On 12 Dec 2009, at 15:38, darekm at emadar.com wrote:

> /home/darek2008/fpcarm/arm-linux-uclibc/bin/ld:./link.res: file format not
> recognized; treating as linker script
> /home/darek2008/fpcarm/arm-linux-uclibc/bin/ld:./link.res:289: syntax error
> pp.pas(223,27) Error: Error while linking
> pp.pas(223,27) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> make[3]: *** [ppcarm] Błąd 1
> make[3]: Opuszczenie katalogu `/home/darek2008/svn-fpc/compiler'
> make[2]: *** [cycle] Błąd 2
> make[2]: Opuszczenie katalogu `/home/darek2008/svn-fpc/compiler'
> make[1]: *** [compiler_cycle] Błąd 2
> make[1]: Opuszczenie katalogu `/home/darek2008/svn-fpc'
> make: *** [build-stamp.arm-linux] Błąd 2

I can't help with uclibc, I have a regular GNU toolchain. What kind of linker are you using? (what does "ld --version" write?)

> the same as crossinstall build has success,

That's probably because it doesn't recompile everything, so it is just copying some old files.


Jonas


More information about the fpc-devel mailing list