Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1
  • 2

TOPIC:

arm-linux raspberry pi 11 years 2 months ago #4422

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
Win xp CodeTyphon 4.4 32

for raspberry pi
How do I set compiler to linux-arm

install to
Cross element for arm-linux

1. New project
2. Project -> Project Options -> Code Generation
Target OS (-T): Linux
Target CPU family (-P): arm
(ok)

3. Run -> Build
error:

Options changed, recompiling clean with -B
project1.lpr(22) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtn.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtbegin.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtend.o" not found, this will probably cause a linking failure
project1.lpr(22) Warning: "crtn.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\bin\i386-win32\arm-linux-ld.exe: cannot find -ldl
project1.lpr(22) Error: Error while linking
project1.lpr(22) Fatal: There were 1 errors compiling module, stopping

How do I set: Code Typhon compile application for arm debian raspberry pi?

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 11 years 2 months ago #4434

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
According to instructions raspberry pi WORK!:

www.pilotlogic.com/sitejoom/index.php/fo...iling-arm-linux#4050
For arm-linux Raspbian
download this Cross Library files Sir
www.pilotlogic.com/codetyphon/crosslibraries/arm-linux-pi.7z

We will release all Cross Target OS Libraries files soon...

Thanks sternas!

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 11 years 2 months ago #4435

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
have fun
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 11 years 2 months ago #4458

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
compile project to typhon64 locate arm-linux-pi (qemu emulator work)
copy project1 to board beaglebone black error:
Failed to execute child process "/home/debian/razvoj/project1"
(No such file or directory)

Lazarus board beaglebone black work

how to do the:
arm-linux-
beaglebone black
I have a board beaglebone black
what should copy

thanks

Please Log in or Create an account to join the conversation.

Last edit: by zeljko.

arm-linux raspberry pi 11 years 2 months ago #4459

  • FredyCC
  • FredyCC's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Database/Developer
  • Posts: 60
  • Thank you received: 10
I think what you're trying to do is run the same executable created from a raspberry to beaglebone black and therefore does not run.

Basically what I do is copy all the libraries of the raspberry (.so) and paste to a linux distribution and through CodeTyhon x86 compile for ARM specifying the path to the libraries.

Theoretically the same processs should work for beaglebone black depending on the distribution you have installed.

Are you using Angstrom?

Please Log in or Create an account to join the conversation.

Last edit: by FredyCC.

arm-linux raspberry pi 11 years 2 months ago #4460

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 11 years 2 months ago #4461

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
qemu emulator work: debian_squeeze_armel_desktop.qcow2
(armel)

beaglebone black not work: debian-wheezy-7.0.0-armhf-3.8.13-bone20.img
(armhf)

install lazarus beaglebone black, lazarus work

Please Log in or Create an account to join the conversation.

Last edit: by zeljko.

arm-linux raspberry pi 10 years 2 months ago #5874

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
CodeTyphon 4.9
Debian 7 64 LXDE

not copmpile arm linux
library arm-linux-pi
Compile Project: Exit code 256, Errors:1
/usr/lib/codetyphon/fpc/bin/x86_64-linux/arm-linux-ld: warning: link.res contains output sections; did you forget -T?
/usr/lib/x86_64-linux-gnu/crti.o: file not recognized: File format not recognized
project1.lpr(22,0) Error: Error while linking

help!

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5875

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir, did you download Linux-arm libraries ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5876

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
No library arm-Linux or Linux-arm
please target

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5877

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir, please
1) download arm-linux-pi libraries from our server info
2) Setup your Project Libraries to this folder
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5878

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
yes download library arm-linux-pi

work to
CodeTyphon 4.4
www.pilotlogic.com/sitejoom/index.php/fo...m-linux-raspberry-pi

not work
CodeTyphon 4.9

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5879

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
thanks Sir
tomorrow we will check this and I will report here
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5890

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
uninstal and install CT 4.92
upgrade to CT 5.0
Use QT4
install system libraries
remove and buidl Typhon

FPC64 build cross element All
download library arm-linux-pi
arm linux not work

Help!

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5892

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Please Sir,
try to use Typhon32 and FPC32
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5899

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
not install library

HELP SET: /etc/apt/sources.list
(deb .....)
debian 7 64 LXDE

----------------------------------------------------
   CodeTyphon Try to Fix Links for SysLibraries
----------------------------------------------------
..........................................
[INFO] Libraries Directory: /usr/lib/x86_64-linux-gnu
..........................................
   [ OK ] /usr/bin/qmake-qt4 Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libc.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libdl.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libpthread.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libX11.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libglib-2.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libgthread-2.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libpango-1.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libcairo.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libatk-1.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libXtst.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libGL.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libGLU.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libfreetype.so Exists 
   [ OK ] /usr/lib/x86_64-linux-gnu/libXxf86vm.so Exists 
   [ERROR] /usr/lib/x86_64-linux-gnu/libgtkglext-x11-1.0.so.0 NOT Exists ???, can't make symlink for: libgtkglext-x11-1.0.so
   [ERROR] /usr/lib/x86_64-linux-gnu/libgdkglext-x11-1.0.so.0 NOT Exists ???, can't make symlink for: libgdkglext-x11-1.0.so
   [ OK ] /usr/lib/x86_64-linux-gnu/libz.so Exists 
..........................................
[INFO] Libraries Directory: /usr/lib/i386-linux-gnu
..........................................
   [ OK ] /usr/bin/qmake-qt4 Exists 
   [ERROR] /usr/lib/i386-linux-gnu/libc.so.6 NOT Exists ???, can't make symlink for: libc.so
   [ERROR] /usr/lib/i386-linux-gnu/libdl.so.0 NOT Exists ???, can't make symlink for: libdl.so
   [ERROR] /usr/lib/i386-linux-gnu/libpthread.so.6 NOT Exists ???, can't make symlink for: libpthread.so
   [ OK ] /usr/lib/i386-linux-gnu/libX11.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libgobject-2.0.so Exists 
   [ERROR] /usr/lib/i386-linux-gnu/libglib-2.0.so.0 NOT Exists ???, can't make symlink for: libglib-2.0.so
   [ OK ] /usr/lib/i386-linux-gnu/libgthread-2.0.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libgmodule-2.0.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libpango-1.0.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libcairo.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libatk-1.0.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libXtst.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libpangocairo-1.0.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libGL.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libGLU.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libfreetype.so Exists 
   [ OK ] /usr/lib/i386-linux-gnu/libXxf86vm.so Exists 
   [ERROR] /usr/lib/i386-linux-gnu/libgtkglext-x11-1.0.so.0 NOT Exists ???, can't make symlink for: libgtkglext-x11-1.0.so
   [ERROR] /usr/lib/i386-linux-gnu/libgdkglext-x11-1.0.so.0 NOT Exists ???, can't make symlink for: libgdkglext-x11-1.0.so
   [ERROR] /usr/lib/i386-linux-gnu/libz.so.1 NOT Exists ???, can't make symlink for: libz.so
----------------------------------------------------
CodeTyphon Fix Links for SysLibraries
Finish !!!
_______________________________________________________________

Please Log in or Create an account to join the conversation.

Last edit: by zeljko.

arm-linux raspberry pi 10 years 2 months ago #5900

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir this is NOT a problem
Debian has libgdkglext-x11 in other directory

Try to "Build ALL"
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5901

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
Remove and Build ALL

Not compile Typhon 32




Start Action at 3-9-14 13:00:33
_______________________________________________________________
=============================================================
          Build Typhon32 Small IDE for Linux
=============================================================
   
--------------------------------------------
       Clean Typhon64 IDE Setings
--------------------------------------------
   
--------------------------------------------
       Clean Typhon32 IDE Setings
--------------------------------------------
   
---------------------------------------
[INFO] Clean Typhon IDE Setings finish
   
   
--------------------------------------------
   Restore Typhon64 Default IDE Setings
--------------------------------------------
   
--------------------------------------------
   Restore Typhon32 Default IDE Setings
--------------------------------------------
---------------------------------------
[INFO] Restore Typhon Settings finish
   
make -C packager/registration
make[1]: Entering directory '/usr/lib/codetyphon/typhon/packager/registration'
/bin/rm -f ../units/i386-linux/fcllaz.ppu
/usr/lib/codetyphon/fpc/bin/i386-linux/ppc386 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -Fu. -Fu../../../fpcsrc/rtl -FE. -FU../units/i386-linux -g- -dUSE_QT_45 -di386 fcllaz.pas
Hint: Start of reading config file /usr/lib/codetyphon/fpc/bin/i386-linux/fpc.cfg
Hint: End of reading config file /usr/lib/codetyphon/fpc/bin/i386-linux/fpc.cfg
Free Pascal Compiler version 2.7.1 [2014/08/28] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling fcllaz.pas
Fatal: Can't find unit system used by fcllaz
Fatal: Compilation aborted
Makefile:2565: recipe for target 'fcllaz.ppu' failed
make[1]: *** [fcllaz.ppu] Error 1
make[1]: Leaving directory '/usr/lib/codetyphon/typhon/packager/registration'
Makefile:2598: recipe for target 'registration' failed
make: *** [registration] Error 2
mv: cannot stat `typhon': No such file or directory
mv: cannot stat `typhonstart': No such file or directory
mv: cannot stat `typhonbuild': No such file or directory
mv: cannot stat `tools/lazres': No such file or directory
mv: cannot stat `tools/lrstolfm': No such file or directory
mv: cannot stat `tools/svn2revisioninc': No such file or directory
mv: cannot stat `tools/updatepofiles': No such file or directory
   
[INFO]: Clean Tools Directory
   
   
 -----------------------------------------------
              Strip Typhon32 Executables        
 -----------------------------------------------
    
   
[INFO]: make some links...
chmod: cannot access `/usr/share/applications/typhon32': No such file or directory
   
 ------------------------------------------------------
   
??????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon32 Small IDE NOT Build
??????????????????????????????????????????????????????
_______________________________________________________________
 
Terminate Action at 3-9-14 13:00:34
Total time: 00:00:00.956
ExitCode : 0
Attachments:

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5902

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
MultiArch don't work on Debian Sir
look here for MultiArch Linux

We use in our lab Fedora 20 64bit for MultiArch
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: zeljko

Please Log in or Create an account to join the conversation.

arm-linux raspberry pi 10 years 2 months ago #5903

  • zeljko
  • zeljko's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
OK

3. Debian Family
(Debian, Ubuntu, Mint, Kali, WattOS, etc)
All executables stored in usr/bin directory
32bits libraries stored in /usr/lib/i386-linux-gnu
64bits libraries stored in /usr/lib/x86_64-linux-gnu

CodeTyphon MultiArch on this family is under exploration...

Please Log in or Create an account to join the conversation.

Last edit: by zeljko.
  • Page:
  • 1
  • 2