Recent

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

stem

  • Jr. Member
  • **
  • Posts: 57
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: 1538
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 1.8.4 & 2.0.2 w/FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.