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

TOPIC:

BeagleboneBlack cross compile problem 7 years 2 months ago #10991

  • june
  • june's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Hello, I'm trying cross compiling arm-linux env. on Beaglebone Black.

host : win7 32bit, 4G RAM
CTC: ver6.20
Toolchains : win32-arm-linux--BeagleBoard
FPC32 cross elements : arm-linux--BeagleBoard
OS lib : there's no lib for BBB, but already trying all arm-linux-xxx's

on Typhon32/small IDE,

packages : adLCL, pl_synapse
project option : LCL types : GTK2

Am i going it right ? or must i get OS lib from BeagleboneBlack(debian7) ?


============================================
Compile Project, OS: linux, CPU: arm, Target: wp

Compile Reason: State file "C:\codetyphon_work\wp\lib\arm-linux\wp.compiled" of Project is missing.


Executable:
C:\codetyphon\fpc\fpc32\bin\i386-win32\fpc.exe

CurrentDirectory:
C:\codetyphon_work\wp\

Parameters:
-B
-Tlinux
-Parm
-MObjFPC
-Scghi
-CX
-O1
-Xs
-XX
-l
-vewnhibq
-FiC:\codetyphon_work\wp\lib\arm-linux
-FlC:\codetyphon\binLibraries\arm-linux-Raspbian3
-FlC:\codetyphon\binLibraries\arm-linux-Cubiuntu
-FuC:\codetyphon\typhon\lcl\units\arm-linux\gtk2
-FuC:\codetyphon\typhon\lcl\units\arm-linux
-FuC:\codetyphon\typhon\components\pl_Synapse\lib\arm-linux\gtk2
-FuC:\codetyphon\typhon\components\BaseUtils\lib\arm-linux
-FuC:\codetyphon\typhon\packager\units\arm-linux
-FuC:\codetyphon_work\wp\
-FUC:\codetyphon_work\wp\lib\arm-linux\
-dLCL
-dLCLgtk2
wp.ppr

Command Line:
C:\codetyphon\fpc\fpc32\bin\i386-win32\fpc.exe -B -Tlinux -Parm -MObjFPC -Scghi -CX -O1 -Xs -XX -l -vewnhibq -FiC:\codetyphon_work\wp\lib\arm-linux -FlC:\codetyphon\binLibraries\arm-linux-Raspbian3 -FlC:\codetyphon\binLibraries\arm-linux-Cubiuntu -FuC:\codetyphon\typhon\lcl\units\arm-linux\gtk2 -FuC:\codetyphon\typhon\lcl\units\arm-linux -FuC:\codetyphon\typhon\components\pl_Synapse\lib\arm-linux\gtk2 -FuC:\codetyphon\typhon\components\BaseUtils\lib\arm-linux -FuC:\codetyphon\typhon\packager\units\arm-linux -FuC:\codetyphon_work\wp\ -FUC:\codetyphon_work\wp\lib\arm-linux\ -dLCL -dLCLgtk2 wp.ppr

ProcessID:
7140

ExitStatus:
1

Error: Exit code 1

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

Last edit: by june.

BeagleboneBlack cross compile problem 7 years 2 months ago #10992

  • june
  • june's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Problem solved.

(1) fix my code as below

from

//ser.Connect('/dev/ttyUSB0'); //ComPort USB0 on LINUX/arm
//ser.Connect('/dev/ttyS1'); //ComPort 2 on LINUX/i386
ser.Connect('COM2'); //ComPort 2 on Win32

to

ser.Connect('/dev/ttyUSB0'); //ComPort USB0 on LINUX/arm
//ser.Connect('/dev/ttyS1'); //ComPort 2 on LINUX/i386
//ser.Connect('COM2'); //ComPort 2 on Win32


(2) FPC32 build cross element arm-linux BeagleBoard
(3) compile

and all done.

OS lib = C:\codetyphon\binLibraries\arm-linux-Raspbian3\

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

Last edit: by june.

BeagleboneBlack cross compile problem 7 years 2 months ago #10993

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

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

  • Page:
  • 1