[Pkg-pascal-devel] Bug#845498: /usr/bin/fpc-3.0.0: Provide cross-compilers

Paul Gevers elbrus at debian.org
Fri Dec 9 21:46:05 UTC 2016


Hi Ben

On 03-12-16 03:39, Ben Longbons wrote:
> I got it completely working now! I did have to repack
> binutils-{i586,x86-64}-linux-gnu though.
>
> Tested that I can generate both i386 and aarch64 binaries, solely by
> specifying `-P`. Still haven't actually tested linking with libc, for
> that we'll need to do something nasty about /lib32/ (probably just
> some ifdefs based on the *host* platform - need to extend the arch
> tables for that)

I am trying to understand you shell script but it contains lots and lots
of overhead which doesn't make reading it easy (the interesting stuff
only starts at line 725). Just to make sure I am not completely
misunderstanding, you are trying to use binutils-<gnu-triplet> package
on the arch of that triplet, right? But e.g. binutils-aarch64-linux-gnu
doesn't exist on amd64. So am I not reading the script correctly or how
is that supposed to work?

> Note that the
> new /etc/fpc/debian.cfg must be installed from the *unversioned*
> package - which will require a "backwards" dependency
> (fp-compiler-config-3.0.0 depends on fp-compiler-config-common).

Can you explain where this requirement comes from? If really required,
then we'll have to figure out an other solution, because circular
dependencies are a problem.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20161209/9907466e/attachment.sig>


More information about the Pkg-pascal-devel mailing list