[fpc-pascal] Error compiling fpc for ARM embedded
Michael Ring
mail at michael-ring.org
Fri Jul 3 11:03:51 CEST 2015
I just compiled the same svn version 31185 on MacOSX 10.10; worked fine
for me.
I am using this fpc:
fpc -v
Free Pascal Compiler version 2.6.4 [2014/02/26] for i386
I cannot spot a relevant difference to your commandline. Did you try a
new checkout in an empty directory?
make clean buildbase CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=arm
SUBARCH=armv7m CROSSOPT="-O2" BINUTILSPREFIX=arm-none-eabi- || exit 1
sudo make installbase CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=arm
SUBARCH=armv7m CROSSOPT="-O2" BINUTILSPREFIX=arm-none-eabi- || exit 1
Michael
Am 03.07.15 um 02:59 schrieb Juan Duran:
> Hi ALL,
>
> today I updated fpc trunk to 31185.
>
> I am not able to compile ppcrossarm on this revision. It always worked with:
>
> make -j2 clean buildbase installbase CROSSINSTALL=1 CROSSOPT="-XParm-none-eabi-"
> OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv7m INSTALL_PREFIX=~/lab
>
> I am on Mac OS X 10.9.
>
> The compiler shows me:
>
> softfpu.pp(4894,11) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(4895,11) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(4906,29) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(4907,29) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(4926,31) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(4927,31) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(4928,31) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(4929,31) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(4957,5) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(5050,11) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(5069,62) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(5140,11) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(5165,13) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(5257,11) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(5274,9) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(5394,11) Error: GOTO and LABEL are not supported (use switch -Sg)
> softfpu.pp(5394,11) Fatal: There were 50 errors compiling module, stopping
> Fatal: Compilation aborted
> make[3]: *** [types.ppu] Error 1
> make[3]: *** Waiting for unfinished jobs....
> system.inc(1884,8) Warning: Implicit string type conversion
> from "RawByteString" to "UnicodeString"
> make[2]: *** [embedded_all] Error 2
> make[1]: *** [rtl_all] Error 2
> make: *** [base.build-stamp.arm-embedded] Error 2
>
> Any ideas?
>
> Thanks in advance
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list