Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   ARM-Prozessor Probleme (https://www.delphipraxis.net/181887-arm-prozessor-probleme.html)

canoniac 15. Sep 2014 13:09

ARM-Prozessor Probleme
 
Hallo zusammen,

ich bekomme beim Linken der Library folgenden Fehler, da ich durch googlen zumindest schonmal soweit gekommen bin dass ich weiß (glaube zu wissen :-D) es hat etwas mit hard floating points und soft floating points zu tun.
Abhilfe soll eine Änderung im Makefile bringen...

Kann das jemand bestätigen und mir dann erklären welche Änderungen ich durchführen muss damit es funktioniert? Oder gibt es noch weitere Lösungen?

Delphi-Quellcode:
[DCC Fehler] E2597 D:\Dokumente\Desktop\Projektarbeit Jannik\AndroidSDK\android-ndk-r9c\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: error: d:\\dokumente\\desktop\\projektarbeit jannik\\embarcadero\\15.0\\lib\\Android\\Release/libsnap7.so uses VFP register arguments, output does not

Wäre für etwas hilfe sehr dankbar :)

Danke im Voraus
Jannik

Der schöne Günther 15. Sep 2014 18:44

AW: ARM-Prozessor Probleme
 
Deine benutzte Version (inkl. eventuellen Updates oder Hotfix) bitte :-)

himitsu 15. Sep 2014 19:37

AW: ARM-Prozessor Probleme
 
Laut Fehlermeldung würde ich auf XE7 tippen :angel:


https://www.google.de/search?q=%22us...ut+does+not%22
Zitat:

Zitat von http://stackoverflow.com/questions/22989766/libopencl-so-uses-vfp-register-arguments-output-does-not
This is telling you that libOpenCL.so and libGAL.so are using hard floating points and the VFP unit, but your program is compiled to a program that uses soft floating points.

Use the -mfloat-abi=hard flag, and possibly -mfpu=vfp flag (see the gcc man page for other vfp variants that might be suitable).

Delphi nutzt doch nun auch MSBuild?
Wenn ja, dann sollte man diesen Parameter auch übergeben können. :gruebel:

canoniac 16. Sep 2014 07:07

AW: ARM-Prozessor Probleme
 
Also ja Windows 7 Professional mit XE7.

Wie übergebe ich diesen Parameter denn? und wo?

canoniac 16. Sep 2014 09:35

AW: ARM-Prozessor Probleme
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hier mal ein kleines Beispiel bei dem der Fehler ebenfalls auftritt.

Delphi-Quellcode:
unit Unit1;

interface



uses
  System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
  FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
  FMX.StdCtrls, snap7;

type

TForm1 = class(TForm)
Button1: TButton;
Label1: TLabel;


procedure Button1Click(Sender: TObject);
  private
    { Private-Deklarationen }
  public
    { Public-Deklarationen }
  end;

var
  Form1: TForm1;

implementation

{$R *.fmx}

procedure TForm1.Button1Click(Sender: TObject);
begin


  Label1.Text := IntToStr(errCliDestroying);





end;

end.
An welcher Stelle im Code kann ich -mfloat-abi=hard und -mfpu=vfp denn übergeben, und welcher einleitende Befehl ist dafür nötig?
Oder muss ich selber ein Makefile schreiben? :gruebel:

canoniac 19. Sep 2014 07:02

AW: ARM-Prozessor Probleme
 
Hat da wirklich niemand eine Idee?


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:49 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz