[fpc-pascal] Where can I download the fpc 3.0.0 seed compiler for Linux on i386 x64?

Sven Barth pascaldragon at googlemail.com
Tue Oct 23 19:41:39 CEST 2018


Bo Berglund <bo.berglund at gmail.com> schrieb am Di., 23. Okt. 2018, 18:59:

> On Tue, 23 Oct 2018 18:12:41 +0200, Bo Berglund
> <bo.berglund at gmail.com> wrote:
> >
> >sudo apt-get install -y libx11-dev libgdk-pixbuf2.0-dev libcairo2-dev
> >gir1.2-coglpango-1.0 libpangox-1.0-dev xorg-dev libgtk2.0-dev
> >libpango1.0-dev
> >
> >Is this what I need also on Ubuntu (i386)?
>
> I did do sudo apt install build-essential since it did not have
> make...
>
> Then I tried to build fpc 3.0.4 from sources freshly chacked out from
> the svn repo.
> make all FPC=~/dev/fpc/ppc386
>
> But it stopped after 1m32s with this at the end of he screen:
>
> /usr/bin/ld: skipping incompatible
> //usr/lib/x86_64-linux-gnu/libpthread.so when searching for -lpthread
> /usr/bin/ld: skipping incompatible
> //usr/lib/x86_64-linux-gnu/libpthread.a when searching for -lpthread
> /usr/bin/ld: cannot find -lpthread
> /usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libdl.so
> when searching for -ldl
> /usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libdl.a
> when searching for -ldl
> /usr/bin/ld: cannot find -ldl
> /usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libc.so
> when searching for -lc
> /usr/bin/ld: skipping incompatible //usr/lib/x86_64-linux-gnu/libc.a
> when searching for -lc
> /usr/bin/ld: cannot find -lc
> fpmake.pp(47,1) Error: Error while linking
> fpmake.pp(47,1) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> Makefile:1658: recipe for target 'fpmake' failed
> make[2]: *** [fpmake] Error 1
> make[2]: Leaving directory '/home/bosse/dev/fpc/3.0.4/packages'
> Makefile:2616: recipe for target 'packages_smart' failed
> make[1]: *** [packages_smart] Error 2
> make[1]: Leaving directory '/home/bosse/dev/fpc/3.0.4'
> Makefile:2812: recipe for target 'build-stamp.i386-linux' failed
> make: *** [build-stamp.i386-linux] Error 2
>
> Probably some dependencies are missing from my Ubuntu 18.04, but what?
> Could it be the exact same items as on RaspberryPi???
>

If I had to guess I'd say that you'd need the 32-bit development packages
(don't know how to install them however, I use Arch Linux, not Ubuntu). Or
use the x86_64-linux release and build a 64-bit compiler.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20181023/024edbc2/attachment.html>


More information about the fpc-pascal mailing list