Lazarus

Programming => Networking and Web Programming => Topic started by: tudi_x on January 08, 2018, 03:13:25 pm

Title: Crosscompiling within Docker container (DevOps)
Post by: tudi_x 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.  
TinyPortal © 2005-2018