Lazarus
Announcements => Third party => Topic started by: Mathias on April 10, 2018, 06:18:00 pm
-
Is it possible to set up fpcupdelux for "ARM embedded"?
I'm trying to come up with "poor embedded" error messages because of not supporting GOTO and LABEL. I can handle that with "Setup ++" and "FPC options" --> $-Sg
Subsequently, the following error occurs:
Building compiler for embedded-arm (OPT: -Sg ) [CROSSOPT: -CpARMV7M ] {SUBARCH: armv7m}.
fpcupdeluxe: info: TAny_embedded-arm: found correct binary utilities in directory /home/tux/fpcupdeluxe_arm/cross/bin/arm-embedded
fpcupdeluxe: info: TAny_embedded-arm: found correct library in directory /home/tux/fpcupdeluxe_arm/cross/lib/arm-embedded/armv7m
fpcupdeluxe: Start of compile error summary.
/home/tux/fpcupdeluxe_arm/fpcsrc/rtl/units/arm-embedded/system.s:9067: Error: cannot represent T32_OFFSET_IMM relocation in this object file format
fpcupdeluxe: Start of compile error summary.
/home/tux/fpcupdeluxe_arm/fpcsrc/rtl/units/arm-embedded/system.s:9081: Error: cannot represent T32_OFFSET_IMM relocation in this object file format
fpcupdeluxe: Start of compile error summary.
/home/tux/fpcupdeluxe_arm/fpcsrc/rtl/units/arm-embedded/system.s:9168: Error: cannot represent T32_OFFSET_IMM relocation in this object file format
fpcupdeluxe: Start of compile error summary.
system.pp(325) Error: Error while assembling exitcode 1
fpcupdeluxe: Start of compile error summary.
system.pp(325) Fatal: There were 2 errors compiling module, stopping
system.pp(325) Error: Error while assembling exitcode 1
fpcupdeluxe: Start of compile error summary.
Fatal: Compilation aborted
system.pp(325) Fatal: There were 2 errors compiling module, stopping
fpcupdeluxe: Start of compile error summary.
sysutils.pp(34,4) Fatal: Cannot open include file "sysutilh.inc"
make[3]: *** Auf noch nicht beendete Prozesse wird gewartet …
fpcupdeluxe: Start of compile error summary.
Fatal: Compilation aborted
sysutils.pp(34,4) Fatal: Cannot open include file "sysutilh.inc"
fpcupdeluxe: Start of compile error summary.
fpcupdeluxe: ERROR: FPCCrossInstaller (BuildModuleCustom: FPC): Running cross compiler fpc make all for arm-embedded failed with an error code.
The complete message in the appendix.
I came under Linux Mint 64Bit with the trunk versions of FPC and Lazarus.
-
Before going into details:
* what do your mean with "poor" ?
* what options to you enter in setup+ ?
-
Before going into details:
Since probably the Google translator has translated something wrong.
ARM became poor. :-[
* what do your mean with "poor" ?
arm embedded
* what options to you enter in setup+ ?
FPC options -Sg
-
Would it be possible to install arm / embedded in fpcupdelux?
Meanwhile, I have tried again, the error message looks a little different than in April.
FPC would support this because it works through the detour of mseide.
Building compiler for embedded-arm (OPT: -Sg ) [CROSSOPT: -CpARMV7M ] {SUBARCH: armv7m}.
fpcupdeluxe: info: TAny_embedded-arm: found correct binary utilities in directory /home/tux/fpcupdeluxe/cross/bin/arm-embedded
fpcupdeluxe: info: TAny_embedded-arm: found correct library in directory /home/tux/fpcupdeluxe/cross/lib/arm-embedded/armv7m
fpcupdeluxe: Start of compile error summary.
/home/tux/fpcupdeluxe/fpcsrc/rtl/units/arm-embedded/system.s:7390: Error: expected comma after name `SYSTEM_$$_FLOAT32_LE_Q' in .size directive
fpcupdeluxe: Start of compile error summary.
system.pp(325) Error: Error while assembling exitcode 1
fpcupdeluxe: Start of compile error summary.
system.pp(325) Fatal: There were 2 errors compiling module, stopping
system.pp(325) Error: Error while assembling exitcode 1
fpcupdeluxe: Start of compile error summary.
Fatal: Compilation aborted
system.pp(325) Fatal: There were 2 errors compiling module, stopping
fpcupdeluxe: Start of compile error summary.
sysutils.pp(34,4) Fatal: Cannot open include file "sysutilh.inc"
make[3]: *** Auf noch nicht beendete Prozesse wird gewartet …
fpcupdeluxe: Start of compile error summary.
Fatal: Compilation aborted
sysutils.pp(34,4) Fatal: Cannot open include file "sysutilh.inc"
fpcupdeluxe: Start of compile error summary.
fpcupdeluxe: ERROR: FPCCrossInstaller (BuildModuleCustom: FPC): Running cross compiler fpc make all for arm-embedded failed with an error code.
With the use of mseide, I started a tutorial on who Lazarus would go if it was a great thing. 8)
http://wiki.freepascal.org/AVR_Embedded_Tutorial_-_Entry_FPC_and_STM32/de