Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 2 weeks ago #11587

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Hello dear!

We have an assembly server on the local network, there is no access to the global network. The server has access to administer only by SSH. And OS Ubuntu Server 16.04. We installed CodeTyphon, but we need an assembly for Raspberry 2 ARM and Windows x86.

Can i install the BuildToolchain and OSes libraries in Build Server?

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 2 weeks ago #11588

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
Yes you can download all Toolchains and Libraries for target OSes from our "Download" Web Session
here
Or, if you want, you can build toolchains for target OS with CTCenter
just unzip download files to your
codetyphon/binToolchains (for toolchains files)
or
codetyphon/binLibraries (for libraries files)
directories

A small NOTE, crossbuild for Windows as OS target don't need any OS-Libraries on Unix host OSes
more info here
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 2 weeks ago #11589

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Thank you. But i not have GUI for CTC and can i call "CTC => CrossBuild => FreePascal 64bits => FPC64 build cross element ALL" in terminal SSH?

And can i build toolchains from source?

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 2 weeks ago #11590

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Yes, but it's not simple...

look at codetyphon/ScriptsLin/crossbuild/ln_FPCx_Build_Cross_ALL.sh

-Clone/Rename this script with the target OSes only, in the same directory ( like mycrossall.sh)
-Run the new script, I hope this will work for you.

PS: We develop CT for HOST OSes with GUI.
my suggestion is to build any app for your server on Ubuntu Desktop first.

"On Site Native Development" without GUI it's not the best choice... :)
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 2 weeks ago #11591

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Thank you! As I understand for this script need command line param:
cbFPCType
cbFPCCPUOS
cbFPCStartEXE
cbTARGETCPU
cbTARGETOS
cbFPCCrossEXE

Where is i can get more info about this param?

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 2 weeks ago #11592

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
> "On Site Native Development" without GUI it's not the best choice...
My boss want CI. The idea is auto build install packages after any git commit. That's that ¯\(°_o)/¯

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 2 weeks ago #11594

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
And what logical differents in ln_FPCx_Build_Cross.sh and ln_FPCx_Build_Element_arm_linux_RapberryPi2.sh?

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 2 weeks ago #11595

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
It's the same functionality but

ln_FPCx_Build_Element_arm_linux_RapberryPi2

pass some option to FPC compiler :
CROSSOPT="-CaEABIHF -CpARMV7A -CfVFPV3 -OoFASTMATH"
PilotLogic Architect and Core Programmer

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11598

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Okay, but i have some problem. For ln_FPCx_Build_Element_arm_linux_RapberryPi2 need bootstrap or BuildEng???

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11599

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
And new problem:

find: <</usr/local/codetyphon/fpcsrc/*>>: No such file or directory

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11600

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Sir please, where is i can see source code of CodeTyphon Center?

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11601

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir
the source of CodeTyphon Center it's NOT for public release
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11602

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
please follow my suggestions here

www.pilotlogic.com/sitejoom/index.php/fo...n-build-server#11590

with in dothejob() function
only this
./ln_FPCx_Build_Cross.sh $cbFPCType $cbFPCCPUOS $cbFPCStartEXE arm linux ppcrossarm xxxx
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11606

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
> the source of CodeTyphon Center it's NOT for public release
Oh sorry =(

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11607

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Sir, i clone this script with the target OSes only, in the same directory with name mycrossall.sh.

call with next param:
#./mycrossall.sh lin64 x86_64-linux ppcx64

and i try build my project:
# typhonbuild64 Launch.ctpr

and i have many errors for all libs, for example:

/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/arm-linux-ld: failed to merge target specific data of file /usr/local/codetyphon/binLibraries/arm-linux-Raspbian2/***.o
/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/arm-linux-ld: error: Source object /usr/local/codetyphon/binLibraries/arm-linux-Raspbian2/***.o has EABI version 5, but target /home/user/project/Launch has EABI version 0

Dear friend. So, what is next?

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11608

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Did you download Pi2 Libraries from our Download session ?
PilotLogic Architect and Core Programmer

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11609

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 0
Yes, i download Pi2 Libraries from www.pilotlogic.com/sitejoom/index.php/do...m-linux-raspbian2-7z

and this error have in object files in directory fpcsrc. I see in errors log about ppcrossarm build of project with EABI0, but libraries build with EABI5. And ld doesnt link elf and lib.

Maybe I should run ln_FPCx_Build_Element_arm_linux_RapberryPi2 ?

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

How to install the BuildToolchain and OSes libraries in Build Server? 6 years 1 week ago #11610

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
You can try and this
PilotLogic Architect and Core Programmer

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

  • Page:
  • 1