Eric Pouech eric.pouech@orange.fr writes:
AFAICS it's not worse than when we use -b i386-elf when building for wow64, we use winegcc for linking either 32bit or 64bit execs (with the --sysroot switch) not use what you propose will help... it'll prevent an error later on in gcc (or ld), but if winegcc is passed directories with wrong libraries, it should, IMO, fail and not try to find the right lib
It should skip libraries that have the wrong 32/64 type, like gcc does. That's of course not supported yet since our import libs don't contain that information.