![]() |
CrossKylix: linux-kompilat läuft nicht....
hi,
ich schonwieder mit crosskylix. :roll: ich habe jetzt mal ein standard hello world programm geschrieben:
Delphi-Quellcode:
so weit so gut. die windows-exe läuft problemlos. nur die linux binary lässt sich nicht ausführen. ich bekomme immer den fehler "permission denied", sogar, wenn ich als root angemeldet bin. hab das auf meinem rechner und auf meinem root-server probiert..... beide male das problem.
program Project1;
{$APPTYPE CONSOLE} uses SysUtils; begin writeln('Hello World'); readln; end. crosskylix gibt mir beim compilieren keinen fehler zurück. ich benutze kylix 3 open edition. könnt ihr mir helfen? danke, aenogym |
Re: CrossKylix: linux-kompilat läuft nicht....
Wie führst du den dein Programm auf Linux aus ?
|
Re: CrossKylix: linux-kompilat läuft nicht....
Zitat:
über die konsole ins verzeichnis wechseln und dann:
Code:
dann bekomme ich
./project1
Zitat:
Aenogym |
Re: CrossKylix: linux-kompilat läuft nicht....
Dann könnte es Daran liegen das die runlibs nicht installiert sind
|
Re: CrossKylix: linux-kompilat läuft nicht....
Zitat:
doch nicht etwa eine art runtime? |
Re: CrossKylix: linux-kompilat läuft nicht....
Also ich habe das Programm mit FPC (von
![]()
Code:
MfG
[dirk@pinguin fpc]$ fpc hallo.pas
Free Pascal Compiler version 1.9.6 [2004/12/31] for i386 Copyright (c) 1993-2004 by Florian Klaempfl Target OS: Linux for i386 Compiling hallo.pas hallo.pas(3,2) Warning: APPTYPE is not supported by the target OS Linking hallo 10 Lines compiled, 0.5 sec [dirk@pinguin fpc]$ ls hallo* hallo.o hallo.pas [dirk@pinguin fpc]$ ./hallo Hello World [dirk@pinguin fpc]$ Binärbaum |
Re: CrossKylix: linux-kompilat läuft nicht....
hi binärbaum,
danke für deine mühe. dass der code funktioniert, sollte klar sein. mit crosskylix kann ich es ja auch erfolgreich kompilieren (64kb). ich denke das kompilat ist einwandfrei. arbu man sprach die "runlibs" an, die ich evtl. nicht installiert habe. ich kenn mich noch nicht soooo mit linux aus und weiß daher nicht, was das sind. ich vermute mal, es ist eine art runtime. im crosskylix ordner finde ich mehrere dateien aus dem unterordner "lib". ich weiß jedoch nichts damit anzufangen :?: Aenogym |
Re: CrossKylix: linux-kompilat läuft nicht....
Wenn du vorher
Code:
ausführst, müsste es gehen.
chmod 755 project1
|
Re: CrossKylix: linux-kompilat läuft nicht....
Kylix Programm benötigen bibioteken damit sie laufen und wenn diese auf dem linux nicht vorhanden sind laufen kylix programme nicht
|
Re: CrossKylix: linux-kompilat läuft nicht....
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:54 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz