Recent

Author Topic: Which packages to download?  (Read 3055 times)

suninyoureye

  • Newbie
  • Posts: 3
Which packages to download?
« 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. :-(

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Which packages to download?
« Reply #1 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.

bylaardt

  • Sr. Member
  • ****
  • Posts: 309
Re: Which packages to download?
« Reply #2 on: February 01, 2017, 02:52:25 pm »

suninyoureye

  • Newbie
  • Posts: 3
Re: Which packages to download?
« Reply #3 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