[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Mixing binary code for different machine... is it ok?



Am Do, 10.06.2010, 00:21 schrieb Vincent Rivière:
> m0n0 wrote:

> No, it is not 100% OK, so it is wrong.
> There is a difference in functions returning float/double/long double. On
> 68000, the return value is put in d0/d1, on 68020-60 (implicitly with FPU)
> the return value is put in fp0. This has been like this for ages (however,
> GCC could be internally configured differently).
>
> You must exactly use the same CPU / FPU / mshort options for all the
> libraries and your program. This is why we need a standard set of
> multilibs
> and provide all the versions for each library.
>

Ok, thanks for the explanation! That mean's I'll have to figure out how to
compile with the right libs when compiling netsurf with -m68020 option.