Recent

Author Topic: Crosscompiling within Docker container (DevOps)  (Read 1650 times)

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Crosscompiling within Docker container (DevOps)
« on: January 08, 2018, 03:13:25 pm »
hi All,
please note that for testing purposes the below code was managed to be cross compiled within a Docker image.
i have added a new section 12 in http://wiki.lazarus.freepascal.org/Cross_compiling#From_within_Docker_container .
within the https://github.com/taraworks/lazarus-cross repo you can find the dockerfile used to create the dockerimage that can be pulled from the docker hub and used as per the detailed steps.

the next step is to manage to compile more complex code.
credits go to opunix.

Code: Pascal  [Select][+][-]
  1. program Hello;
  2. begin
  3.   writeln ('Hello, world.')
  4. end
  5.  
« Last Edit: January 08, 2018, 04:22:12 pm by tudi_x »
Lazarus 2.0.2 64b on Debian LXDE 10

 

TinyPortal © 2005-2018