Forum
× Discussions for CodeTyphon Studio Installation and Setup.

Question How to install the BuildToolchain and OSes libraries in Build Server?

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 4 days ago #11587 by AntonyRF
AntonyRF created the topic: How to install the BuildToolchain and OSes libraries in Build Server?
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 4 days ago - 1 week 4 days ago #11588 by Sternas Stefanos
Sternas Stefanos replied the topic: How to install the BuildToolchain and OSes libraries in Build Server?
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

CodeTyphon Architect and Programmer
Last Edit: 1 week 4 days ago by Sternas Stefanos.

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

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 4 days ago #11589 by AntonyRF
AntonyRF replied the topic: How to install the BuildToolchain and OSes libraries in Build Server?
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 4 days ago - 1 week 4 days ago #11590 by Sternas Stefanos
Sternas Stefanos replied the topic: How to install the BuildToolchain and OSes libraries in Build Server?
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... :)

CodeTyphon Architect and Programmer
Last Edit: 1 week 4 days ago by Sternas Stefanos.

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

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 4 days ago #11591 by AntonyRF
AntonyRF replied the topic: How to install the BuildToolchain and OSes libraries in Build Server?
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.

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 4 days ago #11592 by AntonyRF
AntonyRF replied the topic: How to install the BuildToolchain and OSes libraries in Build Server?
> "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.

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 4 days ago #11594 by AntonyRF
AntonyRF replied the topic: How to install the BuildToolchain and OSes libraries in Build Server?
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 4 days ago #11595 by Sternas Stefanos
Sternas Stefanos replied the topic: How to install the BuildToolchain and OSes libraries in Build Server?
It's the same functionality but

ln_FPCx_Build_Element_arm_linux_RapberryPi2

pass some option to FPC compiler :
CROSSOPT="-CaEABIHF -CpARMV7A -CfVFPV3 -OoFASTMATH"

CodeTyphon Architect and Programmer

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

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 3 days ago #11598 by AntonyRF
AntonyRF replied the topic: How to install the BuildToolchain and OSes libraries in Build Server?
Okay, but i have some problem. For ln_FPCx_Build_Element_arm_linux_RapberryPi2 need bootstrap or BuildEng???
Attachments:

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

  • AntonyRF
  • AntonyRF's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 week 3 days ago #11599 by AntonyRF
AntonyRF replied the topic: How to install the BuildToolchain and OSes libraries in Build Server?
And new problem:

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

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