Forum
× CodeTyphon Linux OS Development, discussions and problems

Question fpc compiler on linux command line

  • Chad Adams
  • Chad Adams's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 weeks 4 days ago #11383 by Chad Adams
Chad Adams created the topic: fpc compiler on linux command line
I am programming on a Linux Mint desktop with full Dev Studio installed.

I move the files over via github to another ubuntu server which is headless.

I simply want to have the same compiler I use on my Code Typhoon Dev box on this Ubuntu Headless server so I can compile code I make changes to.

How can I just get the same compiler moved over or installed?

#2) If I install code typhoon on say windows 10, can I build for Linux projects? Thats the other issue? It builds Windows apps (.exe) and I have failed to find out how to enable multiple arch but I think you can do it.

Any help is appreciated! Love Code Typhoon!

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
2 weeks 4 days ago - 2 weeks 4 days ago #11384 by Sternas Stefanos
Sternas Stefanos replied the topic: fpc compiler on linux command line
Thanks Sir
In CodeTyphon the Project files are then same for ALL Host OSes or Target OSes.

With CT you can build your project for the same CPU-OS as Typhon IDE CPU-OS
On CT MutliArch installations you can use both Typhon32 or Typhon64 to build your project

In ALL other case you must use CrossBuild abilities of CT

for sample
Host OS : Windons64 (Win 10 Pro)
you can build with CrossBuild procedure your app for i386-linux or x86_64-linux
or i386-FreeBSD or x86_64-FreeBSD, etc...

In all these case you must simple change your project target CPU-OS-Platform option
or
to add "Build Modes" in your project options
for sample
i386-linux Build Mode
or
x86_64-linux Build Mode
etc

So, if you install CT on Windows you must use CrossBuild procedure to build a Linux app
the same if you install CT on Linux you must use CrossBuild procedure to build a Windows app

like this Tutorial

CodeTyphon Architect and Programmer
Last Edit: 2 weeks 4 days ago by Sternas Stefanos.

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

  • Chad Adams
  • Chad Adams's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 weeks 3 days ago #11386 by Chad Adams
Chad Adams replied the topic: fpc compiler on linux command line
How do I get a Linux command line compiler - instead of the whole package

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
2 weeks 3 days ago - 2 weeks 3 days ago #11387 by Sternas Stefanos
Sternas Stefanos replied the topic: fpc compiler on linux command line
Sir
please read FPC Cross Elements Builder CTCenter tool dialog

CodeTyphon Architect and Programmer
Last Edit: 2 weeks 3 days ago by Sternas Stefanos.

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