I’m trying to create an FHS User env for a program that seems to require both 64-bit and 32-bit gcc versions. The general advice to make this run on other linux distros seems to be to install gcc-multilib, but this isn’t a Nix package and hence I’ve been looking at other approaches. There’s some information here about this:
But that seems geared towards creating derivations rather than FHS environments. There also seems to be an --enable-multilib parameter for gcc. This sounds promising, but I’ve tried it in what I think should be a MWE:
Thanks - I hadn’t tried it, but I now have and it gets me further along. However, I then get a new error message: GNU binutils package not found, please install GNU binutils for your Linux distribution
However, if I simply add binutils to the list of packages in the FHS environment, then this seems to take me a step back - the program then starts asking for ctr1.o, which was the original problem that was solved with gccMultiStdenv. Do I also need a 32-bit version of the binutils package?