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
signature.asc
Description: OpenPGP digital signature