[fpc-devel] fpc.cfg format
peter at freepascal.org
Tue Aug 23 08:49:06 CEST 2005
At 01:25 23-8-2005, you wrote:
>On the off chance that the new ppcarm compiler and units I just built
>will work with a big endian ARM, I am trying to figure out how to
>actually build a test program.
>Is it possible to use the Lazarus IDE to edit and compile/assemble/link?
>I changed the compiler path to the new compiler and made sure
>spurious command line options were off.
>I get a message indicating it can't run the assembler and is switching
>to external assembling. Someone else had this problem back in May and
>got the response "The newer compilers requires an updated fpc.cfg and
>that the assembler is called e.g. arm-linux-as and arm-linux-ld."
>I haven't been able to find any documentation that shows the format of
>this new fpc.cfg and how you set the assembler and linker. Can
There is nothing special required for arm. For cross compiling to the arm
it is the best to add the following lines to fpc.cfg so the compiler the
arm-linux-as and arm-linux-ld. But they can also be provided everytime on
If you are building things with the Makefiles you need to provide the
the Makefile will then use this prefix for assembling the loaders and pass
it to the compiler with the -XP commandline option.
More information about the fpc-devel