* * *

Author Topic: fpcupdelux and arm embedded  (Read 1073 times)

Mathias

  • New member
  • *
  • Posts: 18
fpcupdelux and arm embedded
« 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:

Code: [Select]
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.

« Last Edit: April 10, 2018, 08:38:31 pm by Mathias »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 961
Re: fpcupdelux and arm embedded
« Reply #1 on: April 10, 2018, 06:30:28 pm »
Before going into details:
* what do your mean with "poor" ?
* what options to you enter in setup+ ?

Mathias

  • New member
  • *
  • Posts: 18
Re: fpcupdelux and arm embedded
« Reply #2 on: April 10, 2018, 08:37:09 pm »
Quote
Before going into details:
Since probably the Google translator has translated something wrong.
ARM became poor.  :-[

Quote
* what do your mean with "poor" ?
arm embedded

Quote
* what options to you enter in setup+ ?
FPC options -Sg

Mathias

  • New member
  • *
  • Posts: 18
Re: fpcupdelux and arm embedded
« Reply #3 on: June 14, 2018, 06:48:00 pm »
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.

Code: [Select]
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


 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus