Replies: 1 comment
-
Oh, it appears binutils-x86-64-linux-gnu |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
I have an app that needs
binutils-x86-64-linux-gnu
package to build. Actual
host arch doesn't matter:
this app needs to build a
few x86 asm files, so it needs
this. What's worse, its not
compatible with llvm tools.
I expected it to be troublesome
on termux: termux does have
binutils-cross, but this doesn't
suit, as it is cross-configured for
host arch, which can be eg aarch64,
whereas I need exactly i386 arch.
Now what was my surprise when
this app built w/o any problems at all,
w/o any deps on cross-binutils even.
It turned out, on termux CI there is
an x86 binutils, regardless of the
host arch (so even on aarch64).
I suspect this is because you run
the CI under the single x86 container,
just cross-compiling for different
arches. And while this is exactly what
I need to get the "offending" app
quickly building, I wonder if it is
legal to rely on such an "oddity"
w/o being able to specify the actual
dep.
So is it ok, or should I instead build
my own i386-binutils, or maybe just
install them from ubuntu? (x86
cross-binutils are available for all
ubuntu arches except risc-v, but
termux doesn't use risc-v anyway).
Beta Was this translation helpful? Give feedback.
All reactions