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

Re: [MiNT] gcc 4.7.2 and -mshort



On 05/03/2016 14:02, Helmut Karlowski wrote:
I have a problem with the above: gcc does not link 16bit-libs when it has
been given the -mshort-option:

The question is where your gcc comes from.

You can check your multilib config with:
gcc -dumpspecs

With the cross-gcc 4.6.4, I get:
...
*multilib:
. !m68020-60 !mcpu=5475 !mshort;m68020-60 m68020-60 !mcpu=5475 !mshort;m5475 !m68020-60 mcpu=5475 !mshort;mshort !m68020-60 !mcpu=5475 mshort;m68020-60/mshort m68020-60 !mcpu=5475 mshort;m5475/mshort !m68020-60 mcpu=5475 mshort;

*multilib_defaults:


*multilib_extra:


*multilib_matches:
m68881 m68020-60;m68020 m68020-60;m68020-40 m68020-60;mc68020 m68020-60;m68030 m68020-60;m68040 m68020-60;m68060 m68020-60;mcpu=68020 m68020-60;mcpu=68030 m68020-60;mcpu=68040 m68020-60;mcpu=68060 m68020-60;march=68020 m68020-60;march=68030 m68020-60;march=68040 m68020-60;march=68060 m68020-60;mcfv4e mcpu=5475;mcpu=5470 mcpu=5475;mcpu=5471 mcpu=5475;mcpu=5472 mcpu=5475;mcpu=5473 mcpu=5475;mcpu=5474 mcpu=5475;mcpu=547x mcpu=5475;mcpu=5480 mcpu=5475;mcpu=5481 mcpu=5475;mcpu=5482 mcpu=5475;mcpu=5483 mcpu=5475;mcpu=5484 mcpu=5475;mcpu=5485 mcpu=5475;mcpu=548x mcpu=5475;m68020-60 m68020-60;mcpu=5475 mcpu=5475;mshort mshort;

*multilib_exclusions:


*multilib_options:
m68020-60/mcpu=5475 mshort

--
Vincent Rivière