Lazarus

Installation => Linux => Topic started by: suninyoureye on February 01, 2017, 01:55:51 pm

Title: Which packages to download?
Post by: suninyoureye on February 01, 2017, 01:55:51 pm
Hi forumites,

I'm using Debian 8 on a 32 bit system and would like to cross-compile to Win 32, but it seems there is a bug in Debian which prevents cross-compiling when using their repository packages, see:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845498

I do not need to create GUI programs and I use my own editor, so I don't need Lazarus or its components. So my question is - can I just download the debs for fpc-3.0 and fpc-source (and NOT the deb for Lazarus) and expect to set up cross-compiling for win32 ok without the lazarus deb?

Alternatively I could install the binary package available on the free pascal site (fpc-3.0.0.i386-linux.tar from https://sourceforge.net/projects/freepascal/files/Linux/3.0.0/), but does this include the full package for cross-compiling?

Thanks for any advice.

p.s. a further complication with Debian is that if installing the debs from the lazarus site, Debian thinks that these packages are older than what's in the repository and tries to upgrade them, which leads to problems. :-(
Title: Re: Which packages to download?
Post by: lainz on February 01, 2017, 02:01:08 pm
What you've tested?

You can use fpcupdeluxe to compile FPC then add as many cross compilers for almost any system.

Quote
p.s. a further complication with Debian is that if installing the debs from the lazarus site, Debian thinks that these packages are older than what's in the repository and tries to upgrade them, which leads to problems. :-(

The same happens in Ubuntu.
Title: Re: Which packages to download?
Post by: bylaardt on February 01, 2017, 02:52:25 pm
What you've tested?
The same happens in Ubuntu.
I made a workaround, see this:
http://forum.lazarus.freepascal.org/index.php/topic,34405.msg226581.html#msg226581 (http://forum.lazarus.freepascal.org/index.php/topic,34405.msg226581.html#msg226581)
Title: Re: Which packages to download?
Post by: suninyoureye on February 01, 2017, 03:31:27 pm
You can use fpcupdeluxe to compile FPC then add as many cross compilers for almost any system.

Thanks for the heads up. I'll give it a try.
TinyPortal © 2005-2018