[PATCH 4/6] [WineGcc]: when specifying -m32, force i386 cpu when compiling on x86_64 boxes

Eric Pouech eric.pouech at orange.fr
Tue Apr 20 14:30:01 CDT 2010


André Hentschel a écrit :
> Hi Eric,
> That will not be enough as it will still just find the 64-bit libs.
> Maybe we should implement a check in utils.c if it is a ELF32 or ELF64 lib which we try to import.
>
>   
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

A+

-- 
Eric Pouech
"The problem with designing something completely foolproof is to underestimate the ingenuity of a complete idiot." (Douglas Adams)






More information about the wine-devel mailing list