Recent

Author Topic: How to build for Ubuntu 18.04? With Linux Mint or original Ubuntu?  (Read 2133 times)

stem

  • Jr. Member
  • **
  • Posts: 88
Hi,

I'm using Linux Mint 9.1 Xfce. If I want to publish a Lazarus application (widgetset Gtk2) for Ubuntu 18.04, how should I build the application preferably?

Can I share the application built on my system or should I use an "original" plain Ubuntu 18.04 and running there Lazarus?

Is there any difference in the built executable concerning the underlying operation system? Or should it always be the same if I build it with widgetset Gtk2?


Thank you

stem

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: How to build for Ubuntu 18.04? With Linux Mint or original Ubuntu?
« Reply #1 on: January 05, 2019, 01:51:30 pm »
There should be no difference at all: simply copy the application executable from one machine to the other and done.

That is, unless you're using some external library (database, for exampe) in which case you'll have to install those libraries in the target machine too using the standard package manager of each distribution--that's one of the main reasons for their existence, after all: to deal with application dependencies.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018