[Lazarus] Compiler Options
Michael Ring
mail at michael-ring.org
Wed Jul 16 15:45:45 CEST 2014
arm-embedded does not have classes.ppu, same with mipsel-embedded (but
this target is not yet fully visible in trunk)
arm and mipsel do have definitions in fpc/rtl/embedded/rtl.cfg :
#ifdef CPUARM
-SfSOFTFPU
-SfCLASSES
#ifdef CPUMIPSEL
-SfSOFTFPU
-SfCLASSES
but even with those settings active classes does not get built:
ppcrossarm -MObjFPC -Scghi -al -Ch1024 -Cs1024 -Tembedded -Parm $DEBUG
-vewnhix -l -Cparmv7m -O- -WpSTM32F100XC -XParm-none-eabi-
-FD/usr/local/bin -a test.pas
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.7.1 [2014/07/12] for arm
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Embedded
Compiling test.pas
test.pas(3,3) Fatal: Can't find unit classes used by test
Fatal: Compilation aborted
-----
program test;
uses
classes;
begin
end.
A find . -name "classes*" only shows me classes.ppu for the 'big'
platforms i build from trunk, x86_64-darwin and i386-darwin, nothing for
arm-embedded and mipsel-embedded
Michael
Am 16.07.14 15:28, schrieb Mattias Gaertner:
> On Wed, 16 Jul 2014 15:14:01 +0200
> Sven Barth <pascaldragon at googlemail.com> wrote:
>
>> [...]
>>> Is there really no classes.ppu for your arm target?
>> That's rather likely as Classes is simply too fat...
> On targets with classes the fat makes it a good indicator if fpc was
> installed right.
> For targets without Classes the test needs to be adapted.
> What targets do not have a classes.ppu?
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list